- From: Marc Hadley <marc.hadley@sun.com>
- Date: Thu, 31 May 2001 12:31:33 +0100
- To: xml-dist-app@w3.org
On last nights conference call I volunteered to propose a clarification for issues 4 and 23 (now closed as a duplicate of 4). The issues relate to the correct use of namespaces and the inclusion of PIs and DTDs in XMLP/SOAP messages, specifically how a XMLP/SOAP processor should react to their presence. The current text (from Section 3) is as follows: "A XMLP/SOAP application SHOULD include the proper XMLP/SOAP namespace on all elements and attributes defined by XMLP/SOAP in messages that it generates. A XMLP/SOAP application MUST be able to process XMLP/SOAP namespaces in messages that it receives. It MUST discard messages that have incorrect namespaces (see section 4.4) and it MAY process XMLP/SOAP messages without XMLP/SOAP namespaces as though they had the correct XMLP/SOAP namespaces." <snip/> "A XMLP/SOAP message MUST NOT contain a Document Type Declaration. A XMLP/SOAP message MUST NOT contain Processing Instructions. [7]" The general consensus on the call was that an XMLP/SOAP processor should generate a fault if the correct namespaces are not used or if a PI or Document Type Declaration is encountered. I propose to replace the existing text above with the following revised text: "A XMLP/SOAP processor SHOULD include the proper XMLP/SOAP namespace on all elements and attributes defined by XMLP/SOAP in messages that it generates. A XMLP/SOAP processor MUST be able to process XMLP/SOAP namespaces in messages that it receives and it MAY process XMLP/SOAP messages without XMLP/SOAP namespaces as though they had the correct XMLP/SOAP namespaces. It MUST generate a fault (see section 4.4) on receipt of messages that have incorrect namespaces." <snip/> "A XMLP/SOAP message MUST NOT contain a Document Type Declaration. A XMLP/SOAP message MUST NOT contain Processing Instructions [7]. A XMLP/SOAP processor MUST generate a fault (see section 4.4) on receipt of messages that contain a Document Type Declaration or Processing Instruction." Comments ? Marc. -- Marc Hadley <marc.hadley@sun.com> Tel: +44 1252 423740 Int: x23740
Received on Thursday, 31 May 2001 07:31:27 UTC