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?
--Sarah