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

[F&O] Casting to xs:NOTATION, xs:QName not clarified

From: Sarah Wilkin <swilkin@apple.com>
Date: Thu, 4 Nov 2004 14:33:00 -0800
Message-Id: <7BE12180-2EB1-11D9-A89F-000A278462D6@apple.com>
To: public-qt-comments@w3.org

In the Oct spec, it says:

Casting to QName and xs:NOTATION has been clarified. It is now possible 
to cast from xs:string literals to QName and xs:NOTATION.

But in the casting section it says:

Casting from xs:string and xdt:untypedAtomic to xs:QName, xs:NOTATION, 
or types derived from them is not possible because it requires 
knowledge of the namespace context. Constructor functions are available 
to construct values of these types provided that the lexical 
representation is known statically.

So which is it?

Received on Thursday, 4 November 2004 22:33:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:02 UTC