xray
xray copied to clipboard
Use XQuery 3 syntax for private methods and try/catch
My motivation for this is to be able to parse the XRay code base using an XQuery parser generated by the REx parser generator. I am looking to examine and generate some stats about XQuery projects and XRay is one of the projects I am looking at.
These changes should all be compatible with 1.0-ml
. I am not certain how MarkLogic populates the $err:
variables in a catch statement, so my assumptions where I have changed try/catch may need a quick check...
@robwhitby Any update?
I just checked it out and got errors running against MarkLogic 8.0-6. Also I have concerns that MarkLogic is a bit weird about how it handles errors, seem to remember the name and code getting switched or something stupid like that. So I can't merge this as is - if you want to fix the issues and test against MarkLogic 8 and 9 then I assure you it won't be left pending for another 3 years ;)