Changeset 5481 for CMDIValidator
- Timestamp:
- 07/21/14 14:56:52 (10 years ago)
- Location:
- CMDIValidator/trunk/cmdi-validator-core
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
CMDIValidator/trunk/cmdi-validator-core/lib/xerces/xercesImpl-patched/2.11.0/xercesImpl-patched-2.11.0.jar.md5
r5052 r5481 1 b7254ab06d249d7de96cd581e7c3e6fb 1 32c37968616e7249cf8eed6cb7f72f72 -
CMDIValidator/trunk/cmdi-validator-core/lib/xerces/xercesImpl-patched/2.11.0/xercesImpl-patched-2.11.0.jar.sha1
r5052 r5481 1 528ddde0273c406cff6b95210b5729e9aa9694a2 1 b573255726a966cd32a34b2effc661ca41c270fe -
CMDIValidator/trunk/cmdi-validator-core/lib/xerces/xercesImpl-patched/maven-metadata-local.xml
r5052 r5481 8 8 <version>2.11.0</version> 9 9 </versions> 10 <lastUpdated>20140 407180824</lastUpdated>10 <lastUpdated>20140721145218</lastUpdated> 11 11 </versioning> 12 12 </metadata> -
CMDIValidator/trunk/cmdi-validator-core/lib/xerces/xercesImpl-patched/maven-metadata-local.xml.md5
r5052 r5481 1 d2bbebbf1b1241e28dcb5bda620494f1 1 a8d029b5b6abf46af6909db6db97e367 -
CMDIValidator/trunk/cmdi-validator-core/lib/xerces/xercesImpl-patched/maven-metadata-local.xml.sha1
r5052 r5481 1 69484c27d7b2c8a5e6f2545ed79e7b61586cfc7f 1 52cf68cd66a895152f364269d60e395f9a68a551 -
CMDIValidator/trunk/cmdi-validator-core/xerces.patch
r5326 r5481 3 3 --- src/org/apache/xerces/impl/xs/XMLSchemaValidator.java (revision 1584342) 4 4 +++ src/org/apache/xerces/impl/xs/XMLSchemaValidator.java (working copy) 5 @@ -1345,8 +1345,1 1@@5 @@ -1345,8 +1345,17 @@ 6 6 7 7 fIdConstraint = false; 8 8 //reset XSDDescription 9 + fXSDDescription.reset(); 9 + if (fXSDDescription != null) { 10 + fXSDDescription.reset(); 11 + } 10 12 fLocationPairs.clear(); 11 13 fExpandedLocationPairs.clear(); 12 + fUnparsedLocations.clear(); 13 + fGrammarBucket.reset(); 14 + if (fUnparsedLocations != null) { 15 + fUnparsedLocations.clear(); 16 + } 17 + if (fGrammarBucket != null) { 18 + fGrammarBucket.reset(); 19 + } 14 20 15 21 // cleanup id table 16 22 fValidationState.resetIDTables(); 17 @@ -2693,6 +2 696,16@@23 @@ -2693,6 +2702,19 @@ 18 24 } 19 25 } 20 26 21 27 + /* 22 + * XXX: evil hack to revisit grammar pool with location information28 + * BEGIN EVIL HACK: revisit grammar pool with location informtion 23 29 + */ 24 + if ( grammar == null) {30 + if ((grammar == null) && (fGrammarPool != null)) { 25 31 + grammar = (SchemaGrammar) fGrammarPool.retrieveGrammar(fXSDDescription); 26 32 + if (grammar != null) { … … 28 34 + } 29 35 + } 36 + /* 37 + * END EVIL HACK 38 + */ 30 39 + 31 40 if (grammar == null || fXSDDescription.fLocationHints != null) {
Note: See TracChangeset
for help on using the changeset viewer.