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
>"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",
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
Received on Tuesday, 18 June 2002 19:38:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:11:50 UTC