- From: Jonathan Marsh <jonathan@wso2.com>
- Date: Mon, 22 Jan 2007 14:57:13 +0530
- To: "'www-ws-desc'" <www-ws-desc@w3.org>
- Message-ID: <003901c73e07$87c9a1e0$d901640a@DELLICIOUS>
MessageTest-5G includes the definition of a test header. I defined the
header simply as:
<xs:element name="TestSOAPHeader"/>
Without a specified type, this is an instance of the ur-type, that is, there
are no constraints on the content model. That's a little strange for a
header, and didn't express the original intention to define a "marker"
header.
A more realistic definition for an intentionally empty header, would be
this:
<xs:element name="TestSOAPHeader">
<xs:complexType>
<xs:complexContent>
<xs:restriction base="xs:anyType">
<xs:anyAttribute namespace='##other' processContents='lax' />
</xs:restriction>
</xs:complexContent>
</xs:complexType>
</xs:element>
Allowing extension attributes (like soap:mustUnderstand) but no other
content.
I've made this change, but it doesn't affect the interchange results
(another case where it's limited to the schema.)
Jonathan Marsh - <http://www.wso2.com> http://www.wso2.com -
<http://auburnmarshes.spaces.live.com> http://auburnmarshes.spaces.live.com
Received on Monday, 22 January 2007 09:27:31 UTC