FOTS: option default ns not supported

Bug #1073978 reported by Sorin Marian Nasoi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
High
Matthias Brantner

Bug Description

from:
http://www.w3.org/TR/xquery-30/#doc-xquery30-OptionDecl
"If the EQName of an option does not have a prefix, the expanded QName is in the http://www.w3.org/2011/xquery-options namespace."

The following queries fail in Zorba:

Query 1:
declare option require-feature "higher-order-function";
let $f := sum#1 return 0

result [err:XPST0081]: "require-feature": can not expand namespace prefix to URI

Query 2:
declare option require-feature "schema-validation";
1

result [err:XPST0081]: "require-feature": can not expand namespace prefix to URI

Tags: fots

Related branches

Changed in zorba:
importance: Undecided → Medium
Changed in zorba:
importance: Medium → High
summary: - FOTS: option declaration not supported
+ FOTS: option default ns not supported
Changed in zorba:
status: New → In Progress
Changed in zorba:
status: In Progress → Fix Committed
Changed in zorba:
milestone: 2.8 → 2.9
Changed in zorba:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.