source:
CMDIValidator/trunk/cmdi-validator-core/xerces.patch
@
5326
Last change on this file since 5326 was 5326, checked in by , 10 years ago | |
---|---|
File size: 1.2 KB |
-
src/org/apache/xerces/impl/xs/XMLSchemaValidator.java
1345 1345 1346 1346 fIdConstraint = false; 1347 1347 //reset XSDDescription 1348 fXSDDescription.reset(); 1348 1349 fLocationPairs.clear(); 1349 1350 fExpandedLocationPairs.clear(); 1351 fUnparsedLocations.clear(); 1352 fGrammarBucket.reset(); 1350 1353 1351 1354 // cleanup id table 1352 1355 fValidationState.resetIDTables(); … … 2693 2696 } 2694 2697 } 2695 2698 2699 /* 2700 * XXX: evil hack to revisit grammar pool with location information 2701 */ 2702 if (grammar == null) { 2703 grammar = (SchemaGrammar) fGrammarPool.retrieveGrammar(fXSDDescription); 2704 if (grammar != null) { 2705 fXSDDescription.fLocationHints = null; 2706 } 2707 } 2708 2696 2709 if (grammar == null || fXSDDescription.fLocationHints != null) { 2697 2710 boolean toParseSchema = true; 2698 2711 if (grammar != null) {
Note: See TracBrowser
for help on using the repository browser.