W3C home > Mailing lists > Public > xml-dist-app@w3.org > June 2002

Re: Processing Instructions and SOAP

From: Ray Whitmer <rayw@netscape.com>
Date: Tue, 18 Jun 2002 16:37:37 -0700
Message-ID: <3D0FC441.3000008@netscape.com>
To: Kevin Johnsrude <kevinj@roguewave.com>
CC: xml-dist-app@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:10 GMT