← Back to team overview

zorba-coders team mailing list archive

[Bug 898792] Re: xs:QName fails for non-literal input

 

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.
https://bugs.launchpad.net/bugs/898792

Title:
  xs:QName fails for non-literal input

Status in Zorba - The XQuery Processor:
  New

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:
https://bugs.launchpad.net/zorba/+bug/898792/+subscriptions


References