Skip to content
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

Issues with namespace qualified function completion (variant list) #179

Open
rhdunn opened this issue Feb 5, 2016 · 0 comments
Open

Issues with namespace qualified function completion (variant list) #179

rhdunn opened this issue Feb 5, 2016 · 0 comments

Comments

@rhdunn
Copy link

rhdunn commented Feb 5, 2016

  1. Type fn into an XQuery document. This lists functions in the fn namespace (and other functions containing fn). This is the expected behaviour. For example:
fn:abs
fn:adjust-date-to-timezone
fn:adjust-dateTime-to-timezone
...
  1. Press the : key (so the current context is fn:). This causes the completion list box to disappear. It should list items in namespaces ending with fn (including, e.g. myfn:test, as well as fn:abs, etc.).
  2. Type ex (so the current context is fn:ex). This lists:
cts:exists
dbg:expr
math:exp
exactly-one
...
fn:exactly-one
...

This should only list the items matching fn:ex, for example:

fn:exactly-one
fn:exists
  1. Press ESC to dismiss the variant list, then type i (so the current context is fn:ex). This lists items matching exi not fn:exi. For example:
cts:exists
exists
fn:exists
xdmp:exists
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants