You mean a syntax error in the Java? Ok, here it is ...
public static com.myco.clearing.commons.xml.Node parse(String xml)
throws
ParserConfigurationException, SAXException, IOException {
xml = xml.trim();
return parse(new ByteArrayInputStream(xml.getBytes()));
}
/**
*
* @param xml
* @return Parsed xml
* @throws XMLParseException
* @throws ParserConfigurationException
* @throws IOException
* @throws SAXException
*/
public static com.myco.clearing.commons.xml.Node parse(final
InputStream xmlInputStream)
throws ParserConfigurationException,
SAXException, IOException {
final DocumentBuilderFactory dbf =
DocumentBuilderFactory.newInstance();
final DocumentBuilder db = dbf.newDocumentBuilder();
final Document doc = db.parse(xmlInputStream);
doc.getDocumentElement().normalize();
If you mean the XML, what is the XML syntax error or what tool can I
use to see it? - Dave