[jdom-interest] Suppressing <?xml version="1.0"?>

Joseph Bowbeer jozart at csi.com
Mon Aug 21 20:03:21 PDT 2000


By the way, I noticed that the XML Declaration (processing instruction) is
suppressed in SOAP messages.

  http://www.w3.org/TR/SOAP/#_Toc478383492

    "All SOAP messages are encoded using XML. ... A SOAP message MUST NOT
contain Processing Instructions. ... The Envelope is the top element of the
XML document representing the message."

-_-_-_-_-_-

Date: Mon, 21 Aug 2000 08:45:38 -0700
From: Jason Hunter <jhunter at collab.net>
To: seyed at smartmonkey.co.uk
CC: "'Jdom-Interest" <jdom-interest at jdom.org>
Subject: Re: Suppressing <?xml version="1.0"?>

> > Apologies if this is a FAQ but is there
> > a way of getting the [XMLOutputter] not to
> > print the <?xml  version="1.0"?> line?
>
> There's no built-in way for XMLOutputter to
> suppress the decl because it's required by XML.
>






More information about the jdom-interest mailing list