1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-19 14:50:07 +03:00

627987 Fix XSD IDC errors in imported schemas

Fix XSD IDC references when xsi:schemalocation is used for
referencing the validation schemas
This commit is contained in:
Jim Panetta 2010-11-03 21:05:18 +01:00 committed by Daniel Veillard
parent ee32ad3c0f
commit c84e863c9c

View File

@ -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) {
/*