[jdom-interest] error on building of the jdom doc
Pati, Nalla
Pati.N at ic.grainger.com
Thu Aug 30 07:20:33 PDT 2001
Hi all,
i am building a jdom doc, using DOMBuilder, from a xml document when
i am getting this error. what do i need to do so that the document is not
verified at all. the reason i want that is that i am building a xml error
manager for our system and the sort of document i am passing could very well
be a real document in production. i have my system tag like this:
<!DOCTYPE cXML SYSTEM>.
org.jdom.JDOMException: Error in building from stream: Error on line 1 of
XML document: White space is required between "SYSTEM" and the system
identifier.
at org.jdom.input.DOMBuilder.build(DOMBuilder.java:279)
at com.grainger.esv.xmlerror.JDOMManager.<init>(JDOMManager.java:27)
at
com.grainger.esv.xmlerror.XMLErrorManager.<init>(XMLErrorManager.java:42)
at com.testXMLError.main(testXMLError.java:11)
Root cause: java.io.IOException: Error on line 1 of XML document: White
space is required between "SYSTEM" and the system identifier.
at
org.jdom.adapters.XercesDOMAdapter.getDocument(XercesDOMAdapter.java:149)
at org.jdom.input.DOMBuilder.build(DOMBuilder.java:252)
at com.grainger.esv.xmlerror.JDOMManager.<init>(JDOMManager.java:27)
at
com.grainger.esv.xmlerror.XMLErrorManager.<init>(XMLErrorManager.java:42)
at com.testXMLError.main(testXMLError.java:11)
java.lang.NullPointerException
at
com.grainger.esv.xmlerror.XMLErrorManager.sendXMLForEncryption(XMLErrorManag
er.java:69)
at
com.grainger.esv.xmlerror.XMLErrorManager.<init>(XMLErrorManager.java:44)
at com.testXMLError.main(testXMLError.java:11)
Thanks,
Nalla.
More information about the jdom-interest
mailing list