proposal for resolving SOAP 1.2 rec issue 16 - schema omission

Jacek Kopecky <[email protected]>
Newsgroups gmane.text.xml.distributed
Organization Systinet Corporation
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' />

to

 <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
                   http://www.systinet.com/




[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
[4]
http://www.w3.org/2003/06/Process-20030618/tr.html#correction-classes
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.