W3C home > Mailing lists > Public > www-ws-desc@w3.org > January 2007

Slight improvement to MessageTest-5G

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"


A more realistic definition for an intentionally empty header, would be


  <xs:element name="TestSOAPHeader">



        <xs:restriction base="xs:anyType">

            <xs:anyAttribute namespace='##other' processContents='lax' />






Allowing extension attributes (like soap:mustUnderstand) but no other


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:55:03 UTC