[libxml2] 627987 Fix XSD IDC errors in imported schemas
- From: Daniel Veillard <veillard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] 627987 Fix XSD IDC errors in imported schemas
- Date: Wed, 3 Nov 2010 20:06:59 +0000 (UTC)
commit c84e863c9c8b5f251f0c3f342f1c016fdf5963b6
Author: Jim Panetta <panetta slac stanford edu>
Date: Wed Nov 3 21:05:18 2010 +0100
627987 Fix XSD IDC errors in imported schemas
Fix XSD IDC references when xsi:schemalocation is used for
referencing the validation schemas
xmlschemas.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/xmlschemas.c b/xmlschemas.c
index 9c86c75..5de7ca5 100644
--- a/xmlschemas.c
+++ b/xmlschemas.c
@@ -26811,6 +26811,11 @@ xmlSchemaValidateElem(xmlSchemaValidCtxtPtr vctxt)
vctxt->skipDepth = 0;
return(ret);
}
+ /*
+ * Augment the IDC definitions for the main schema and all imported ones
+ * NOTE: main schema is the first in the imported list
+ */
+ xmlHashScan(vctxt->schema->schemasImports,(xmlHashScanner)xmlSchemaAugmentImportedIDC, vctxt);
}
if (vctxt->depth > 0) {
/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]