Re: Processing Instructions and SOAP

Kevin Johnsrude wrote:

>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
>  
>
This is not true.  If you look at section 2.6, you see that processing 
instructions are not permitted to have "xml" as the target.  If "xml" is 
the target, it is an xml declaration, as described in section 2.8.  This 
is represented in the document information item, not in the processing 
instruction information item.  Part 1 specifically talks about the 
version property that comes from this XML declaration as being something 
present in SOAP's infoset.

Ray Whitmer
rayw@netscape.com

Received on Tuesday, 18 June 2002 19:38:09 UTC