BTW: casting to QName is allowed in XQuery 3.0 but wasn't in 1.0.

See Sec. "18.1.1 Casting from xs:string and xs:untypedAtomic" in F&O
3.0. In a note, it says:

This version also removes the rule that only a string literal (rather
than a dynamic string) may be cast to an xs:QName

You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.

  xs:QName fails for non-literal input

Status in Zorba - The XQuery Processor:

Bug description:
  xs:QName(concat('local:', 'list')) fails with

  1,1: type error [err:XPTY0004]: Cannot treat xs:string as xs:QName

  but xs:QName("local:list") works

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to