sandygao 2002/09/26 14:30:10
Modified: java/src/org/apache/xerces/impl/xs XMLSchemaValidator.java
Log:
Fixing bug [13044]: the order of clearing the hashtable and storing the
external schema location properties was not correct.
Revision Changes Path
1.110 +5 -5
xml-xerces/java/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java
Index: XMLSchemaValidator.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -r1.109 -r1.110
--- XMLSchemaValidator.java 25 Sep 2002 13:23:17 -0000 1.109
+++ XMLSchemaValidator.java 26 Sep 2002 21:30:10 -0000 1.110
@@ -1314,6 +1314,10 @@
fValidationManager.addValidationState(fValidationState);
fValidationState.setSymbolTable(fSymbolTable);
+ //reset XSDDescription
+ fLocationPairs.clear();
+ fNoNamespaceLocationArray.resize(0 , 2) ;
+
// get schema location properties
try {
fExternalSchemas =
(String)componentManager.getProperty(SCHEMA_LOCATION);
@@ -1363,10 +1367,6 @@
// logic for resetting grammar-related components moved
// to schema loader
fSchemaLoader.reset();
-
- //reset XSDDescription
- fLocationPairs.clear();
- fNoNamespaceLocationArray.resize(0 , 2) ;
// initialize state
fCurrentElemDecl = null;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]