Author: mrglavas
Date: Sat Feb  4 20:52:41 2006
New Revision: 374971

URL: http://svn.apache.org/viewcvs?rev=374971&view=rev
Log:
Fixing a minor bug. The InputSource returned from the resolution forwarder 
should 
contain the system identifier returned from the application's 
LSResourceResolver 
not the one which was passed to the resolveEntity() method.

Modified:
    
xerces/java/trunk/src/org/apache/xerces/jaxp/validation/ValidatorHandlerImpl.java

Modified: 
xerces/java/trunk/src/org/apache/xerces/jaxp/validation/ValidatorHandlerImpl.java
URL: 
http://svn.apache.org/viewcvs/xerces/java/trunk/src/org/apache/xerces/jaxp/validation/ValidatorHandlerImpl.java?rev=374971&r1=374970&r2=374971&view=diff
==============================================================================
--- 
xerces/java/trunk/src/org/apache/xerces/jaxp/validation/ValidatorHandlerImpl.java
 (original)
+++ 
xerces/java/trunk/src/org/apache/xerces/jaxp/validation/ValidatorHandlerImpl.java
 Sat Feb  4 20:52:41 2006
@@ -1,5 +1,5 @@
 /*
- * Copyright 2005 The Apache Software Foundation.
+ * Copyright 2005,2006 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -1026,7 +1026,7 @@
                      */
                     InputSource inputSource = new InputSource();
                     inputSource.setPublicId(pubId);
-                    inputSource.setSystemId((baseSystemId != null) ? 
resolveSystemId(systemId, baseSystemId) : systemId);
+                    inputSource.setSystemId((baseSystemId != null) ? 
resolveSystemId(sysId, baseSystemId) : sysId);
                     
                     if (charStream != null) {
                         inputSource.setCharacterStream(charStream);



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to