aboutsummaryrefslogtreecommitdiffstats
path: root/xmlschemastypes.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-04-23 07:12:20 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-04-23 07:12:20 +0000
commit88c5891a25c1151a89f021e915d9efb7e58bfbf7 (patch)
tree25b9cf2f0e946dfcc6979abadcff9e1e93eb3191 /xmlschemastypes.c
parente19fc23b6427f4df516af7b3f6df7baa942e4207 (diff)
downloadandroid_external_libxml2-88c5891a25c1151a89f021e915d9efb7e58bfbf7.tar.gz
android_external_libxml2-88c5891a25c1151a89f021e915d9efb7e58bfbf7.tar.bz2
android_external_libxml2-88c5891a25c1151a89f021e915d9efb7e58bfbf7.zip
more work on Schemas updated the test list Daniel
* Makefile.am xmlschemas.c xmlschemastypes.c: more work on Schemas * test/schemas result/schemas: updated the test list Daniel
Diffstat (limited to 'xmlschemastypes.c')
-rw-r--r--xmlschemastypes.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmlschemastypes.c b/xmlschemastypes.c
index 200047fd..92e71ffd 100644
--- a/xmlschemastypes.c
+++ b/xmlschemastypes.c
@@ -499,6 +499,11 @@ xmlSchemaValidateFacet(xmlSchemaTypePtr base, xmlSchemaFacetPtr facet,
}
TODO /* error code */
return(1);
+ case XML_SCHEMA_FACET_ENUMERATION:
+ if ((facet->value != NULL) &&
+ (xmlStrEqual(facet->value, value)))
+ return(0);
+ return(1);
default:
TODO
}