mrglavas 2005/10/02 19:22:53 Modified: java/src/org/apache/xerces/impl/xs XMLSchemaLoader.java Log: Fixing JIRA Issue #1101: http://issues.apache.org/jira/browse/XERCESJ-1101 When the schema loader is reset we need to set the flag which controls whether JAXP sources have been processed to false. This reset bug has been lurking around for awhile but only surfaced after a performance improvement made to the DOM parser. Revision Changes Path 1.43 +4 -2 xml-xerces/java/src/org/apache/xerces/impl/xs/XMLSchemaLoader.java Index: XMLSchemaLoader.java =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/XMLSchemaLoader.java,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- XMLSchemaLoader.java 25 Jul 2005 04:54:15 -0000 1.42 +++ XMLSchemaLoader.java 3 Oct 2005 02:22:53 -0000 1.43 @@ -930,7 +930,9 @@ catch (XMLConfigurationException e){ parser_settings = true; } - if (!parser_settings || !fSettingsChanged){ + if (!parser_settings || !fSettingsChanged) { + // need to reprocess JAXP schema sources + fJAXPProcessed = false; // reinitialize grammar bucket initGrammarBucket(); return;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
