Created
July 19, 2012 13:08
-
-
Save ryanjdew/3143787 to your computer and use it in GitHub Desktop.
Static Checking XQuery Main Modules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for $main-module in xdmp:eval("cts:uri-match('*.xqm')", | |
| <options xmlns="xdmp:eval"> | |
| <database>{xdmp:modules-database()}</database> | |
| </options>) | |
| return xdmp:invoke($main-module, (), | |
| <options xmlns="xdmp:eval"> | |
| <static-check>true</static-check> | |
| </options>) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment