[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Problem parsing xml file with DOM using Java
- From: "Arnold, Curt" <Curt.Arnold@hyprotech.com>
- To: "'xml-dev@lists.xml.org'" <xml-dev@lists.xml.org>
- Date: Wed, 23 May 2001 13:58:15 -0600
You are passing the parser a UNC file name not an URL as Xerces
is expecting.
If you did (only approximations),
parser.parse(new File(XMLFile).toURL());
or
parser.parse("file:///c:/pk.xml");
You should be OK. If you are using backslashes with an XML
parser you are asking for trouble.
Questions specific to a particular implementation
are best asked on the implementations mailing list, in this
case xerces-j-user@xml.apache.org.