err:XQDY0044 not caught by try-catch expressions.
Bug #955135 reported by
Ghislain Fourny
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
Medium
|
Matthias Brantner |
Bug Description
In the following query, the error err:XQDY0044 is raised. If I am correct, as a dynamic error, it should be caught.
try { attribute xmlns {} } catch *:XQDY0044 { "Invalid attribute." }
Related branches
lp:~zorba-coders/zorba/bug-955135
- Till Westmann: Approve
- Ghislain Fourny: Approve
- Matthias Brantner: Approve
-
Diff: 197 lines (+60/-26)8 files modifiedChangeLog (+9/-5)
src/compiler/translator/translator.cpp (+17/-8)
src/runtime/core/constructors.cpp (+28/-13)
src/runtime/core/constructors.h (+2/-0)
test/rbkt/ExpQueryResults/zorba/trycatch/trycatch12.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/trycatch/trycatch13.xml.res (+1/-0)
test/rbkt/Queries/zorba/trycatch/trycatch12.xq (+1/-0)
test/rbkt/Queries/zorba/trycatch/trycatch13.xq (+1/-0)
Changed in zorba: | |
assignee: | Sorin Marian Nasoi (sorin.marian.nasoi) → Matthias Brantner (matthias-brantner) |
milestone: | none → 2.2 |
importance: | Undecided → Medium |
Changed in zorba: | |
milestone: | 2.2 → 2.3 |
status: | New → In Progress |
Changed in zorba: | |
status: | In Progress → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.