I am trying to use DOM Parser in Java to parse a small XML file I pull off the net from its uri but receive an error complaining about missing semicolon.
Here's link 108:
Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse("url_to_the_xml_file.xml");
Here's the error:
[Fatal Error] A01.xml:6:53: The character reference must end with the ';' delimiter.
Exception in thread "main" org.xml.sax.SAXParseException: The character reference must end with the ';' delimiter.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180)
at Parser.Parse(Parser.java:108)
at Parser.main(Parser.java:185)
parsing this line of XML
<title>Reduction Algorithm using the À TROUS Wavelet Transform.</title>
Obviously there's a semi-colon missing. Does anyone know any nice and tidy work arounds for this problem?