Re: Uniqueness, id and ref

----- Original Message -----
From: "Christopher Ferris" <chris.ferris@sun.com>
To: "Martin Gudgin" <marting@develop.com>
Cc: "XML Protocol Discussion" <xml-dist-app@w3.org>
Sent: Wednesday, March 06, 2002 3:50 PM
Subject: Re: Uniqueness, id and ref


> 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.

Well, that constraint would be there just by virtue of the fact that our
attributes are of type ID and IDREF in the http://www.w3.org/2001/XMLSchema
namespace. Anyone validating using the envelope schema would get the correct
behaviour.

Gudge

>
> 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 11:11:04 UTC