1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-31 17:17:37 +03:00

fixed validation of maxLength with no content using patch submitted by

* xmlschemastypes.c: fixed validation of maxLength with no
  content using patch submitted by Eric Haszlakiewicz
  (bug 133259)
This commit is contained in:
William M. Brack 2004-02-03 17:55:56 +00:00
parent 6619b6a0d6
commit fbf2c5eaf5
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Tue Feb 3 09:53:18 PST 2004 William Brack <wbrack@mmm.com.hk>
* xmlschemastypes.c: fixed validation of maxLength with no
content using patch submitted by Eric Haszlakiewicz
(bug 133259)
Tue Feb 3 09:21:09 CET 2004 Igor Zlatkovic <igor@zlatkovic.com>
* include/libxml/xmlreader.h include/libxml/xmlmemory.h: added

View File

@ -3528,7 +3528,8 @@ xmlSchemaValidateFacet(xmlSchemaTypePtr base ATTRIBUTE_UNUSED,
len = xmlSchemaNormLen(value);
break;
case XML_SCHEMAS_STRING:
len = xmlUTF8Strlen(value);
if (value != NULL)
len = xmlUTF8Strlen(value);
break;
default:
TODO