zorba -l should accept relative URIs for module namespaces
Bug #1202843 reported by
Chris Hillery
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
New
|
Low
|
Markos Zaharioudakis |
Bug Description
The following module:
module namespace test = "zorba.io/test";
compiled with "zorba -l /tmp/foo.xq", raises:
</tmp/foo.xq>:1,2: static error [err:XQST0046]: "zorba.io/test": invalid URI literal: must be absolute; raised at /home/ceej/
But there's nothing in the spec which says module namespaces must be absolute. In fact XQST0046 is documented to mean "URILiteral is nonzero length and is neither an absolute URI nor a relative URI".
I'm not sure whether XML schema says anything about whether schema namespaces must be absolute or not.
summary: |
- Should accept relative URIs for module namespaces + zorba -l should accept relative URIs for module namespaces |
Changed in zorba: | |
assignee: | nobody → Markos Zaharioudakis (markos-za) |
importance: | Undecided → Low |
To post a comment you must log in.
FYI, the same module works fine if it is imported from a query, so only the mechanism behind "zorba --lib-module" is broken here.