Skip to content

Commit fb26b5b

Browse files
committed
added comment
1 parent 663c168 commit fb26b5b

File tree

1 file changed

+9
-0
lines changed
  • marklogic-data-hub/src/main/resources/ml-modules/root/com.marklogic.hub/lib

1 file changed

+9
-0
lines changed

marklogic-data-hub/src/main/resources/ml-modules/root/com.marklogic.hub/lib/flow-lib.xqy

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,15 @@ declare function flow:validate-entities()
626626
else
627627
"create-" || $destination
628628
return
629+
(:
630+
: Note that we are static checking the files.
631+
: This is because there is no reasonable way to actually
632+
: call the plugins and pass in data that will work for all plugins.
633+
:
634+
: The disadvantage to static checking is that we will not catch typos
635+
: like ctsdoc <- (missing period) because Javascript is dynamically
636+
: typed. Static checking will only catch syntax errors in sjs.
637+
:)
629638
try {
630639
if ($type eq $flow:TYPE-XQUERY) then
631640
xdmp:eval(

0 commit comments

Comments
 (0)