W3C home > Mailing lists > Public > xml-dist-app@w3.org > March 2002

Re: Uniqueness, id and ref

From: Christopher Ferris <chris.ferris@sun.com>
Date: Wed, 06 Mar 2002 10:50:56 -0500
Message-ID: <3C863AE0.9060104@sun.com>
To: Martin Gudgin <marting@develop.com>
CC: XML Protocol Discussion <xml-dist-app@w3.org>
Martin,

we impose no requirement on a SOAP node to validate, but
we don't preclude this. I would suggest that adding a constraint
to the schema would be appropriate and would benefit those
implementations which do choose to validate instance
documents.

I would add the proposed text to the spec as well.

Cheers,

Chris

Martin Gudgin wrote:

> At the recent face-to-face it came to light that more prose was needed
> around the id[1] and ref[2] attributes in the SOAP Encoding[3] section of
> Part 2[4]
> 
> Specifically the uniqueness constraint needs to be made explicit. We cannot
> refer to XML Schema for this, because the uniqueness constraint is defined
> in XML Schema Part 1[5] as part of a validation episode and SOAP requires
> that no such episodes be mandated.
> 
> I took an action item to send mail to open a new issue and also provide a
> proposed resolution.
> 
> New Issue: Uniqueness and reference constraints of id and ref
> 
> Info: This issue is related to Issue 163
> 
> Proposed resolution;
> 
> Add the following text to Section 3 of Part 2
> 
> <text>
> Constraints on id and ref attribute information items
> 
> The value of a ref attribute information item MUST also be the value of
> exactly one id attribute information item
> </text>
> 
> 
> Regards
> 
> Gudge
> 
> [1] http://www.w3.org/2000/xp/Group/1/10/11/soap12-part2.xml#idattr
> [2] http://www.w3.org/2000/xp/Group/1/10/11/soap12-part2.xml#refattr
> [3] http://www.w3.org/2000/xp/Group/1/10/11/soap12-part2.xml#soapenc
> [4] http://www.w3.org/2000/xp/Group/1/10/11/soap12-part2.xml
> [5] http://www.w3.org/TR/xmlschema-1
> 
> 
> 
> 
> 
> 
Received on Wednesday, 6 March 2002 10:51:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:09 GMT