diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2005-03-16 21:55:35 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2005-03-16 21:55:35 +0000 |
commit | cc5e2330ef2432493afce6566d3651195366d822 (patch) | |
tree | 9a605e10c8f021757c5d66d8190d3effa360f8b3 /xmlschemastypes.c | |
parent | 9dbb0ceacaff0e59e4f3085387c4a44d6dbd14e5 (diff) | |
download | android_external_libxml2-cc5e2330ef2432493afce6566d3651195366d822.tar.gz android_external_libxml2-cc5e2330ef2432493afce6566d3651195366d822.tar.bz2 android_external_libxml2-cc5e2330ef2432493afce6566d3651195366d822.zip |
more debug messages from Matthew Burgess xmlSchemaValidateLengthFacet API
* xmlschemas.c: more debug messages from Matthew Burgess
* xmlschemastypes.c: xmlSchemaValidateLengthFacet API missing check.
Daniel
Diffstat (limited to 'xmlschemastypes.c')
-rw-r--r-- | xmlschemastypes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlschemastypes.c b/xmlschemastypes.c index b08012af..159ad2ac 100644 --- a/xmlschemastypes.c +++ b/xmlschemastypes.c @@ -4688,6 +4688,8 @@ xmlSchemaValidateLengthFacet(xmlSchemaTypePtr type, xmlSchemaValPtr val, unsigned long *length) { + if (type == NULL) + return(-1); return (xmlSchemaValidateLengthFacetInternal(facet, type->builtInType, value, val, length, XML_SCHEMA_WHITESPACE_UNKNOWN)); |