Skip to content

Commit c8266bd

Browse files
committed
fix #800 - expect new return value from extut function apply-transform after fix for bugtrack #46692
1 parent 74007d7 commit c8266bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/resources/RestTransformAdapter.xqy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ declare function adapter:transform(
2020
let $transform := map:get($params, "ml.transform")
2121
let $targetContext := map:entry("uri", $uri)
2222
let $_ := map:delete($params, "ml.transform")
23-
let $docOut := tformod:apply-transform(
23+
let $mapOut := tformod:apply-transform(
2424
$transform, $targetContext, $params, $docIn
2525
)
26+
let $docOut := head(map:get($mapOut, "result"))
2627
return (
2728
map:put($content, "value", $docOut),
2829
$content

0 commit comments

Comments
 (0)