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:
parent
6619b6a0d6
commit
fbf2c5eaf5
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user