ligasgr / intellij-xquery

Plugin to support XQuery in Intellij Idea
Apache License 2.0
35 stars 23 forks source link

MarkLogic map: and other built-in functions flagged as errors. #145

Closed rhdunn closed 9 years ago

rhdunn commented 9 years ago

Using the latest code, given:

xquery version "1.0-ml";
map:map()

The map:map function is flagged with the error Cannot resolve function 'map:map'. This affects the following built-in function namespaces:

I have done a quick check of the other built-in namespaces (not checking every function, just one from each namespace), and they are being picked up correctly.

ligasgr commented 9 years ago

I've refreshed the list based on the official MarkLogic 8 documentation. For some reason temporal is not on the list.

rhdunn commented 9 years ago

You are correct. The documentation for temporal says that you must import that module.