xs:QName fails for non-literal input
Bug #898792 reported by
Matthias Brantner
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
High
|
Nicolae Brinza |
Bug Description
xs:QName(
1,1: type error [err:XPTY0004]: Cannot treat xs:string as xs:QName
but xs:QName(
Related branches
lp:~nbrinza/zorba/bugs2
- Sorin Marian Nasoi: Approve
- Nicolae Brinza: Approve
-
Diff: 42 lines (+16/-16)1 file modifiedtest/fots/CMakeLists.txt (+16/-16)
Changed in zorba: | |
milestone: | 2.2 → 2.5 |
Changed in zorba: | |
milestone: | 2.5 → none |
Changed in zorba: | |
milestone: | none → 2.7 |
Changed in zorba: | |
assignee: | Markos Zaharioudakis (markos-za) → nobody |
assignee: | nobody → Nicolae Brinza (nbrinza) |
Changed in zorba: | |
status: | New → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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