Processing Instructions and SOAP

In the current Working Draft of SOAP 1.2, Section 3, "Relation to XML" it is
stated:

"A SOAP message SHOULD NOT contain processing instruction information items.
A SOAP receiver MUST ignore processing instruction information items in SOAP
messages it receives."

However, in the SOAP 1.2 Primer many of the examples start with:
<?xml version='1.0' ?>

The above is by definition a processing instruction per XML 1.0, "2.6
Processing Instructions",
http://www.w3.org/TR/REC-xml#sec-pi

Granted, the Primer is not normative, but why was this added to examples in
the first place?  Is it in anticipation of allowing XML Declarations of the
form:
  XMLDecl ::= '<?xml' VersionInfo EncodingDecl? SDDecl? S? '?>' 

in the Recommended draft of SOAP 1.2?

Thanks,
Kevin Johnsrude
Rogue Wave Software, www.roguewave.com

Received on Tuesday, 18 June 2002 18:22:24 UTC