[Home] [By Thread] [By Date] [Recent Entries]

  • To: xml-dev@l...
  • Subject: <!DOCTYPE> removed by DOMParser?
  • From: mccabe_julie_f@j...
  • Date: Thu, 8 Nov 2001 12:00:30 +0000
  • Expiry-date: Wed, 6 Feb 2002 -1:-1:-1 +0000

Hello,

Problem:

Xml file with a <!DOCTYPE> tag to include a dtd is sent to a servlet,
parsed using xerces DOMParser, and then downloaded to a filesystem.  When
the file arrives it does not contain the <!DOCTYPE> tag, parsing has
removed it.  Is there any way which the xml may be parsed but retain the
<!DOCTYPE> tag?


Thanks in advance,

Julie.


This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member