[jdom-interest] DOCTYPE output problem

tsasala at hifusion.com tsasala at hifusion.com
Sun Jul 30 10:32:45 PDT 2000


	I have a document with a document type specified with entity
declarations such as:

--
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE example [ <!ENTITY nbsp "&#032;"> ]>
<hf_cw>
  I am here&nbsp;&nbsp;
</hf_cw>
--

	When I output this document with the XMLOutputter
I get:

--
<?xml version="1.0" encoding="UTF-8"?>
<hf_cw>I am here</hf_cw>
--

	When I save the parsed file, the second parsing blows up
because the entity declaration is not in the doctype.  How can
I maintain the declaration?

	-Tom



More information about the jdom-interest mailing list