Open zyv opened 8 years ago
Hi, can you please clarify what you mean by "not recognized"? I went to the link posted by you and took a code snippet
let $filename := "input.txt"
let $dir := file:base-dir()
let $path := concat($dir, $filename)
return file:read-text($path)
I created a new file with that code and after changing the flavour to BaseX everything looks fine (File -> Settings -> Other Settings -> XQuery -> Other options -> XQuery flavour).
Please let me know your thoughts.
Oh, thank you very much, I didn't realize that I should switch on BaseX flavor for it, now it's working!
I think it's a bit unobvious, though. Maybe it would be possible to show some kind of a hint, that one needs to change the flavor if generally existing, but unrecognized with the current flavor functions are used...
Otherwise, please feel free to close and sorry for the noise!
I've renamed the issue and changed to new feature to highlight the new scope.
This extension is already supported by BaseX, but, unfortunately, not recognized by intellij-xquery:
http://expath.org/spec/file