New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse errors on namespace axes. #110

Closed
williammsawyer opened this Issue Jul 1, 2014 · 3 comments

Comments

Projects
None yet
2 participants
@williammsawyer

williammsawyer commented Jul 1, 2014

For example.
$node/namespace::*

@ligasgr

This comment has been minimized.

Show comment
Hide comment
@ligasgr

ligasgr Jul 1, 2014

Owner

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!

Owner

ligasgr commented Jul 1, 2014

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!

@williammsawyer

This comment has been minimized.

Show comment
Hide comment
@williammsawyer

williammsawyer Jul 1, 2014

I am using MarkLogic and it is still supported. Its documented here https://docs.marklogic.com/guide/xquery/xpath

williammsawyer commented Jul 1, 2014

I am using MarkLogic and it is still supported. Its documented here https://docs.marklogic.com/guide/xquery/xpath

@ligasgr

This comment has been minimized.

Show comment
Hide comment
@ligasgr

ligasgr Jul 3, 2014

Owner

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.

Owner

ligasgr commented Jul 3, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment