I am using DOMReader.read() to generate a DOM4J tree from a W3C DOM tree.
The W3C DOM tree contains an external entity declaration in the internal
subset of its doctype.
Something like this:

<!DOCTYPE company SYSTEM "Company.dtd" [<!ENTITY departments SYSTEM
"departments.xml" >]>

The doctype of the resulting DOM4J tree looks like this:

<!DOCTYPE company SYSTEM "Company.dtd">

It seems like DOMReader.read() does not take into account the internal
subset of the document type declaration.
Are the entity declarations completely ignored, or does DOMReader try to
resolve them?

Luca



--
DISCLAIMER:
This e-mail contains proprietary information some or all of which may be
legally privileged. It is for the intended recipient only. If an addressing
or transmission error has misdirected this e-mail, please notify the author
by replying to this e-mail. If you are not the intended recipient you must
not use, disclose, distribute, copy, print, or rely on this e-mail.


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to