[jdom-interest] Null DocType allowed?

Mattias Jiderhamn mattias.jiderhamn at expertsystems.se
Wed Mar 15 04:26:26 PST 2006


When the XML parser of Resin creates a W3C document from a stream, 
the document type of that document will have a null name, but a 
system ID of "stream".
This will cause JDOM to throw an exception when using the DOMBuilder 
("The name "null" is not legal for JDOM/XML DocTypes: XML names 
cannot be null or empty.").

Who is at fault? Resin for creating a document type with a null name, 
or JDOM for not handling such as document type?

Thanks in advance.



More information about the jdom-interest mailing list