Skip to content

Commit 01106ea

Browse files
committed
fixed xml issue
1 parent 67e34ee commit 01106ea

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ declare function trace:get-trace($id as xs:string)
357357
cts:json-property-range-query("traceId", "=", $id, ("collation=http://marklogic.com/collation/codepoint"))
358358
))
359359
return
360-
trace:trace-to-json(cts:search(fn:doc(), $query)[1])
360+
trace:trace-to-json(cts:search(fn:doc(), $query)[1]/node())
361361
};
362362

363363
declare function trace:get-traceIds($q as xs:string?)

0 commit comments

Comments
 (0)