Closed williammsawyer closed 10 years ago
Hi,
Thanks for raising the issue! I assume you're using MarkLogic version of xquery. I also assume that it does support namespace axis. According to xquery standard (http://www.w3.org/TR/xquery-30/ and http://www.w3.org/TR/xquery/) namespace axis is not supported and was deprecated in xpath 2.0. Is that still supported by MarkLogic? Is there any documentation around that available?
Thanks for providing feedback, it's invaluable! Please raise any feature requests or any bugs found! They are much welcome!
I am using MarkLogic and it is still supported. Its documented here https://docs.marklogic.com/guide/xquery/xpath
After some investigation it appears it only works if version '1.0-ml' or '0.9-ml' is used. In other cases MarkLogic throws an exception. Plugin for now supports xquery version 3.0 (and probably by default 1.0 as well, though I must admit I haven't checked backward compatibility) only. I'll see if it will be possible to add some conditional logic into parsing for cases when the right versions are used and if it is straightforward and doesn't have a performance impact then I'll implement it.
For example. $node/namespace::*