W3C home > Mailing lists > Public > www-ws-desc@w3.org > June 2002

issue 42: Shall "element" attribute of "part" only refer to elements defined in schema?

From: Sanjiva Weerawarana <sanjiva@watson.ibm.com>
Date: Thu, 20 Jun 2002 18:03:10 +0600
Message-ID: <025301c21852$743ee8e0$82a6a409@lankabook2>
To: "WS-Desc WG \(Public\)" <www-ws-desc@w3.org>

I would like to suggest that we close this issue as the new text
clearly indicates that the element attribute can only be used
to point to an XSD global element declaration.

(So the example is in error and we need to fix that.)


    <title>Shall "element" attribute of "part" only refer to elements
defined in schema?</title>
    <originator><a href="mailto:kevin.liu@sap.com">Kevin
    <pre>In section 2.3 Messages, it states:
   " WSDL defines several such message-typing attributes for use with XSD:
        *element. Refers to an XSD element using a Qname.
        *type. Refers to an XSD simpleType or complexType using a Qname."

While in the section 3.1 example 4 and example 5, element is used as follow:
&lt;message name="GetTradePriceInput"&gt;
        &lt;part name="tickerSymbol" element="xsd:string"/&gt;
        &lt;part name="time" element="xsd:timeInstant"/&gt;
 Section 2.3 Message
 Section 3.1 SOAP Examples</pre>
Received on Thursday, 20 June 2002 08:03:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:54:39 UTC