Incomplete error message: "$2" ?

Bug #867268 reported by Gabriel Petrovay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Medium
Chris Hillery

Bug Description

Using the following library module (lm.xq)
----------------
module namespace lm = "http://foo";
import module namespace bar = "file://bar";
----------------

and running:
zorba --compile-only -l -f -q lm.xq

Zorba issues the error: static error [err:XQST0046]: "file://bar": invalid URI literal: "$2": invalid authority for "file" scheme; raised at C:\Users\Gabriel\Work\28msec\zorba\src\zorbatypes\URI.cpp:667

What is the meaning of "$2"?

Revision history for this message
Gabriel Petrovay (gabipetrovay) wrote :

The error has also a wrong location (run with -x):
<location module='' lineStart='0' columnStart='0'/>

instead of smth like:

<location module='lm.xq' lineStart='3' columnStart='1' lineEnd='3' columnEnd='43'/>

Chris Hillery (ceejatec)
tags: removed: core-runtime
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.