Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I'm trying to pass one parameter by command line & executing one xquery, but
one error is shown, here is the command introduced, the parameter has been
called as arg1:
query -q:FINAL_cruces_2_0_1.xq -p:on -o:FINAL.XML -t arg1="0037050-801"
here is the xquery:
xquery version "1.0";
declare variable $arg1 external;
for $PNR in doc("PNR_REP.xml")/dataroot/PNR_REP/EQPN
& the xml
Saxon-HE 188.8.131.52N from Saxonica
.NET 2.0.50727.1433 on Microsoft Windows NT 5.1.2600 Service Pack 2
Analyzing query from FINAL_cruces_2_0_1.xq
Static error in query: Exception in ModuleURIResolver:
What is happening?
I'm afraid I haven't the faintest idea! It's a very strange one. Presumably
you are running from the command line, and without an "import module" it's
hard to see where the ModuleURIResolver comes into it. Do you get the problem
when you run any query? Is it specific to queries that specify an argument on
the command line? Is there anything unusual about the file from which the
Does the problem go away if you remove the -p option from the command line?
OK, it works removing -p option. Thanks a lot