W3C home > Mailing lists > Public > www-archive@w3.org > March 2003

Diffs between Part 1 and envelope schema

From: Martin Gudgin <mgudgin@microsoft.com>
Date: Wed, 5 Mar 2003 07:11:51 -0800
Message-ID: <92456F6B84D1324C943905BEEAE0278E02D30D66@RED-MSG-10.redmond.corp.microsoft.com>
To: <ylafon@w3.org>, "Jean-Jacques Moreau" <moreau@crf.canon.fr>, "Marc Hadley" <marc.hadley@sun.com>, "Nilo Mitra" <EUSNILM@am1.ericsson.se>, "Noah Mendelson" <noah_mendelsohn@us.ibm.com>, "W3C Public Archive" <www-archive@w3.org>, "Henrik Frystyk Nielsen" <henrikn@microsoft.com>

OK, I've swept Part 1[1] and the envelope schema[2]. Here are the diffs
as I see them:


1.	The spec[1] says of SOAP Header "Zero or more namespace
qualified element information items in its [children] property.", making
no statement about the allowable namespaces on those children.
	The schema says <xs:any namespace="##other"
processContents="lax" minOccurs="0" maxOccurs="unbounded"  />,
constraining the namespaces of the children to be something other than
http://www.w3.org/2002/12/soap-envelope

2.	The spec[4] lists a relay attribute.
	The schema is missing this attribute.

3.	The spec[5] says of xml:lang on Text elements: "Each child Text
element information item SHOULD have a different value for its xml:lang
attribute information item.", which allows for a given xml:lang value to
be duplicated.
	The schema says 

	  <xs:element name="Text" type="tns:reasontext" minOccurs="1"
maxOccurs="unbounded" >
	    <xs:unique name="xmllang">
	      <xs:selector xpath="." />
	      <xs:field xpath="@xml:lang" />
	    </xs:unique>
	  </xs:element>

	which enforces that xml:lang be unique across Text elements.

I've fixed item 2 in my local copy.

Gudge

[1] http://www.w3.org/2000/xp/Group/2/06/LC/soap12-part1.xml
[2] http://www.w3.org/2000/xp/Group/2/06/LC/soap-envelope.xsd
[3] http://www.w3.org/2000/xp/Group/2/06/LC/soap12-part1.xml#soaphead
[4]
http://www.w3.org/2000/xp/Group/2/06/LC/soap12-part1.xml#soapheadblock
[5]
http://www.w3.org/2000/xp/Group/2/06/LC/soap12-part1.xml#faultstringelem
ent
	
Received on Wednesday, 5 March 2003 10:12:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 July 2008 08:08:55 GMT