org.dom4j.DocumentException: Error on line 40 of document : The entity name must immediately follow the '&' in the entity reference. Nested exception: The entity name must immediately follow the '&' in the entity reference.
at org.dom4j.io.SAXReader.read(SAXReader.java:318)
at org.dom4j.io.SAXReader.read(SAXReader.java:239)
at org.dom4j.DocumentHelper.parseText(DocumentHelper.java:215)
at cognos.test.getxml(test.java:69)
at cognos.test.main(test.java:62)
Nested exception:
org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:302)
at org.dom4j.io.SAXReader.read(SAXReader.java:239)
at org.dom4j.DocumentHelper.parseText(DocumentHelper.java:215)
at cognos.test.getxml(test.java:69)
at cognos.test.main(test.java:62)
Nested exception: org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:302)
at org.dom4j.io.SAXReader.read(SAXReader.java:239)
at org.dom4j.DocumentHelper.parseText(DocumentHelper.java:215)
at cognos.test.getxml(test.java:69)
at cognos.test.main(test.java:62)