xml is the string that contains the fault.
// Instantiate a DocumentBuilderFactory.
javax.xml.parsers.DocumentBuilderFactory dFactory =
javax.xml.parsers.DocumentBuilderFactory.newInstance();
dFactory.setNamespaceAware(true);
dFactory.setValidating(false);
// Use the DocumentBuilderFactory to provide access to a
DocumentBuilder.
javax.xml.parsers.DocumentBuilder dBuilder =
dFactory.newDocumentBuilder();
// Use the DocumentBuilder to parse the XML input.
doc = dBuilder.parse(new InputSource(new StringReader(xml)));
-----Original Message-----
From: Voytenko, Dimitry [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001 4:48 PM
To: '[EMAIL PROTECTED]'
Subject: RE: XPathAPI help needed
It might be because you don't load your Document properly. How do you do
this?