mrglavas 2004/05/14 13:10:44 Modified: java/src/org/apache/xerces/util EntityResolver2Wrapper.java Log: Do not call EntityResolver2.resolveEntity if both the
pubic and system identifiers are null. Revision Changes Path 1.3 +3 -3 xml-xerces/java/src/org/apache/xerces/util/EntityResolver2Wrapper.java Index: EntityResolver2Wrapper.java =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/util/EntityResolver2Wrapper.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- EntityResolver2Wrapper.java 25 Apr 2004 04:54:00 -0000 1.2 +++ EntityResolver2Wrapper.java 14 May 2004 20:10:44 -0000 1.3 @@ -159,12 +159,12 @@ name = ((XMLEntityDescription) resourceIdentifier).getEntityName(); } - // When all of the parameters are null, the user's entity resolver + // When both pubId and sysId are null, the user's entity resolver // can do nothing about it. We'd better not bother calling it. // This happens when the resourceIdentifier is a GrammarDescription, // which describes a schema grammar of some namespace, but without // any schema location hint. -Sg - if (pubId == null && sysId == null && baseURI == null && name == null) { + if (pubId == null && sysId == null) { return null; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]