16 Jan
2019
16 Jan
'19
1:11 p.m.
I can see there is a list with the deterministic functions in the specs [1] but not so sure about the BaseX specific functions. Is it possible to know if a function is deterministic or not?
You can have a look into the appropriate Java class, and check for functions tagged with NDT: https://github.com/BaseXdb/basex/blob/master/basex-core/src/main/java/org/ba... If we have some more time, we might include this information in our Wiki.
I tried file:read-text-lines("/path.txt") is file:read-text-lines("/path.txt") but it doesn't work.
The "is" operator operates only on nodes.