You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2006/11/10 17:18:55 UTC
svn commit: r473379 -
/xerces/java/trunk/src/org/apache/xerces/impl/XMLEntityManager.java
Author: mrglavas
Date: Fri Nov 10 08:18:54 2006
New Revision: 473379
URL: http://svn.apache.org/viewvc?view=rev&rev=473379
Log:
getFile() returns a concatenation of getPath() and getQuery(). We really only want the file path here.
Modified:
xerces/java/trunk/src/org/apache/xerces/impl/XMLEntityManager.java
Modified: xerces/java/trunk/src/org/apache/xerces/impl/XMLEntityManager.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/XMLEntityManager.java?view=diff&rev=473379&r1=473378&r2=473379
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/impl/XMLEntityManager.java (original)
+++ xerces/java/trunk/src/org/apache/xerces/impl/XMLEntityManager.java Fri Nov 10 08:18:54 2006
@@ -1858,7 +1858,7 @@
// Use FileOutputStream if this URI is for a local file.
if (protocol.equals("file")
&& (host == null || host.length() == 0 || host.equals("localhost"))) {
- out = new FileOutputStream(getPathWithoutEscapes(url.getFile()));
+ out = new FileOutputStream(getPathWithoutEscapes(url.getPath()));
}
// Try to write to some other kind of URI. Some protocols
// won't support this, though HTTP should work.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org