Skip to content

Commit 16b84d5

Browse files
authored
Update fn.xql
1 parent 1eecf03 commit 16b84d5

File tree

1 file changed

+9
-1
lines changed
  • exist-core/src/test/xquery

1 file changed

+9
-1
lines changed

exist-core/src/test/xquery/fn.xql

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,4 +160,12 @@ declare
160160
%test:assertEmpty
161161
function fnt:document-uri1_empty() {
162162
document-uri(root(collection('/db/fn-test')//bookies))
163-
};
163+
};
164+
165+
declare
166+
%test:assertEquals("TRUE")
167+
function fnt:fn-document-uri-32() {
168+
let $uri := "/db/fn-test/test.xml"
169+
return
170+
fn:upper-case(fn:string(fn:contains((fn:doc($uri))/document-uri(),$uri)))
171+
};

0 commit comments

Comments
 (0)