aboutsummaryrefslogtreecommitdiffstats
path: root/xmlschemas.c
diff options
context:
space:
mode:
authorWayne Jensen <wayne_jensen@trendmicro.com>2009-08-07 21:27:44 +0200
committerDaniel Veillard <veillard@redhat.com>2009-08-07 21:27:44 +0200
commit99f7ac7f66dd8e484209c22b6e10e05befffbd0f (patch)
treebd62c0e2b1a5858ffbba0ab09f0e787a7145dfd4 /xmlschemas.c
parentedc68aadf84f6acc4acdb85f827a90132d7ab831 (diff)
downloadandroid_external_libxml2-99f7ac7f66dd8e484209c22b6e10e05befffbd0f.tar.gz
android_external_libxml2-99f7ac7f66dd8e484209c22b6e10e05befffbd0f.tar.bz2
android_external_libxml2-99f7ac7f66dd8e484209c22b6e10e05befffbd0f.zip
585505 – Document ids and refs populated by XSD
* xmlschemas.c: simple patch allowing document ids and refs to be asserted when XSD validation is done.
Diffstat (limited to 'xmlschemas.c')
-rw-r--r--xmlschemas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlschemas.c b/xmlschemas.c
index 70fe3eb1..d3fe98a4 100644
--- a/xmlschemas.c
+++ b/xmlschemas.c
@@ -24474,10 +24474,10 @@ xmlSchemaVCheckCVCSimpleType(xmlSchemaAbstractCtxtPtr actxt,
/* ws = xmlSchemaGetWhiteSpaceFacetValue(type); */
if (valNeeded)
ret = xmlSchemaValPredefTypeNodeNoNorm(biType,
- value, &val, NULL);
+ value, &val, node);
else
ret = xmlSchemaValPredefTypeNodeNoNorm(biType,
- value, NULL, NULL);
+ value, NULL, node);
break;
}
} else if (actxt->type == XML_SCHEMA_CTXT_PARSER) {