xray icon indicating copy to clipboard operation
xray copied to clipboard

Use XQuery 3 syntax for private methods and try/catch

Open adamretter opened this issue 9 years ago • 2 comments

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...

adamretter avatar May 05 '15 14:05 adamretter

@robwhitby Any update?

adamretter avatar Apr 02 '18 11:04 adamretter

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 ;)

robwhitby avatar Apr 02 '18 13:04 robwhitby