W3C home > Mailing lists > Public > public-ws-policy@w3.org > December 2006

NEW ISSUE 4068 (was: Re: Usage of wsu:Id and xml:id in the WS Policy XML Schema)

From: Felix Sasaki <fsasaki@w3.org>
Date: Mon, 11 Dec 2006 23:40:03 +0900
To: Christopher B Ferris <chrisfer@us.ibm.com>
Cc: public-ws-policy@w3.org
Message-Id: <1165848003.5052.24.camel@fsasaki-desktop>

On Fri, 2006-12-08 at 09:11 -0500, Christopher B Ferris wrote:
> 
> Felix, 
> 
> For tracking purposes, so we don't drop the ball on this, I would
> prefer if an LC issue 
> were opened for this. 

o.k., I have opened an issue
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4068 .

Felix

> 
> FWIW, I also have a preference for C. 
> 
> Cheers, 
> 
> Christopher Ferris
> STSM, Software Group Standards Strategy
> email: chrisfer@us.ibm.com
> blog: http://www.ibm.com/developerworks/blogs/page/chrisferris
> phone: +1 508 377 9295 
> 
> public-ws-policy-request@w3.org wrote on 12/08/2006 07:15:50 AM:
> 
> > 
> > This mail is based on some offline conversation between Asir, Chris,
> > Paul and me.
> > 
> > The XML Schema document for the WS-Policy LC WD is not yet updated.
> The
> > reason is that the latest revision
> >
> http://dev.w3.org/cvsweb/~checkout~/2006/ws/policy/ws-policy.xsd?rev=1.6
> > has a problem with the schema update for the resolution for
> > http://www.w3.org/Bugs/Public/show_bug.cgi?id=3560 (enable the usage
> of
> > xml:id):
> >  
> > If you use xml:id at the <Policy element> in an instance with the
> > current schema, you will get an error. You can't use xml:id, typed
> as an
> > ID, on an element which has an ID attribute (like wsu:Id)
> specifically
> > declared for it.
> > 
> > There are three solutions for the problem:
> >   a) publish two flavors of the schema, one with xml:id, one with
> wsu:Id
> >   b) declare two subtypes which are accessible via xsi:type:
> > <Policy ... xsi:type="xid-flavor" xml:id="boo" ...> versus
> <Policy ...
> >   xsi:type="wsu-flavor" wsu:id="boo" ...>
> >   c) delete the explicit reference to <xs:attribute ref="wsu:Id"/> .
> > This would make both xml:id and wsu:Id extensibility points.
> >   
> > I have a high preference for c), including a note in the WD to warn
> > schema users (don't use other ID attributes than these two), to
> avoid
> > the confusion created by deleting the explicit reference to
> > <xs:attribute ref="wsu:Id"/>.
> > 
> > I have not opened an issue on this and not reopened 3560, since the
> > normative text has precedence over the schema anyway. Hopefully we
> can
> > resolve this without a LC issue.
> > 
> > Felix
> > 
> > 
Received on Monday, 11 December 2006 14:40:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:20:43 GMT