Hi;
I am getting the following error on well formed xml
(for a final check I read the xml file with Internet Explorer and it is happy
with it). Any ideas?
thanks - dave
Exception occurred: org.dom4j.DocumentException:
Error on line 1 of document : Document root element is missing. Nested
exception: Document root element is missing.
org.dom4j.DocumentException: Error on line 1 of document : Document root element is missing. Nested exception: Document root element is missing. at org.dom4j.io.SAXReader.read(SAXReader.java:355) at org.dom4j.io.SAXReader.read(SAXReader.java:261) at net.windward.xmlreport.ProcessReport.class$net$windward$xmlreport$ProcessReport(Unknown Source) at net.windward.xmlreport.ProcessReport.process(Unknown Source) at Example.main(Example.java:78) Nested exception: org.xml.sax.SAXParseException: Document root element is missing. at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182) at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3170) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:501) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) at org.dom4j.io.SAXReader.read(SAXReader.java:339) at org.dom4j.io.SAXReader.read(SAXReader.java:261) at net.windward.xmlreport.ProcessReport.class$net$windward$xmlreport$ProcessReport(Unknown Source) at net.windward.xmlreport.ProcessReport.process(Unknown Source) at Example.main(Example.java:78) Nested exception: org.xml.sax.SAXParseException: Document root element is missing. at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182) at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3170) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:501) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) at org.dom4j.io.SAXReader.read(SAXReader.java:339) at org.dom4j.io.SAXReader.read(SAXReader.java:261) at net.windward.xmlreport.ProcessReport.class$net$windward$xmlreport$ProcessReport(Unknown Source) at net.windward.xmlreport.ProcessReport.process(Unknown Source) at Example.main(Example.java:78) |
- Re: [dom4j-user] Document root element is ... David Thielen
- Re: [dom4j-user] Document root elemen... David Thielen
- Re: [dom4j-user] Document root elemen... David D. Lucas
- Re: [dom4j-user] Document root el... pramod
- Re: [dom4j-user] Document roo... David Thielen
- Re: [dom4j-user] Document... David D. Lucas
- SV: [dom4j-user] Document root elemen... Christian Holmqvist, IT, Posten