RE: [XQuery, FO] BEA_025

I don't like the triple idea, but I am very much in favor of the Clark
notation...

Michael

> -----Original Message-----
> From: public-qt-comments-request@w3.org [mailto:public-qt-comments-
> request@w3.org] On Behalf Of Michael Kay
> Sent: Monday, February 16, 2004 2:54 AM
> To: 'Daniela Florescu'; public-qt-comments@w3.org
> Subject: RE: [XQuery, FO] BEA_025
> 
> 
> >
> > XQuery: serious limitation
> >
> >
> > Casting is not permitted from xs:Qname to xs:string.
> > This is a very serious limitation. This implies that we
> > cannot create an attribute node whose value is of type
> >   Qname.
> >
> > XQuery should allow this operation.
> >
> 
> We can't allow this operation unless we can define meaningful
semantics
> for it. What would you suggest as the semantics?
> 
> One proposal I made for a way forward on this is that we should define
> the value space of xs:QName as a triple, retaining the prefix in
rather
> the same way as we retain the timezone of a dateTime value. What do
you
> think of this suggestion?
> 
> Another suggestion that I have made in the past is that we should (in
> collaboration with the Schema working group) extend the lexical space
of
> xs:QName to allow QNames in Clark notation, that is "{uri}local-name".
> This would solve many of our problems with QNames at a stroke.
> 
> Michael Kay

Received on Monday, 16 February 2004 05:56:56 UTC