All my modules start off with this boilerplate:

module "http://blah/session";
declare namespace session = "http://blah/session";

In the 2nd last page of the XQuery Style Guide http://xqdoc.org/xquery-style.pdf, I see this...

module namespace math = "http://xqdoc.org/sample-math-lib";;

...which looks like it compresses two lines into one. When I try this, I get "XDMP-UNEXPECTED: Unexpected token syntax error, unexpected QName_, expecting $end".

What am I missing?  Both their module and mine start with:

xquery version "1.0"

Cheers,

Eric
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to