[jdom-interest] Issue with Doctype (systemId , publicId whitespace)
collin at hannonhill.com
Thu May 6 12:13:54 PDT 2004
I'm using JDOM b8, and having a little bit of trouble assigning a
DocType to my Document. I assign the DocType to my document:
DocType newDocType = new DocType(document.getRootElement().getName());
This executes without error. However, transforming this Document at a
later point gives me the error:
[Fatal Error] :1:53: White spaces are required between publicId and
And the doctype is then removed from the Document.
Any idea on what could be causing this? Is this a bug in JDOM? I have
tried padding the publicId and systemId with whitespaces, but with no
I saw a similar problem online:
but found no responses. Any help would be greatly appreciated.
More information about the jdom-interest