[xquery-talk] What does [.] do.

Michael Kay mike at saxonica.com
Mon Feb 10 11:15:00 PST 2014


> 
> No. I am aware of that distinction. I was quoting the results obtained
> from the example that was quoted.
> 
> ihe at ihe-ThinkPad-T410:~/film$ zorba -q '(1, 2, 4, 3, 5, "", "foo",
> <a/>, true, false)[.]'
> (no URI):1,41: static warning [zwarn:ZWST0008]: "false": has been
> deprecated; use "fn:false()" instead
> (no URI):1,35: static warning [zwarn:ZWST0008]: "true": has been
> deprecated; use "fn:true()" instead

Those warnings appear to be telling you that Zorba is applying a non-standard meaning to the names true and false, and is warning you that it is doing so. If so you are right, it's not conformant.

Michael Kay
Saxonica




More information about the talk mailing list