References in the default namespace
"Jonathan Marsh" <[email protected]>
| Newsgroups | gmane.comp.web.services.description |
|---|---|
| Message-ID | <010601c74c13$f7d29090$3501a8c0@DELLICIOUS> |
Is this legal?
<wsdl:interface name="Order"
xmlns="http://www.w3.org/2002/ws/sawsdl/spec/wsdl/order#">
<wsdl:operation name="order"
pattern="http://www.w3.org/2006/01/wsdl/in-out">
<wsdl:input element="OrderRequest" />
<wsdl:output element="OrderResponse" />
</wsdl:operation>
</wsdl:interface>
Or must I define a prefix for the QName?
<wsdl:interface name="Order"
xmlns:order="http://www.w3.org/2002/ws/sawsdl/spec/wsdl/order#">
<wsdl:operation name="order"
pattern="http://www.w3.org/2006/01/wsdl/in-out">
<wsdl:input element="order:OrderRequest" />
<wsdl:output element="order:OrderResponse" />
</wsdl:operation>
</wsdl:interface>
The section on QName resolution doesn't say that an NCName in element is
interpreted as a local name in the default namespace. Should it? Or is
that obvious to everyone but me? What does XML Schema do?
Jonathan Marsh - <http://www.wso2.com> http://www.wso2.com -
<http://auburnmarshes.spaces.live.com> http://auburnmarshes.spaces.live.com