W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2004

RE: casting NOTATION to string

From: Michael Kay <mhk@mhk.me.uk>
Date: Fri, 3 Sep 2004 09:08:02 +0100
To: "'Ashok Malhotra'" <ashok.malhotra@oracle.com>, <public-qt-comments@w3.org>
Cc: <davidc@nag.co.uk>, <w3c-xsl-query@w3.org>
Message-ID: <E1C397f-0003nI-If@frink.w3.org>

> David:
> One of the consequences of adopting the 'triples'  proposal 
> http://lists.w3.org/Archives/Member/w3c-xml-query-wg/2004Jun/0
> 090.html  is that QNames as well as NOTATION can be cast to 
> xs:string and vice-versa.

With caveats on the "vice-versa". String-to-QName and String-to-NOTATION is
now allowed (using the constructor syntax) only if the string is known
statically. QName-to-string and NOTATION-to-string are now always allowed,
and never fail.

Michael Kay

> Thus, the situation in the F&O is clear and resolved.  The 
> status in the XQuery/Xpath documents may need to be
> chacked and updated.
> All the best, Ashok
Received on Friday, 3 September 2004 08:08:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:59 UTC