Wrong errors reported for computed elem and attr constructor
Bug #866857 reported by
Gabriel Petrovay
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
Medium
|
Gabriel Petrovay |
Bug Description
According to the XQuery 1.0 spec, this should fail with error err:XQDY0096
element { "xmlns:foo" } {}
This means that the check for xmlns has to be made before the casting to xs:QName which will throw err:XQDY0074.
To post a comment you must log in.
I added a test for this which is currently failing:
test/rbkt/ zorba/construct ors/element_ xmlns_prefix