You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2001/11/15 00:38:24 UTC
DO NOT REPLY [Bug 4879] New: -
Unable to parse files with character # in there file name
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4879>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4879
Unable to parse files with character # in there file name
Summary: Unable to parse files with character # in there file
name
Product: Xerces2-J
Version: 2.0.0 [alpha]
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: DOM
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: pranav-joshi@usa.net
Below is a sample progrm i am trying to run.
import org.apache.xerces.parsers.DOMParser;
class test
{
public static void main(String args[])
{
try{
DOMParser oParser=new DOMParser();
oParser.parse(args[0]);
}catch(Exception e){e.printStackTrace();}
}
}
The command with which i run is " java test c:\example#1.xml "
When i do this it gives me the following error.
org.xml.sax.SAXParseException: File "file:///c:/example#1.xml" not found.
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1156
)
at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocume
nt(DefaultEntityHandler.java:512)
at
org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:3
10)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1034)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1076)
at test.main(test.java:8)
regds
Pranav
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org