W3C home > Mailing lists > Public > xml-dist-app@w3.org > November 2003

proposal for resolving SOAP 1.2 rec issue 16 - schema omission

From: Jacek Kopecky <jacek.kopecky@systinet.com>
Date: Wed, 19 Nov 2003 19:44:41 +0100
To: XMLP Dist App <xml-dist-app@w3.org>
Message-Id: <1069267481.18047.106.camel@localhost>

Hi all, the rec issue 16 [1] deals with the schema for the RPC namespace
at [2]. The schema globally declares an element named 'result' but
doesn't give it any type. 

The RPC section of the recommendation says [3] that 

     1. There MUST be an outbound edge with a local name of result and a
        namespace name of "http://www.w3.org/2003/05/soap-rpc" which
        terminates in a terminal node
     2. The type of that terminal node is a xs:QName and its value is
        the name of the outbound edge which terminates in the actual
        return value. 

I believe the schema in question declares the 'result' element to help
processors that use SOAP RPC with SOAP Encoding and choose to validate
the resulting XML with XML Schema. Using SOAP Encoding, the two rules
above result in an element information item with the specified name and
namespace and with the type xs:QName (xs being the prefix for XML Schema
Datatypes namespace). 

I therefore propose that we change the schema [2], line 22:

 <xs:element name='result' />


 <xs:element name='result' type='xs:QName'/>

and I believe this constitutes a correction that does not affect
conformance [4].

Best regards,

                   Jacek Kopecky

                   Systinet Corporation

[1] http://www.w3.org/2000/xp/Group/xmlp-rec-issues.html#x16
[2] http://www.w3.org/2003/05/soap-rpc
[3] http://www.w3.org/TR/soap12-part2/#rpcresponse
Received on Wednesday, 19 November 2003 13:44:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:12:00 UTC