diff --git a/app/fo-spec-examples.xml b/app/fo-spec-examples.xml index b463e5cb..59fa89bb 100644 --- a/app/fo-spec-examples.xml +++ b/app/fo-spec-examples.xml @@ -33,7 +33,7 @@ Test case for fn:node-name - + @@ -57,7 +57,7 @@ Test case for fn:node-name - + @@ -81,7 +81,7 @@ Test case for fn:node-name - + @@ -105,7 +105,7 @@ Test case for fn:node-name - + @@ -129,7 +129,7 @@ Test case for fn:node-name - + @@ -153,7 +153,7 @@ Test case for fn:node-name - + @@ -177,7 +177,7 @@ Test case for fn:node-name - + @@ -201,7 +201,7 @@ Test case for fn:type-of - + @@ -225,7 +225,7 @@ Test case for fn:type-of - + @@ -249,7 +249,7 @@ Test case for fn:type-of - + @@ -273,7 +273,7 @@ Test case for fn:type-of - + @@ -297,7 +297,7 @@ Test case for fn:type-of - + @@ -321,7 +321,7 @@ Test case for fn:type-of - + @@ -345,7 +345,7 @@ Test case for fn:type-of - + type-of(1) @@ -357,7 +357,7 @@ Test case for fn:type-of - + type-of(1 to 5) @@ -369,7 +369,7 @@ Test case for fn:type-of - + type-of((1, 1.2, 2)) @@ -381,7 +381,7 @@ Test case for fn:type-of - + type-of([1, 2, 3]) @@ -393,7 +393,7 @@ Test case for fn:type-of - + type-of({ 'a':1 }) @@ -405,7 +405,7 @@ Test case for fn:type-of - + type-of(type-of#1) @@ -417,7 +417,7 @@ Test case for fn:string - + string(23) @@ -429,7 +429,7 @@ Test case for fn:string - + string(false()) @@ -441,7 +441,7 @@ Test case for fn:string - + string("Paris") @@ -453,7 +453,7 @@ Test case for fn:string - + string((1, 2, 3)) @@ -465,7 +465,7 @@ Test case for fn:string - + string([ [ 1, 2 ], [ 3, 4 ] ]) @@ -477,7 +477,7 @@ Test case for fn:string - + string(abs#1) @@ -489,7 +489,7 @@ Test case for fn:string - + @@ -508,7 +508,7 @@ Test case for fn:data - + data(123) @@ -520,7 +520,7 @@ Test case for fn:data - + data((123, 456)) @@ -532,7 +532,7 @@ Test case for fn:data - + data([ [ 1, 2 ], [ 3, 4 ] ]) @@ -544,7 +544,7 @@ Test case for fn:data - + @@ -563,7 +563,7 @@ Test case for fn:data - + @@ -582,7 +582,7 @@ Test case for fn:data - + data(abs#1) @@ -594,7 +594,7 @@ Test case for fn:error - + error() @@ -606,7 +606,7 @@ Test case for fn:error - + error( @@ -621,7 +621,7 @@ Test case for fn:abs - + abs(10.5) @@ -633,7 +633,7 @@ Test case for fn:abs - + abs(-10.5) @@ -645,7 +645,7 @@ Test case for fn:abs - + abs(-math:log(0)) @@ -657,7 +657,7 @@ Test case for fn:ceiling - + ceiling(10.5) @@ -669,7 +669,7 @@ Test case for fn:ceiling - + ceiling(-10.5) @@ -681,7 +681,7 @@ Test case for fn:ceiling - + ceiling(math:log(0)) @@ -693,7 +693,7 @@ Test case for fn:floor - + floor(10.5) @@ -705,7 +705,7 @@ Test case for fn:floor - + floor(-10.5) @@ -717,7 +717,7 @@ Test case for fn:floor - + math:log(0) => floor() @@ -729,7 +729,7 @@ Test case for fn:round - + round(2.5) @@ -741,7 +741,7 @@ Test case for fn:round - + round(2.4999) @@ -753,7 +753,7 @@ Test case for fn:round - + round(-2.5) @@ -765,7 +765,7 @@ Test case for fn:round - + round(1.125, 2) @@ -777,7 +777,7 @@ Test case for fn:round - + round(8452, -2) @@ -789,7 +789,7 @@ Test case for fn:round - + round(3.1415e0, 2) @@ -801,7 +801,7 @@ Test case for fn:round - + math:log(0) => round() @@ -813,7 +813,7 @@ Test case for fn:round - + round(1.7, 0, "floor") @@ -825,7 +825,7 @@ Test case for fn:round - + round(-1.7, 0, "floor") @@ -837,7 +837,7 @@ Test case for fn:round - + round(1.7, 0, "ceiling") @@ -849,7 +849,7 @@ Test case for fn:round - + round(-1.7, 0, "ceiling") @@ -861,7 +861,7 @@ Test case for fn:round - + round(1.7, 0, "toward-zero") @@ -873,7 +873,7 @@ Test case for fn:round - + round(-1.7, 0, "toward-zero") @@ -885,7 +885,7 @@ Test case for fn:round - + round(1.7, 0, "away-from-zero") @@ -897,7 +897,7 @@ Test case for fn:round - + round(-1.7, 0, "away-from-zero") @@ -909,7 +909,7 @@ Test case for fn:round - + round(1.125, 2, "half-to-floor") @@ -921,7 +921,7 @@ Test case for fn:round - + round(-1.125, 2, "half-to-floor") @@ -933,7 +933,7 @@ Test case for fn:round - + round(1.125, 2, "half-to-ceiling") @@ -945,7 +945,7 @@ Test case for fn:round - + round(-1.125, 2, "half-to-ceiling") @@ -957,7 +957,7 @@ Test case for fn:round - + round(1.125, 2, "half-toward-zero") @@ -969,7 +969,7 @@ Test case for fn:round - + round(-1.125, 2, "half-toward-zero") @@ -981,7 +981,7 @@ Test case for fn:round - + round(1.125, 2, "half-away-from-zero") @@ -993,7 +993,7 @@ Test case for fn:round - + round(-1.125, 2, "half-away-from-zero") @@ -1005,7 +1005,7 @@ Test case for fn:round - + round(1.125, 2, "half-to-even") @@ -1017,7 +1017,7 @@ Test case for fn:round - + round(-1.125, 2, "half-to-even") @@ -1029,7 +1029,7 @@ Test case for fn:round-half-to-even - + round-half-to-even(0.5) @@ -1041,7 +1041,7 @@ Test case for fn:round-half-to-even - + round-half-to-even(1.5) @@ -1053,7 +1053,7 @@ Test case for fn:round-half-to-even - + round-half-to-even(2.5) @@ -1065,7 +1065,7 @@ Test case for fn:round-half-to-even - + round-half-to-even(3.567812e+3, 2) @@ -1077,7 +1077,7 @@ Test case for fn:round-half-to-even - + round-half-to-even(4.7564e-3, 2) @@ -1089,7 +1089,7 @@ Test case for fn:round-half-to-even - + round-half-to-even(35612.25, -2) @@ -1101,7 +1101,7 @@ Test case for fn:round-half-to-even - + math:log(0) => round-half-to-even() @@ -1113,7 +1113,7 @@ Test case for fn:divide-decimals - + divide-decimals(120.6, 60.3, 4) @@ -1125,7 +1125,7 @@ Test case for fn:divide-decimals - + divide-decimals(10, 3) @@ -1137,7 +1137,7 @@ Test case for fn:divide-decimals - + divide-decimals(10, -3) @@ -1149,7 +1149,7 @@ Test case for fn:divide-decimals - + divide-decimals(-10, 3) @@ -1161,7 +1161,7 @@ Test case for fn:divide-decimals - + divide-decimals(-10, -3) @@ -1173,7 +1173,7 @@ Test case for fn:divide-decimals - + divide-decimals(10, 3, 6) @@ -1185,7 +1185,7 @@ Test case for fn:divide-decimals - + divide-decimals(100, 30) @@ -1197,7 +1197,7 @@ Test case for fn:divide-decimals - + divide-decimals(150_862, 7, -3) @@ -1209,7 +1209,7 @@ Test case for fn:format-integer - + format-integer(123, '0000') @@ -1221,7 +1221,7 @@ Test case for fn:format-integer - + format-integer(21, '1;o', 'en') @@ -1233,7 +1233,7 @@ Test case for fn:format-integer - + format-integer(7, 'a') @@ -1245,7 +1245,7 @@ Test case for fn:format-integer - + format-integer(27, 'a') @@ -1257,7 +1257,7 @@ Test case for fn:format-integer - + format-integer(57, 'I') @@ -1269,7 +1269,7 @@ Test case for fn:format-integer - + format-integer(1234, '#;##0;') @@ -1281,7 +1281,7 @@ Test case for fn:format-integer - + format-integer(1234, '16^xxxx') @@ -1293,7 +1293,7 @@ Test case for fn:format-integer - + format-integer(1234, '16^X') @@ -1305,7 +1305,7 @@ Test case for fn:format-integer - + format-integer(12345678, '16^xxxx_xxxx') @@ -1317,7 +1317,7 @@ Test case for fn:format-integer - + format-integer(12345678, '16^#_xxxx') @@ -1329,7 +1329,7 @@ Test case for fn:format-integer - + format-integer(255, '2^xxxx xxxx') @@ -1341,7 +1341,7 @@ Test case for fn:format-integer - + format-integer(1023, '32^XXXX') @@ -1353,7 +1353,7 @@ Test case for fn:format-integer - + format-integer(1023, '10^XXXX') @@ -1365,7 +1365,7 @@ Test case for fn:format-integer - + format-integer(1023, '10^00') @@ -1377,7 +1377,7 @@ Test case for fn:format-number - + format-number(12345.6, '#,###.00') @@ -1389,7 +1389,7 @@ Test case for fn:format-number - + format-number(12345678.9, '9,999.99') @@ -1401,7 +1401,7 @@ Test case for fn:format-number - + format-number(123.9, '9999') @@ -1413,7 +1413,7 @@ Test case for fn:format-number - + format-number(0.14, '01%') @@ -1425,7 +1425,7 @@ Test case for fn:format-number - + format-number(0.14, '01%', { 'percent': '%:pc' }) @@ -1437,7 +1437,7 @@ Test case for fn:format-number - + @@ -1452,7 +1452,7 @@ format-number(12345, '0.0###^0', { Test case for fn:format-number - + format-number(-6, '000') @@ -1464,7 +1464,7 @@ format-number(12345, '0.0###^0', { Test case for fn:format-number - + @@ -1480,7 +1480,7 @@ format-number(1234567.8, '0.000,0', { Test case for fn:format-number - + format-number(1234.5678, '#.##0,00', { 'format-name': 'de' }) @@ -1492,7 +1492,7 @@ format-number(1234567.8, '0.000,0', { Test case for fn:format-number - + @@ -1508,7 +1508,7 @@ format-number(12345, '0,###^0', { Test case for fn:format-number - + @@ -1524,7 +1524,7 @@ format-number(12345, '0,###^0', { Test case for fn:format-number - + format-number(1234.5678, '00.000E0', 'fortran') @@ -1536,7 +1536,7 @@ format-number(12345, '0,###^0', { Test case for fn:format-number - + format-number(0.234, '0.0E0', 'fortran') @@ -1548,7 +1548,7 @@ format-number(12345, '0,###^0', { Test case for fn:format-number - + format-number(0.234, '#.00E0', 'fortran') @@ -1560,7 +1560,7 @@ format-number(12345, '0,###^0', { Test case for fn:format-number - + format-number(0.234, '.00E0', 'fortran') @@ -1572,7 +1572,7 @@ format-number(12345, '0,###^0', { Test case for fn:parse-integer - + parse-integer(" 200 ") @@ -1584,7 +1584,7 @@ format-number(12345, '0,###^0', { Test case for fn:parse-integer - + parse-integer("-20") @@ -1596,7 +1596,7 @@ format-number(12345, '0,###^0', { Test case for fn:parse-integer - + parse-integer(" +100") @@ -1608,7 +1608,7 @@ format-number(12345, '0,###^0', { Test case for fn:parse-integer - + parse-integer("ff", 16) @@ -1620,7 +1620,7 @@ format-number(12345, '0,###^0', { Test case for fn:parse-integer - + parse-integer("FFFF FFFF", 16) @@ -1632,7 +1632,7 @@ format-number(12345, '0,###^0', { Test case for fn:parse-integer - + parse-integer("-FFFF_FFFF", 16) @@ -1644,7 +1644,7 @@ format-number(12345, '0,###^0', { Test case for fn:parse-integer - + parse-integer("377", 8) @@ -1656,7 +1656,7 @@ format-number(12345, '0,###^0', { Test case for fn:parse-integer - + parse-integer("101", 2) @@ -1668,7 +1668,7 @@ format-number(12345, '0,###^0', { Test case for fn:parse-integer - + parse-integer("vv", 32) @@ -1680,7 +1680,7 @@ format-number(12345, '0,###^0', { Test case for fn:parse-integer - + lower-case("AAB") @@ -1694,7 +1694,7 @@ format-number(12345, '0,###^0', { Test case for fn:parse-integer - + @@ -1708,7 +1708,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pi - + 2 * math:pi() @@ -1720,7 +1720,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:e - + math:pow(math:e(), 0.05 * 3) @@ -1732,7 +1732,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:exp - + math:exp(()) @@ -1744,7 +1744,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:exp - + math:exp(0) @@ -1756,7 +1756,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:exp - + math:exp(1) @@ -1768,7 +1768,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:exp - + math:exp(2) @@ -1780,7 +1780,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:exp - + math:exp(-1) @@ -1792,7 +1792,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:exp - + math:exp(math:pi()) @@ -1804,7 +1804,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:exp - + math:exp(xs:double('NaN')) @@ -1816,7 +1816,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:exp - + math:exp(xs:double('INF')) @@ -1828,7 +1828,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:exp - + math:exp(xs:double('-INF')) @@ -1840,7 +1840,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:exp10 - + math:exp10(()) @@ -1852,7 +1852,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:exp10 - + math:exp10(0) @@ -1864,7 +1864,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:exp10 - + math:exp10(1) @@ -1876,7 +1876,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:exp10 - + math:exp10(0.5) @@ -1888,7 +1888,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:exp10 - + math:exp10(-1) @@ -1900,7 +1900,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:exp10 - + math:exp10(xs:double('NaN')) @@ -1912,7 +1912,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:exp10 - + math:exp10(xs:double('INF')) @@ -1924,7 +1924,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:exp10 - + math:exp10(xs:double('-INF')) @@ -1936,7 +1936,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:log - + math:log(()) @@ -1948,7 +1948,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:log - + math:log(0) @@ -1960,7 +1960,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:log - + math:log(math:exp(1)) @@ -1972,7 +1972,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:log - + math:log(1.0e-3) @@ -1984,7 +1984,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:log - + math:log(2) @@ -1996,7 +1996,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:log - + math:log(-1) @@ -2008,7 +2008,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:log - + math:log(xs:double('NaN')) @@ -2020,7 +2020,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:log - + math:log(xs:double('INF')) @@ -2032,7 +2032,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:log - + math:log(xs:double('-INF')) @@ -2044,7 +2044,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:log10 - + math:log10(()) @@ -2056,7 +2056,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:log10 - + math:log10(0) @@ -2068,7 +2068,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:log10 - + math:log10(1.0e3) @@ -2080,7 +2080,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:log10 - + math:log10(1.0e-3) @@ -2092,7 +2092,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:log10 - + math:log10(2) @@ -2104,7 +2104,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:log10 - + math:log10(-1) @@ -2116,7 +2116,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:log10 - + math:log10(xs:double('NaN')) @@ -2128,7 +2128,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:log10 - + math:log10(xs:double('INF')) @@ -2140,7 +2140,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:log10 - + math:log10(xs:double('-INF')) @@ -2152,7 +2152,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sqrt - + math:sqrt(()) @@ -2164,7 +2164,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sqrt - + math:sqrt(0.0e0) @@ -2176,7 +2176,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sqrt - + math:sqrt(-0.0e0) @@ -2188,7 +2188,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sqrt - + math:sqrt(1.0e6) @@ -2200,7 +2200,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sqrt - + math:sqrt(2.0e0) @@ -2212,7 +2212,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sqrt - + math:sqrt(-2.0e0) @@ -2224,7 +2224,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sqrt - + math:sqrt(xs:double('NaN')) @@ -2236,7 +2236,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sqrt - + math:sqrt(xs:double('INF')) @@ -2248,7 +2248,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sqrt - + math:sqrt(xs:double('-INF')) @@ -2260,7 +2260,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow((), 93.7) @@ -2272,7 +2272,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(2, 3) @@ -2284,7 +2284,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(-2, 3) @@ -2296,7 +2296,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(2, -3) @@ -2308,7 +2308,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(-2, -3) @@ -2320,7 +2320,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(2, 0) @@ -2332,7 +2332,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(0, 0) @@ -2344,7 +2344,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(xs:double('INF'), 0) @@ -2356,7 +2356,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(xs:double('NaN'), 0) @@ -2368,7 +2368,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(-math:pi(), 0) @@ -2380,7 +2380,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(0e0, 3) @@ -2392,7 +2392,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(0e0, 4) @@ -2404,7 +2404,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(-0e0, 3) @@ -2416,7 +2416,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(0, 4) @@ -2428,7 +2428,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(0e0, -3) @@ -2440,7 +2440,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(0e0, -4) @@ -2452,7 +2452,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(-0e0, -3) @@ -2464,7 +2464,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(0, -4) @@ -2476,7 +2476,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(16, 0.5e0) @@ -2488,7 +2488,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(16, 0.25e0) @@ -2500,7 +2500,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(0e0, -3.0e0) @@ -2512,7 +2512,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(-0e0, -3.0e0) @@ -2524,7 +2524,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(0e0, -3.1e0) @@ -2536,7 +2536,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(-0e0, -3.1e0) @@ -2548,7 +2548,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(0e0, 3.0e0) @@ -2560,7 +2560,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(-0e0, 3.0e0) @@ -2572,7 +2572,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(0e0, 3.1e0) @@ -2584,7 +2584,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(-0e0, 3.1e0) @@ -2596,7 +2596,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(-1, xs:double('INF')) @@ -2608,7 +2608,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(-1, xs:double('-INF')) @@ -2620,7 +2620,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(1, xs:double('INF')) @@ -2632,7 +2632,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(1, xs:double('-INF')) @@ -2644,7 +2644,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(1, xs:double('NaN')) @@ -2656,7 +2656,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(-2.5e0, 2.0e0) @@ -2668,7 +2668,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:pow - + math:pow(-2.5e0, 2.00000001e0) @@ -2680,7 +2680,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sin - + math:sin(()) @@ -2692,7 +2692,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sin - + math:sin(0) @@ -2704,7 +2704,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sin - + math:sin(-0.0e0) @@ -2716,7 +2716,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sin - + math:sin(math:pi() div 2) @@ -2728,7 +2728,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sin - + math:sin(-math:pi() div 2) @@ -2740,7 +2740,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sin - + math:sin(math:pi()) @@ -2752,7 +2752,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sin - + math:sin(xs:double('NaN')) @@ -2764,7 +2764,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sin - + math:sin(xs:double('INF')) @@ -2776,7 +2776,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sin - + math:sin(xs:double('-INF')) @@ -2788,7 +2788,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:cos - + math:cos(()) @@ -2800,7 +2800,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:cos - + math:cos(0) @@ -2812,7 +2812,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:cos - + math:cos(-0.0e0) @@ -2824,7 +2824,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:cos - + math:cos(math:pi() div 2) @@ -2836,7 +2836,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:cos - + math:cos(-math:pi() div 2) @@ -2848,7 +2848,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:cos - + math:cos(math:pi()) @@ -2860,7 +2860,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:cos - + math:cos(xs:double('NaN')) @@ -2872,7 +2872,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:cos - + math:cos(xs:double('INF')) @@ -2884,7 +2884,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:cos - + math:cos(xs:double('-INF')) @@ -2896,7 +2896,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:tan - + math:tan(()) @@ -2908,7 +2908,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:tan - + math:tan(0) @@ -2920,7 +2920,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:tan - + math:tan(-0.0e0) @@ -2932,7 +2932,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:tan - + math:tan(math:pi() div 4) @@ -2944,7 +2944,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:tan - + math:tan(-math:pi() div 4) @@ -2956,7 +2956,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:tan - + 1 div math:tan(math:pi() div 2) @@ -2968,7 +2968,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:tan - + 1 div math:tan(-math:pi() div 2) @@ -2980,7 +2980,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:tan - + math:tan(math:pi()) @@ -2992,7 +2992,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:tan - + math:tan(xs:double('NaN')) @@ -3004,7 +3004,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:tan - + math:tan(xs:double('INF')) @@ -3016,7 +3016,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:tan - + math:tan(xs:double('-INF')) @@ -3028,7 +3028,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:asin - + math:asin(()) @@ -3040,7 +3040,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:asin - + math:asin(0) @@ -3052,7 +3052,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:asin - + math:asin(-0.0e0) @@ -3064,7 +3064,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:asin - + math:asin(1.0e0) @@ -3076,7 +3076,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:asin - + math:asin(-1.0e0) @@ -3088,7 +3088,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:asin - + math:asin(2.0e0) @@ -3100,7 +3100,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:asin - + math:asin(xs:double('NaN')) @@ -3112,7 +3112,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:asin - + math:asin(xs:double('INF')) @@ -3124,7 +3124,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:asin - + math:asin(xs:double('-INF')) @@ -3136,7 +3136,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:acos - + math:acos(()) @@ -3148,7 +3148,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:acos - + math:acos(0) @@ -3160,7 +3160,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:acos - + math:acos(-0.0e0) @@ -3172,7 +3172,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:acos - + math:acos(1.0e0) @@ -3184,7 +3184,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:acos - + math:acos(-1.0e0) @@ -3196,7 +3196,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:acos - + math:acos(2.0e0) @@ -3208,7 +3208,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:acos - + math:acos(xs:double('NaN')) @@ -3220,7 +3220,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:acos - + math:acos(xs:double('INF')) @@ -3232,7 +3232,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:acos - + math:acos(xs:double('-INF')) @@ -3244,7 +3244,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:atan - + math:atan(()) @@ -3256,7 +3256,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:atan - + math:atan(0) @@ -3268,7 +3268,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:atan - + math:atan(-0.0e0) @@ -3280,7 +3280,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:atan - + math:atan(1.0e0) @@ -3292,7 +3292,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:atan - + math:atan(-1.0e0) @@ -3304,7 +3304,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:atan - + math:atan(xs:double('NaN')) @@ -3316,7 +3316,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:atan - + math:atan(xs:double('INF')) @@ -3328,7 +3328,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:atan - + math:atan(xs:double('-INF')) @@ -3340,7 +3340,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:atan2 - + math:atan2(+0.0e0, 0.0e0) @@ -3352,7 +3352,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:atan2 - + math:atan2(-0.0e0, 0.0e0) @@ -3364,7 +3364,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:atan2 - + math:atan2(+0.0e0, -0.0e0) @@ -3376,7 +3376,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:atan2 - + math:atan2(-0.0e0, -0.0e0) @@ -3388,7 +3388,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:atan2 - + math:atan2(-1, 0.0e0) @@ -3400,7 +3400,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:atan2 - + math:atan2(+1, 0.0e0) @@ -3412,7 +3412,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:atan2 - + math:atan2(-0.0e0, -1) @@ -3424,7 +3424,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:atan2 - + math:atan2(+0.0e0, -1) @@ -3436,7 +3436,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:atan2 - + math:atan2(-0.0e0, +1) @@ -3448,7 +3448,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:atan2 - + math:atan2(+0.0e0, +1) @@ -3460,7 +3460,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sinh - + math:sinh(1) @@ -3472,7 +3472,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:sinh - + math:sinh(math:pi()) @@ -3484,7 +3484,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:cosh - + math:cosh(0) @@ -3496,7 +3496,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:cosh - + math:cosh(math:pi()) @@ -3508,7 +3508,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:tanh - + math:tanh(1) @@ -3520,7 +3520,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for math:tanh - + math:tanh(math:pi()) @@ -3532,7 +3532,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:codepoints-to-string - + codepoints-to-string((66, 65, 67, 72)) @@ -3544,7 +3544,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:codepoints-to-string - + codepoints-to-string((2309, 2358, 2378, 2325)) @@ -3556,7 +3556,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:codepoints-to-string - + codepoints-to-string(()) @@ -3568,7 +3568,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:codepoints-to-string - + codepoints-to-string(0) @@ -3580,7 +3580,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:string-to-codepoints - + string-to-codepoints("Thérèse") @@ -3592,7 +3592,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:compare - + compare('abc', 'abc') @@ -3604,7 +3604,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:compare - + compare('Strasse', 'Straße') @@ -3616,7 +3616,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:compare - + @@ -3634,7 +3634,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:compare - + compare( @@ -3650,7 +3650,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:compare - + compare('text', parse-xml('<xml>text</xml>')) @@ -3662,7 +3662,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:compare - + compare(9, 10) @@ -3674,7 +3674,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:compare - + compare(123, 123.0) @@ -3686,7 +3686,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:compare - + compare(xs:double('NaN'), xs:float('NaN')) @@ -3698,7 +3698,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:compare - + compare(xs:double('NaN'), xs:double('-INF')) @@ -3710,7 +3710,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:compare - + compare(xs:double('-INF'), -23) @@ -3722,7 +3722,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:compare - + compare(1, 1e0) @@ -3734,7 +3734,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:compare - + compare(1.1, 1.1e0) @@ -3746,7 +3746,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:compare - + compare(1.2, 1.2e0) @@ -3758,7 +3758,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:compare - + compare(9999, xs:double('INF')) @@ -3770,7 +3770,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:compare - + compare(false(), true()) @@ -3782,7 +3782,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:compare - + compare(xs:hexBinary(''), xs:base64Binary('')) @@ -3794,7 +3794,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:compare - + compare(xs:time('23:59:59'), xs:time('00:00:00')) @@ -3806,7 +3806,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:compare - + compare(xs:date('2001-01-01+01:00'), xs:date('2001-01-01+00:00')) @@ -3818,7 +3818,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:codepoint-equal - + codepoint-equal("abcd", "abcd") @@ -3830,7 +3830,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:codepoint-equal - + codepoint-equal("abcd", "abcd ") @@ -3842,7 +3842,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:codepoint-equal - + codepoint-equal("", "") @@ -3854,7 +3854,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:codepoint-equal - + codepoint-equal("", ()) @@ -3866,7 +3866,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:codepoint-equal - + codepoint-equal((), ()) @@ -3878,7 +3878,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:concat - + concat('un', 'grateful') @@ -3890,7 +3890,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:concat - + concat(('un', 'grateful')) @@ -3902,7 +3902,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:concat - + concat( @@ -3917,7 +3917,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:concat - + concat('Ciao!', ()) @@ -3929,7 +3929,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:concat - + concat('Ingratitude, ', 'thou ', ('marble-hearted', ' fiend!')) @@ -3941,7 +3941,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:concat - + concat(01, 02, 03, 04, true()) @@ -3953,7 +3953,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:concat - + concat() @@ -3965,7 +3965,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:concat - + 10 || '/' || 6 @@ -3977,7 +3977,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:string-join - + string-join(1 to 9) @@ -3989,7 +3989,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:string-join - + string-join(('Now', 'is', 'the', 'time', '...'), ' ') @@ -4001,7 +4001,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:string-join - + string-join( @@ -4016,7 +4016,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:string-join - + string-join((), 'separator') @@ -4028,7 +4028,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:string-join - + string-join(1 to 5, ', ') @@ -4040,7 +4040,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:string-join - + @@ -4059,7 +4059,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:string-join - + @@ -4078,7 +4078,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring - + substring("motor car", 6) @@ -4090,7 +4090,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring - + substring("metadata", 4, 3) @@ -4102,7 +4102,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring - + substring("12345", 1.5, 2.6) @@ -4114,7 +4114,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring - + substring("12345", 0, 3) @@ -4126,7 +4126,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring - + substring("12345", 5, -3) @@ -4138,7 +4138,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring - + substring("12345", -3, 5) @@ -4150,7 +4150,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring - + substring("12345", 0 div 0E0, 3) @@ -4162,7 +4162,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring - + substring("12345", 1, 0 div 0E0) @@ -4174,7 +4174,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring - + substring((), 1, 3) @@ -4186,7 +4186,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring - + substring("12345", -42, 1 div 0E0) @@ -4198,7 +4198,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring - + substring("12345", -1 div 0E0, 1 div 0E0) @@ -4210,7 +4210,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:string-length - + string-length( @@ -4224,7 +4224,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:string-length - + "ᾧ" => string-length() @@ -4236,7 +4236,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:string-length - + "ᾧ" => normalize-unicode("NFD") => string-length() @@ -4248,7 +4248,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:string-length - + string-length(()) @@ -4260,7 +4260,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:normalize-space - + normalize-space(" The wealthy curled darlings @@ -4273,7 +4273,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:normalize-space - + normalize-space(()) @@ -4285,7 +4285,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:upper-case - + upper-case("abCd0") @@ -4297,7 +4297,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:lower-case - + lower-case("ABc!D") @@ -4309,7 +4309,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:translate - + translate("bar", "abc", "ABC") @@ -4321,7 +4321,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:translate - + translate("--aaa--", "abc-", "ABC") @@ -4333,7 +4333,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:translate - + translate("abcdabc", "abc", "AB") @@ -4345,7 +4345,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:hash - + hash("abc") @@ -4357,7 +4357,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:hash - + hash("ABC") @@ -4369,7 +4369,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:hash - + hash("") @@ -4381,7 +4381,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:hash - + hash("ABC", "SHA-1") @@ -4393,7 +4393,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:hash - + hash("ABC", "BLAKE3") @@ -4406,7 +4406,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:hash - + hash("ABC", "BLAKE3") @@ -4419,7 +4419,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:hash - + hash("ABC", "sha-256") @@ -4432,7 +4432,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:hash - + hash("ABC", "sha-256") @@ -4444,7 +4444,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:hash - + let $doc := @@ -4461,7 +4461,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:hash - + let $doc := @@ -4480,7 +4480,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:hash - + let $salt := "D;%yL9TS:5PalS/d" @@ -4497,7 +4497,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:hash - + hash("", "CRC-32") @@ -4509,7 +4509,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:hash - + hash("input", "CRC-32") @@ -4521,7 +4521,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:hash - + hash("password123", "sha-unknown") @@ -4533,7 +4533,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:encode-for-uri - + encode-for-uri( @@ -4547,7 +4547,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:encode-for-uri - + concat( @@ -4562,7 +4562,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:encode-for-uri - + concat( @@ -4577,7 +4577,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:decode-from-uri - + decode-from-uri("http://example.com/") @@ -4589,7 +4589,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:decode-from-uri - + decode-from-uri("~b%C3%A9b%C3%A9?a=b+c") @@ -4601,7 +4601,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:decode-from-uri - + decode-from-uri("%00-%XX-%F0%9F%92%41-%F0%F0%9F%92%A1") @@ -4613,7 +4613,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:iri-to-uri - + iri-to-uri( @@ -4627,7 +4627,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:iri-to-uri - + iri-to-uri("http://www.example.com/~bébé") @@ -4639,7 +4639,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:escape-html-uri - + escape-html-uri( @@ -4653,7 +4653,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:escape-html-uri - + escape-html-uri( @@ -4667,7 +4667,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:contains - + contains("tattoo", "t") @@ -4679,7 +4679,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:contains - + contains("tattoo", "ttt") @@ -4691,7 +4691,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:contains - + contains("", ()) @@ -4703,7 +4703,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:contains - + let $coll := @@ -4725,7 +4725,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:contains - + let $coll := @@ -4747,7 +4747,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:contains - + let $coll := @@ -4769,7 +4769,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:contains - + let $coll := @@ -4791,7 +4791,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:starts-with - + starts-with("tattoo", "tat") @@ -4803,7 +4803,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:starts-with - + starts-with("tattoo", "att") @@ -4815,7 +4815,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:starts-with - + starts-with((), ()) @@ -4827,7 +4827,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:starts-with - + let $coll := @@ -4849,7 +4849,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:starts-with - + let $coll := @@ -4871,7 +4871,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:starts-with - + let $coll := @@ -4893,7 +4893,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:starts-with - + let $coll := @@ -4915,7 +4915,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:starts-with - + let $coll := @@ -4937,7 +4937,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:ends-with - + ends-with("tattoo", "tattoo") @@ -4949,7 +4949,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:ends-with - + ends-with("tattoo", "atto") @@ -4961,7 +4961,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:ends-with - + ends-with((), ()) @@ -4973,7 +4973,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:ends-with - + let $coll := @@ -4995,7 +4995,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:ends-with - + let $coll := @@ -5017,7 +5017,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:ends-with - + let $coll := @@ -5039,7 +5039,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:ends-with - + let $coll := @@ -5061,7 +5061,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:ends-with - + let $coll := @@ -5083,7 +5083,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring-before - + substring-before("tattoo", "attoo") @@ -5095,7 +5095,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring-before - + substring-before("tattoo", "tatto") @@ -5107,7 +5107,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring-before - + substring-before((), ()) @@ -5119,7 +5119,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring-before - + let $coll := @@ -5141,7 +5141,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring-before - + let $coll := @@ -5163,7 +5163,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring-before - + let $coll := @@ -5185,7 +5185,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring-before - + let $coll := @@ -5207,7 +5207,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring-after - + substring-after("tattoo", "tat") @@ -5219,7 +5219,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring-after - + substring-after("tattoo", "tattoo") @@ -5231,7 +5231,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring-after - + substring-after((), ()) @@ -5243,7 +5243,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring-after - + let $coll := @@ -5265,7 +5265,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring-after - + let $coll := @@ -5287,7 +5287,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring-after - + let $coll := @@ -5309,7 +5309,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:substring-after - + let $coll := @@ -5331,7 +5331,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:matches - + matches("abracadabra", "bra") @@ -5343,7 +5343,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:matches - + matches("abracadabra", "^a.*a$") @@ -5355,7 +5355,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:matches - + matches("abracadabra", "^bra") @@ -5367,7 +5367,7 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234 Test case for fn:matches - + @@ -5390,7 +5390,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:matches - + @@ -5413,7 +5413,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:matches - + @@ -5436,7 +5436,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:matches - + @@ -5459,7 +5459,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:matches - + @@ -5482,7 +5482,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:replace - + replace("abracadabra", "bra", "*") @@ -5494,7 +5494,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:replace - + replace("abracadabra", "a.*a", "*") @@ -5506,7 +5506,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:replace - + replace("abracadabra", "a.*?a", "*") @@ -5518,7 +5518,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:replace - + replace("abracadabra", "a", "") @@ -5530,7 +5530,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:replace - + replace("abracadabra", "a(.)", "a$1$1") @@ -5542,7 +5542,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:replace - + replace("AAAA", "A+", "b") @@ -5554,7 +5554,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:replace - + replace("AAAA", "A+?", "b") @@ -5566,7 +5566,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:replace - + replace("darted", "^(.*?)d(.*)$", "$1c$2") @@ -5578,7 +5578,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:replace - + replace("abracadabra", "bra", action := fn { "*" }) @@ -5590,7 +5590,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:replace - + replace( @@ -5606,7 +5606,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:replace - + replace("Chapter 9", "[0-9]+", action := fn { . + 1 }) @@ -5618,7 +5618,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:replace - + replace( @@ -5634,7 +5634,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:replace - + replace( @@ -5652,7 +5652,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:tokenize - + tokenize(" red green blue ") @@ -5664,7 +5664,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:tokenize - + tokenize("The cat sat on the mat", "\s+") @@ -5676,7 +5676,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:tokenize - + tokenize(" red green blue ", "\s+") @@ -5688,7 +5688,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:tokenize - + tokenize("1, 15, 24, 50", ",\s*") @@ -5700,7 +5700,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:tokenize - + tokenize("1,15,,24,50,", ",") @@ -5712,7 +5712,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:tokenize - + tokenize( @@ -5727,7 +5727,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:analyze-string - + analyze-string("The cat sat on the mat.", "\w+") @@ -5739,7 +5739,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:analyze-string - + analyze-string("08-12-03", "^(\d+)\-(\d+)\-(\d+)$") @@ -5753,7 +5753,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:analyze-string - + analyze-string("A1,C15,,D24, X50,", "([A-Z])([0-9]+)") @@ -5777,7 +5777,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:contains-token - + contains-token("red green blue ", "red") @@ -5789,7 +5789,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:contains-token - + contains-token(("red", "green", "blue"), " red ") @@ -5801,7 +5801,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:contains-token - + contains-token("red, green, blue", "red") @@ -5813,7 +5813,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:contains-token - + contains-token( @@ -5829,7 +5829,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:true - + true() @@ -5841,7 +5841,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:false - + false() @@ -5853,7 +5853,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:boolean - + let $abc := ("a", "b", "") @@ -5870,7 +5870,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:boolean - + let $abc := ("a", "b", "") @@ -5887,7 +5887,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:boolean - + let $abc := ("a", "b", "") @@ -5904,7 +5904,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:not - + not(true()) @@ -5916,7 +5916,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:not - + not(()) @@ -5928,7 +5928,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:not - + not("false") @@ -5940,7 +5940,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:seconds - + seconds(1) @@ -5952,7 +5952,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:seconds - + seconds(0.001) @@ -5964,7 +5964,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:seconds - + seconds(60) @@ -5976,7 +5976,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:seconds - + seconds(86400) @@ -5988,7 +5988,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:seconds - + seconds(-5400) @@ -6000,7 +6000,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:seconds - + xs:dateTime('1970-01-01T00:00:00Z') + 1706702400 * seconds(1) @@ -6012,7 +6012,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:seconds - + ( @@ -6027,7 +6027,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:years-from-duration - + years-from-duration( @@ -6041,7 +6041,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:years-from-duration - + years-from-duration( @@ -6055,7 +6055,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:years-from-duration - + years-from-duration( @@ -6069,7 +6069,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:years-from-duration - + years-from-duration( @@ -6083,7 +6083,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:months-from-duration - + months-from-duration( @@ -6097,7 +6097,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:months-from-duration - + months-from-duration( @@ -6111,7 +6111,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:months-from-duration - + months-from-duration( @@ -6125,7 +6125,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:months-from-duration - + months-from-duration( @@ -6139,7 +6139,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:days-from-duration - + days-from-duration( @@ -6153,7 +6153,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:days-from-duration - + days-from-duration( @@ -6167,7 +6167,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:days-from-duration - + days-from-duration( @@ -6181,7 +6181,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:days-from-duration - + days-from-duration( @@ -6195,7 +6195,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:hours-from-duration - + hours-from-duration( @@ -6209,7 +6209,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:hours-from-duration - + hours-from-duration( @@ -6223,7 +6223,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:hours-from-duration - + hours-from-duration( @@ -6237,7 +6237,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:hours-from-duration - + hours-from-duration( @@ -6251,7 +6251,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:hours-from-duration - + hours-from-duration( @@ -6265,7 +6265,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:minutes-from-duration - + minutes-from-duration( @@ -6279,7 +6279,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:minutes-from-duration - + minutes-from-duration( @@ -6293,7 +6293,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:minutes-from-duration - + minutes-from-duration( @@ -6307,7 +6307,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:seconds-from-duration - + seconds-from-duration( @@ -6321,7 +6321,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:seconds-from-duration - + seconds-from-duration( @@ -6335,7 +6335,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:seconds-from-duration - + seconds-from-duration( @@ -6349,7 +6349,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:seconds-from-duration - + seconds-from-duration( @@ -6363,7 +6363,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:dateTime - + dateTime( @@ -6378,7 +6378,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:dateTime - + dateTime( @@ -6393,7 +6393,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:unix-dateTime - + unix-dateTime() @@ -6405,7 +6405,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:unix-dateTime - + unix-dateTime(1) @@ -6417,7 +6417,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:unix-dateTime - + unix-dateTime(86400000) @@ -6429,7 +6429,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:year-from-dateTime - + year-from-dateTime( @@ -6443,7 +6443,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:year-from-dateTime - + year-from-dateTime( @@ -6457,7 +6457,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:year-from-dateTime - + year-from-dateTime( @@ -6471,7 +6471,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:year-from-dateTime - + year-from-dateTime( @@ -6485,7 +6485,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:year-from-dateTime - + year-from-dateTime( @@ -6499,7 +6499,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:year-from-dateTime - + year-from-dateTime( @@ -6513,7 +6513,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:year-from-dateTime - + year-from-dateTime( @@ -6527,7 +6527,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:month-from-dateTime - + month-from-dateTime( @@ -6541,7 +6541,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:month-from-dateTime - + month-from-dateTime( @@ -6555,7 +6555,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:month-from-dateTime - + month-from-dateTime( @@ -6572,7 +6572,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:month-from-dateTime - + month-from-dateTime( @@ -6586,7 +6586,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:month-from-dateTime - + month-from-dateTime( @@ -6600,7 +6600,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:day-from-dateTime - + day-from-dateTime( @@ -6614,7 +6614,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:day-from-dateTime - + day-from-dateTime( @@ -6628,7 +6628,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:day-from-dateTime - + day-from-dateTime( @@ -6645,7 +6645,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:day-from-dateTime - + day-from-dateTime( @@ -6659,7 +6659,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:day-from-dateTime - + day-from-dateTime( @@ -6673,7 +6673,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:hours-from-dateTime - + hours-from-dateTime( @@ -6687,7 +6687,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:hours-from-dateTime - + hours-from-dateTime( @@ -6701,7 +6701,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:hours-from-dateTime - + hours-from-dateTime( @@ -6718,7 +6718,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:hours-from-dateTime - + hours-from-dateTime( @@ -6732,7 +6732,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:hours-from-dateTime - + hours-from-dateTime( @@ -6746,7 +6746,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:hours-from-dateTime - + hours-from-dateTime( @@ -6760,7 +6760,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:hours-from-dateTime - + hours-from-dateTime( @@ -6774,7 +6774,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:minutes-from-dateTime - + minutes-from-dateTime( @@ -6788,7 +6788,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:minutes-from-dateTime - + minutes-from-dateTime( @@ -6802,7 +6802,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:minutes-from-dateTime - + minutes-from-dateTime( @@ -6816,7 +6816,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:minutes-from-dateTime - + minutes-from-dateTime( @@ -6830,7 +6830,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:seconds-from-dateTime - + seconds-from-dateTime( @@ -6844,7 +6844,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:seconds-from-dateTime - + seconds-from-dateTime( @@ -6858,7 +6858,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:seconds-from-dateTime - + seconds-from-dateTime( @@ -6872,7 +6872,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:timezone-from-dateTime - + timezone-from-dateTime( @@ -6886,7 +6886,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:timezone-from-dateTime - + timezone-from-dateTime( @@ -6900,7 +6900,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:timezone-from-dateTime - + timezone-from-dateTime( @@ -6914,7 +6914,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:timezone-from-dateTime - + timezone-from-dateTime( @@ -6928,7 +6928,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:timezone-from-dateTime - + timezone-from-dateTime( @@ -6942,7 +6942,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:year-from-date - + year-from-date( @@ -6956,7 +6956,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:year-from-date - + year-from-date( @@ -6970,7 +6970,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:year-from-date - + year-from-date( @@ -6984,7 +6984,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:month-from-date - + month-from-date( @@ -6998,7 +6998,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:month-from-date - + month-from-date( @@ -7012,7 +7012,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:day-from-date - + day-from-date( @@ -7026,7 +7026,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:day-from-date - + day-from-date( @@ -7040,7 +7040,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:timezone-from-date - + timezone-from-date( @@ -7054,7 +7054,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:timezone-from-date - + timezone-from-date( @@ -7068,7 +7068,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:hours-from-time - + hours-from-time(xs:time("11:23:00")) @@ -7080,7 +7080,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:hours-from-time - + hours-from-time(xs:time("21:23:00")) @@ -7092,7 +7092,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:hours-from-time - + hours-from-time(xs:time("01:23:00+05:00")) @@ -7104,7 +7104,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:hours-from-time - + hours-from-time( @@ -7121,7 +7121,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:hours-from-time - + hours-from-time(xs:time("24:00:00")) @@ -7133,7 +7133,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:minutes-from-time - + minutes-from-time(xs:time("13:00:00Z")) @@ -7145,7 +7145,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:seconds-from-time - + seconds-from-time(xs:time("13:20:10.5")) @@ -7157,7 +7157,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:timezone-from-time - + timezone-from-time(xs:time("13:20:00-05:00")) @@ -7169,7 +7169,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:timezone-from-time - + timezone-from-time(xs:time("13:20:00")) @@ -7181,7 +7181,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:adjust-dateTime-to-timezone - + let $tz-10 := xs:dayTimeDuration("-PT10H") @@ -7200,7 +7200,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:adjust-dateTime-to-timezone - + let $tz-10 := xs:dayTimeDuration("-PT10H") @@ -7220,7 +7220,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:adjust-dateTime-to-timezone - + let $tz-10 := xs:dayTimeDuration("-PT10H") @@ -7240,7 +7240,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:adjust-dateTime-to-timezone - + adjust-dateTime-to-timezone( @@ -7255,7 +7255,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:adjust-dateTime-to-timezone - + adjust-dateTime-to-timezone( @@ -7270,7 +7270,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:adjust-dateTime-to-timezone - + adjust-dateTime-to-timezone( @@ -7285,7 +7285,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:adjust-dateTime-to-timezone - + adjust-dateTime-to-timezone( @@ -7300,7 +7300,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:adjust-date-to-timezone - + let $tz-10 := xs:dayTimeDuration("-PT10H") @@ -7320,7 +7320,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:adjust-date-to-timezone - + let $tz-10 := xs:dayTimeDuration("-PT10H") @@ -7340,7 +7340,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:adjust-date-to-timezone - + adjust-date-to-timezone( @@ -7355,7 +7355,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:adjust-date-to-timezone - + adjust-date-to-timezone( @@ -7370,7 +7370,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:adjust-time-to-timezone - + adjust-time-to-timezone( @@ -7384,7 +7384,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:adjust-time-to-timezone - + let $tz-10 := xs:dayTimeDuration("-PT10H") @@ -7404,7 +7404,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:adjust-time-to-timezone - + let $tz-10 := xs:dayTimeDuration("-PT10H") @@ -7424,7 +7424,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:adjust-time-to-timezone - + adjust-time-to-timezone( @@ -7439,7 +7439,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:adjust-time-to-timezone - + adjust-time-to-timezone( @@ -7454,7 +7454,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:adjust-time-to-timezone - + adjust-time-to-timezone( @@ -7469,7 +7469,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:parse-ietf-date - + parse-ietf-date("Wed, 06 Jun 1994 07:29:35 GMT") @@ -7481,7 +7481,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:parse-ietf-date - + parse-ietf-date("Wed, 6 Jun 94 07:29:35 GMT") @@ -7493,7 +7493,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:parse-ietf-date - + parse-ietf-date("Wed Jun 06 11:54:45 EST 2013") @@ -7505,7 +7505,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:parse-ietf-date - + parse-ietf-date("Sunday, 06-Nov-94 08:49:37 GMT") @@ -7517,7 +7517,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:parse-ietf-date - + parse-ietf-date("Wed, 6 Jun 94 07:29:35 +0500") @@ -7529,7 +7529,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:expanded-QName - + QName("http://example.com/", "person") @@ -7542,7 +7542,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:expanded-QName - + QName("", "person") @@ -7555,7 +7555,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:local-name-from-QName - + local-name-from-QName( @@ -7569,7 +7569,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:namespace-uri-from-QName - + namespace-uri-from-QName( @@ -7583,7 +7583,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:namespace-uri-for-prefix - + @@ -7604,7 +7604,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:namespace-uri-for-prefix - + @@ -7625,7 +7625,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:namespace-uri-for-prefix - + @@ -7646,7 +7646,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:namespace-uri-for-prefix - + @@ -7667,7 +7667,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:in-scope-namespaces - + @@ -7692,7 +7692,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:name - + @@ -7716,7 +7716,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:name - + @@ -7740,7 +7740,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:name - + @@ -7764,7 +7764,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:name - + @@ -7788,7 +7788,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:name - + @@ -7812,7 +7812,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:name - + @@ -7836,7 +7836,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:name - + @@ -7860,7 +7860,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:local-name - + @@ -7884,7 +7884,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:local-name - + @@ -7908,7 +7908,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:local-name - + @@ -7932,7 +7932,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:local-name - + @@ -7956,7 +7956,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:local-name - + @@ -7980,7 +7980,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:local-name - + @@ -8004,7 +8004,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:local-name - + @@ -8028,7 +8028,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:namespace-uri - + @@ -8052,7 +8052,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:namespace-uri - + @@ -8076,7 +8076,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:namespace-uri - + @@ -8100,7 +8100,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:namespace-uri - + @@ -8124,7 +8124,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:namespace-uri - + @@ -8148,7 +8148,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:namespace-uri - + @@ -8172,7 +8172,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:namespace-uri - + @@ -8196,7 +8196,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:number - + number(12) @@ -8208,7 +8208,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:number - + number('12') @@ -8220,7 +8220,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:number - + number('INF') @@ -8232,7 +8232,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:number - + number('NaN') @@ -8244,7 +8244,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:number - + number('non-numeric') @@ -8256,7 +8256,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:number - + @@ -8274,7 +8274,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:number - + @@ -8292,7 +8292,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:number - + @@ -8310,7 +8310,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:number - + ("10", "11", "12") ! number() @@ -8322,7 +8322,7 @@ Tak, tak, tak! - da kommen sie. Test case for fn:path - + @@ -8347,7 +8347,7 @@ Himmlische, dein Heiligtum. Test case for fn:path - + @@ -8372,7 +8372,7 @@ Himmlische, dein Heiligtum. Test case for fn:path - + @@ -8397,7 +8397,7 @@ Himmlische, dein Heiligtum. Test case for fn:path - + @@ -8422,7 +8422,7 @@ Himmlische, dein Heiligtum. Test case for fn:path - + @@ -8447,7 +8447,7 @@ Himmlische, dein Heiligtum. Test case for fn:path - + @@ -8473,7 +8473,7 @@ Himmlische, dein Heiligtum. Test case for fn:path - + @@ -8498,7 +8498,7 @@ Himmlische, dein Heiligtum. Test case for fn:path - + @@ -8523,7 +8523,7 @@ Himmlische, dein Heiligtum. Test case for fn:path - + @@ -8551,7 +8551,7 @@ Himmlische, dein Heiligtum. Test case for fn:path - + @@ -8580,7 +8580,7 @@ Himmlische, dein Heiligtum. Test case for fn:path - + @@ -8604,7 +8604,7 @@ Himmlische, dein Heiligtum. Test case for fn:path - + @@ -8628,7 +8628,7 @@ Himmlische, dein Heiligtum. Test case for fn:path - + @@ -8652,7 +8652,7 @@ Himmlische, dein Heiligtum. Test case for fn:path - + @@ -8679,7 +8679,7 @@ Himmlische, dein Heiligtum. Test case for fn:has-children - + @@ -8703,7 +8703,7 @@ Himmlische, dein Heiligtum. Test case for fn:has-children - + @@ -8727,7 +8727,7 @@ Himmlische, dein Heiligtum. Test case for fn:has-children - + @@ -8751,7 +8751,7 @@ Himmlische, dein Heiligtum. Test case for fn:has-children - + @@ -8775,7 +8775,7 @@ Himmlische, dein Heiligtum. Test case for fn:has-children - + @@ -8799,7 +8799,7 @@ Himmlische, dein Heiligtum. Test case for fn:has-children - + @@ -8823,7 +8823,7 @@ Himmlische, dein Heiligtum. Test case for fn:has-children - + @@ -8847,7 +8847,7 @@ Himmlische, dein Heiligtum. Test case for fn:distinct-ordered-nodes - + let $x := parse-xml('<doc><a/><b/><c/><d/><c/><e/></doc>') @@ -8860,7 +8860,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:index-of - + index-of((10, 20, 30, 40), 35) @@ -8872,7 +8872,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:index-of - + index-of((10, 20, 30, 30, 20, 10), 20) @@ -8884,7 +8884,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:index-of - + index-of( @@ -8899,7 +8899,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:index-of - + index-of( @@ -8915,7 +8915,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:index-of - + index-of(current-date(), 23) @@ -8927,7 +8927,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:index-of - + index-of([ 1, [ 5, 6 ], [ 6, 7 ] ], 6) @@ -8939,7 +8939,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:empty - + empty((1, 2, 3)[10]) @@ -8951,7 +8951,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:empty - + empty(remove(("hello", "world"), 1)) @@ -8963,7 +8963,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:empty - + empty([]) @@ -8975,7 +8975,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:empty - + empty({}) @@ -8987,7 +8987,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:empty - + empty("") @@ -8999,7 +8999,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:siblings - + @@ -9017,7 +9017,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:siblings - + @@ -9035,7 +9035,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:siblings - + @@ -9053,7 +9053,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:exists - + exists(remove(("hello"), 1)) @@ -9065,7 +9065,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:exists - + exists(remove(("hello", "world"), 1)) @@ -9077,7 +9077,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:exists - + exists([]) @@ -9089,7 +9089,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:exists - + exists({}) @@ -9101,7 +9101,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:exists - + exists("") @@ -9113,7 +9113,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:distinct-values - + distinct-values((1, 2.0, 3, 2)) @@ -9125,7 +9125,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:distinct-values - + distinct-values(( @@ -9141,7 +9141,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:duplicate-values - + duplicate-values((1, 2, 3, 1.0, 1e0)) @@ -9153,7 +9153,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:duplicate-values - + duplicate-values(1 to 100) @@ -9165,7 +9165,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:duplicate-values - + @@ -9178,7 +9178,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:identity - + identity(0) @@ -9190,7 +9190,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:identity - + identity(1 to 10) @@ -9202,7 +9202,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:identity - + parse-xml('<a/>') ! (identity(/) is /) @@ -9214,7 +9214,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:identity - + identity(()) @@ -9226,7 +9226,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:insert-before - + let $abc := ("a", "b", "c") @@ -9243,7 +9243,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:insert-before - + let $abc := ("a", "b", "c") @@ -9260,7 +9260,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:insert-before - + let $abc := ("a", "b", "c") @@ -9277,7 +9277,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:insert-before - + let $abc := ("a", "b", "c") @@ -9294,7 +9294,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:insert-before - + let $abc := ("a", "b", "c") @@ -9311,7 +9311,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:remove - + let $abc := ("a", "b", "c") @@ -9328,7 +9328,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:remove - + let $abc := ("a", "b", "c") @@ -9345,7 +9345,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:remove - + let $abc := ("a", "b", "c") @@ -9362,7 +9362,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:remove - + let $abc := ("a", "b", "c") @@ -9379,7 +9379,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:remove - + let $abc := ("a", "b", "c") @@ -9396,7 +9396,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:remove - + let $abc := ("a", "b", "c") @@ -9413,7 +9413,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:head - + head(1 to 5) @@ -9425,7 +9425,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:head - + head(("a", "b", "c")) @@ -9437,7 +9437,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:head - + head(()) @@ -9449,7 +9449,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:head - + head([ 1, 2, 3 ]) @@ -9461,7 +9461,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:tail - + tail(1 to 5) @@ -9473,7 +9473,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:tail - + tail(("a", "b", "c")) @@ -9485,7 +9485,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:tail - + tail("a") @@ -9497,7 +9497,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:tail - + tail(()) @@ -9509,7 +9509,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:tail - + tail([ 1, 2, 3 ]) @@ -9521,7 +9521,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:trunk - + trunk(1 to 5) @@ -9533,7 +9533,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:trunk - + trunk(("a", "b", "c")) @@ -9545,7 +9545,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:trunk - + trunk("a") @@ -9557,7 +9557,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:trunk - + trunk(()) @@ -9569,7 +9569,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:trunk - + trunk([ 1, 2, 3 ]) @@ -9581,7 +9581,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:replicate - + replicate(0, 6) @@ -9593,7 +9593,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:replicate - + replicate(("A", "B", "C"), 3) @@ -9605,7 +9605,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:replicate - + replicate((), 5) @@ -9617,7 +9617,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:replicate - + replicate(("A", "B", "C"), 1) @@ -9629,7 +9629,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:replicate - + replicate(("A", "B", "C"), 0) @@ -9641,7 +9641,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:sequence-join - + sequence-join(1 to 5, "|") @@ -9653,7 +9653,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:sequence-join - + sequence-join((), "|") @@ -9665,7 +9665,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:sequence-join - + sequence-join("A", "|") @@ -9677,7 +9677,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:sequence-join - + sequence-join(1 to 3, ("⅓", "⅔")) @@ -9689,7 +9689,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:foot - + foot(1 to 5) @@ -9701,7 +9701,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:foot - + foot(()) @@ -9713,7 +9713,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:reverse - + let $abc := ("a", "b", "c") @@ -9730,7 +9730,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:reverse - + reverse(("hello")) @@ -9742,7 +9742,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:reverse - + reverse(()) @@ -9754,7 +9754,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:reverse - + reverse([ 1, 2, 3 ]) @@ -9766,7 +9766,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:reverse - + reverse(([ 1, 2, 3 ], [ 4, 5, 6 ])) @@ -9778,7 +9778,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:subsequence - + let $seq := ("item1", "item2", "item3", "item4", "item5") @@ -9795,7 +9795,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:subsequence - + let $seq := ("item1", "item2", "item3", "item4", "item5") @@ -9812,7 +9812,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:subsequence-where - + let $names := @@ -9830,7 +9830,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:subsequence-where - + let $names := @@ -9848,7 +9848,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:subsequence-where - + let $names := @@ -9866,7 +9866,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:subsequence-where - + let $names := @@ -9884,7 +9884,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:subsequence-where - + let $names := @@ -9905,7 +9905,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:subsequence-where - + let $names := @@ -9923,7 +9923,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:subsequence-where - + let $names := @@ -9941,7 +9941,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:subsequence-where - + let $names := @@ -9960,7 +9960,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:subsequence-where - + let $names := @@ -9981,7 +9981,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:subsequence-where - + let $names := @@ -10002,7 +10002,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:items-at - + items-at(11 to 20, 4) @@ -10014,7 +10014,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:items-at - + items-at(11 to 20, 4 to 6) @@ -10026,7 +10026,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:items-at - + items-at(11 to 20, (7, 3)) @@ -10038,7 +10038,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:items-at - + items-at(11 to 20, index-of(("a", "b", "c"), "b")) @@ -10050,7 +10050,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:items-at - + items-at(characters("quintessential"), (4, 8, 3)) @@ -10062,7 +10062,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:items-at - + items-at(characters("quintessential"), (4, 8, 1, 1)) @@ -10074,7 +10074,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:items-at - + items-at((), 832) @@ -10086,7 +10086,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:items-at - + items-at((), ()) @@ -10098,7 +10098,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10115,7 +10115,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10132,7 +10132,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10149,7 +10149,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10166,7 +10166,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10183,7 +10183,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10200,7 +10200,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10217,7 +10217,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10234,7 +10234,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10251,7 +10251,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10268,7 +10268,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10285,7 +10285,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10302,7 +10302,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10319,7 +10319,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10336,7 +10336,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10353,7 +10353,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10370,7 +10370,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10387,7 +10387,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10404,7 +10404,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10421,7 +10421,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + let $in := ('a', 'b', 'c', 'd', 'e') @@ -10438,7 +10438,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:slice - + slice((1 to 5), step := 2) @@ -10450,7 +10450,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:starts-with-subsequence - + starts-with-subsequence((), ()) @@ -10462,7 +10462,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:starts-with-subsequence - + starts-with-subsequence(1 to 10, 1 to 5) @@ -10474,7 +10474,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:starts-with-subsequence - + starts-with-subsequence(1 to 10, ()) @@ -10486,7 +10486,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:starts-with-subsequence - + starts-with-subsequence(1 to 10, 1 to 10) @@ -10498,7 +10498,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:starts-with-subsequence - + starts-with-subsequence(1 to 10, 1) @@ -10510,7 +10510,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:starts-with-subsequence - + starts-with-subsequence( @@ -10526,7 +10526,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:starts-with-subsequence - + starts-with-subsequence( @@ -10548,7 +10548,7 @@ return distinct-ordered-nodes(($x//c, $x//b, $x//a, $x//b)) ! name() Test case for fn:starts-with-subsequence - + let $p := parse-xml("<doc><chap><p/><p/></chap></doc>")//p[2] @@ -10565,7 +10565,7 @@ return starts-with-subsequence( Test case for fn:starts-with-subsequence - + starts-with-subsequence(10 to 20, 1 to 5, op("gt")) @@ -10577,7 +10577,7 @@ return starts-with-subsequence( Test case for fn:starts-with-subsequence - + starts-with-subsequence( @@ -10593,7 +10593,7 @@ return starts-with-subsequence( Test case for fn:starts-with-subsequence - + starts-with-subsequence( @@ -10609,7 +10609,7 @@ return starts-with-subsequence( Test case for fn:ends-with-subsequence - + ends-with-subsequence((), ()) @@ -10621,7 +10621,7 @@ return starts-with-subsequence( Test case for fn:ends-with-subsequence - + ends-with-subsequence(1 to 10, 5 to 10) @@ -10633,7 +10633,7 @@ return starts-with-subsequence( Test case for fn:ends-with-subsequence - + ends-with-subsequence(1 to 10, ()) @@ -10645,7 +10645,7 @@ return starts-with-subsequence( Test case for fn:ends-with-subsequence - + ends-with-subsequence(1 to 10, 1 to 10) @@ -10657,7 +10657,7 @@ return starts-with-subsequence( Test case for fn:ends-with-subsequence - + ends-with-subsequence(1 to 10, 10) @@ -10669,7 +10669,7 @@ return starts-with-subsequence( Test case for fn:ends-with-subsequence - + ends-with-subsequence( @@ -10685,7 +10685,7 @@ return starts-with-subsequence( Test case for fn:ends-with-subsequence - + ends-with-subsequence( @@ -10707,7 +10707,7 @@ return starts-with-subsequence( Test case for fn:ends-with-subsequence - + let $p := parse-xml("<doc><chap><p/><p/></chap></doc>")//p[2] @@ -10724,7 +10724,7 @@ return ends-with-subsequence( Test case for fn:ends-with-subsequence - + ends-with-subsequence(10 to 20, 1 to 5, op("gt")) @@ -10736,7 +10736,7 @@ return ends-with-subsequence( Test case for fn:ends-with-subsequence - + ends-with-subsequence( @@ -10752,7 +10752,7 @@ return ends-with-subsequence( Test case for fn:ends-with-subsequence - + ends-with-subsequence( @@ -10768,7 +10768,7 @@ return ends-with-subsequence( Test case for fn:contains-subsequence - + contains-subsequence((), ()) @@ -10780,7 +10780,7 @@ return ends-with-subsequence( Test case for fn:contains-subsequence - + contains-subsequence(1 to 10, 3 to 6) @@ -10792,7 +10792,7 @@ return ends-with-subsequence( Test case for fn:contains-subsequence - + contains-subsequence(1 to 10, (2, 4, 6)) @@ -10804,7 +10804,7 @@ return ends-with-subsequence( Test case for fn:contains-subsequence - + contains-subsequence(1 to 10, ()) @@ -10816,7 +10816,7 @@ return ends-with-subsequence( Test case for fn:contains-subsequence - + contains-subsequence(1 to 10, 1 to 10) @@ -10828,7 +10828,7 @@ return ends-with-subsequence( Test case for fn:contains-subsequence - + contains-subsequence(1 to 10, 5) @@ -10840,7 +10840,7 @@ return ends-with-subsequence( Test case for fn:contains-subsequence - + contains-subsequence( @@ -10856,7 +10856,7 @@ return ends-with-subsequence( Test case for fn:contains-subsequence - + contains-subsequence( @@ -10878,7 +10878,7 @@ return ends-with-subsequence( Test case for fn:contains-subsequence - + let $chap := parse-xml("<doc><chap><h1/><p/><p/><footnote/></chap></doc>")//chap @@ -10895,7 +10895,7 @@ return contains-subsequence( Test case for fn:contains-subsequence - + contains-subsequence(10 to 20, (5, 3, 1), op("gt")) @@ -10907,7 +10907,7 @@ return contains-subsequence( Test case for fn:contains-subsequence - + contains-subsequence( @@ -10922,7 +10922,7 @@ return contains-subsequence( Test case for fn:contains-subsequence - + contains-subsequence( @@ -10938,7 +10938,7 @@ return contains-subsequence( Test case for fn:unordered - + unordered((1, 2, 3, 4, 5)) @@ -10950,7 +10950,7 @@ return contains-subsequence( Test case for fn:void - + void(1 to 1000000) @@ -10962,7 +10962,7 @@ return contains-subsequence( Test case for fn:void - + array:get(array { 1, 2, 3 }, 4, void#1) @@ -10974,7 +10974,7 @@ return contains-subsequence( Test case for fn:void - + for $f in (identity#1, void#1) return $f(123) @@ -10986,7 +10986,7 @@ return contains-subsequence( Test case for fn:void - + let $mapping := () @@ -10999,7 +10999,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + @@ -11021,7 +11021,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + @@ -11043,7 +11043,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + @@ -11065,7 +11065,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + @@ -11087,7 +11087,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + let $at := @@ -11112,7 +11112,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + deep-equal([ 1, 2, 3], [ 1, 2, 3 ]) @@ -11124,7 +11124,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + deep-equal((1, 2, 3), [ 1, 2, 3 ]) @@ -11136,7 +11136,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + deep-equal( @@ -11151,7 +11151,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + deep-equal( @@ -11167,7 +11167,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + deep-equal( @@ -11183,7 +11183,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + deep-equal( @@ -11198,7 +11198,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + deep-equal( @@ -11214,7 +11214,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + deep-equal( @@ -11230,7 +11230,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + deep-equal( @@ -11245,7 +11245,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + deep-equal( @@ -11261,7 +11261,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + deep-equal( @@ -11276,7 +11276,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + deep-equal( @@ -11292,7 +11292,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + deep-equal( @@ -11312,7 +11312,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:deep-equal - + deep-equal( @@ -11330,7 +11330,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:count - + let $tree := @@ -11347,7 +11347,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:count - + let $seq3 := () @@ -11364,7 +11364,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:count - + let $seq2 := (98.5, 98.3, 98.9) @@ -11381,7 +11381,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:count - + let $seq2 := (98.5, 98.3, 98.9) @@ -11398,7 +11398,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:count - + count([]) @@ -11410,7 +11410,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:count - + count([ 1, 2, 3 ]) @@ -11422,7 +11422,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:avg - + let $seq3 := (3, 4, 5) @@ -11439,7 +11439,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:avg - + let $d1 := xs:yearMonthDuration("P20Y") @@ -11461,7 +11461,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:avg - + avg(()) @@ -11473,7 +11473,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:avg - + avg((xs:float('INF'), xs:float('-INF'))) @@ -11485,7 +11485,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:avg - + let $seq3 := (3, 4, 5) @@ -11502,7 +11502,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:max - + max((3, 2, 1)) @@ -11514,7 +11514,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:max - + max([ 3, 2, 1 ]) @@ -11526,7 +11526,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:max - + max(( @@ -11542,7 +11542,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:max - + max(( @@ -11557,7 +11557,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:max - + max(( @@ -11572,7 +11572,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:max - + max(("a", "b", "c")) @@ -11584,7 +11584,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:min - + min((3, 4, 5)) @@ -11596,7 +11596,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:min - + min([ 3, 4, 5 ]) @@ -11608,7 +11608,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:min - + min(( @@ -11624,7 +11624,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:min - + min(( @@ -11639,7 +11639,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:min - + min(( @@ -11654,7 +11654,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:min - + min(("a", "b", "c")) @@ -11666,7 +11666,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:sum - + let $d1 := xs:yearMonthDuration("P20Y") @@ -11688,7 +11688,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:sum - + let $d1 := xs:yearMonthDuration("P20Y") @@ -11718,7 +11718,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:sum - + let $seq3 := (3, 4, 5) @@ -11735,7 +11735,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:sum - + sum(()) @@ -11747,7 +11747,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:sum - + sum((),()) @@ -11759,7 +11759,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:sum - + sum((1 to 100)[. lt 0], 0) @@ -11771,7 +11771,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:sum - + let $d1 := xs:yearMonthDuration("P20Y") @@ -11793,7 +11793,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:sum - + sum([ 1, 2, 3 ]) @@ -11805,7 +11805,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:sum - + sum([ [ 1, 2 ], [ 3, 4 ] ]) @@ -11817,7 +11817,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:id - + @@ -11847,7 +11847,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:id - + @@ -11877,7 +11877,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:element-with-id - + @@ -11908,7 +11908,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:element-with-id - + @@ -11939,7 +11939,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:idref - + @@ -11981,7 +11981,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:idref - + @@ -12023,7 +12023,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:serialize - + @@ -12051,7 +12051,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:serialize - + @@ -12073,7 +12073,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:serialize - + serialize({ "a": "AB", "b": "BC" }, { "method": "adaptive" }) @@ -12085,7 +12085,7 @@ return for-each(1 to 10, $mapping otherwise void#0) Test case for fn:serialize - + @@ -12102,7 +12102,7 @@ serialize( Test case for fn:last - + (1 to 20)[last() - 1] @@ -12114,7 +12114,7 @@ serialize( Test case for fn:function-lookup - + function-lookup(xs:QName('fn:substring'), 2)('abcd', 2) @@ -12126,7 +12126,7 @@ serialize( Test case for fn:function-name - + function-name(substring#2) @@ -12138,7 +12138,7 @@ serialize( Test case for fn:function-name - + function-name(fn($node) { count($node/*) }) @@ -12150,7 +12150,7 @@ serialize( Test case for fn:function-arity - + function-arity(substring#2) @@ -12162,7 +12162,7 @@ serialize( Test case for fn:function-arity - + function-arity(fn($node) { name($node) }) @@ -12174,7 +12174,7 @@ serialize( Test case for fn:function-arity - + let $initial := substring(?, 1, 1) @@ -12187,7 +12187,7 @@ return function-arity($initial) Test case for fn:function-annotations - + function-annotations(true#0) @@ -12199,7 +12199,7 @@ return function-arity($initial) Test case for fn:function-annotations - + @@ -12213,7 +12213,7 @@ function-annotations(local:inc#1) Test case for fn:function-annotations - + @@ -12232,7 +12232,7 @@ return map:of-pairs($ann) Test case for fn:for-each - + for-each(1 to 5, fn($a) { $a * $a }) @@ -12244,7 +12244,7 @@ return map:of-pairs($ann) Test case for fn:for-each - + for-each( @@ -12259,7 +12259,7 @@ return map:of-pairs($ann) Test case for fn:for-each - + for-each(("23", "29"), xs:int#1) @@ -12271,7 +12271,7 @@ return map:of-pairs($ann) Test case for fn:for-each - + for-each( @@ -12286,7 +12286,7 @@ return map:of-pairs($ann) Test case for fn:filter - + filter(1 to 10, fn($a) { $a mod 2 = 0 }) @@ -12298,7 +12298,7 @@ return map:of-pairs($ann) Test case for fn:filter - + filter(parse-xml('<doc><a id="2"/><a/></doc>')//a, fn{@id eq "2"}) @@ -12310,7 +12310,7 @@ return map:of-pairs($ann) Test case for fn:filter - + filter((), lang("en", ?)) @@ -12322,7 +12322,7 @@ return map:of-pairs($ann) Test case for fn:filter - + let $sequence := (1, 1, 2, 3, 4, 4, 5) @@ -12338,7 +12338,7 @@ return filter( Test case for fn:fold-left - + fold-left( @@ -12354,7 +12354,7 @@ return filter( Test case for fn:fold-left - + fold-left( @@ -12370,7 +12370,7 @@ return filter( Test case for fn:fold-left - + fold-left( @@ -12386,7 +12386,7 @@ return filter( Test case for fn:fold-left - + fold-left( @@ -12402,7 +12402,7 @@ return filter( Test case for fn:fold-left - + fold-left( @@ -12418,7 +12418,7 @@ return filter( Test case for fn:fold-left - + fold-left( @@ -12434,7 +12434,7 @@ return filter( Test case for fn:fold-left - + fold-left( @@ -12450,7 +12450,7 @@ return filter( Test case for fn:fold-left - + fold-left( @@ -12466,7 +12466,7 @@ return filter( Test case for fn:fold-left - + @@ -12486,7 +12486,7 @@ return fold-left($input, (), Test case for fn:fold-right - + fold-right( @@ -12502,7 +12502,7 @@ return fold-left($input, (), Test case for fn:fold-right - + fold-right( @@ -12518,7 +12518,7 @@ return fold-left($input, (), Test case for fn:fold-right - + fold-right( @@ -12534,7 +12534,7 @@ return fold-left($input, (), Test case for fn:fold-right - + @@ -12556,7 +12556,7 @@ return fold-right( Test case for fn:chain - + let $incr := @@ -12582,7 +12582,7 @@ chain((2, 3), ($double-all, op("+"), $incr(3))) Test case for fn:chain - + let $incr := @@ -12608,7 +12608,7 @@ chain((2, 3), ($double-all, sum#1, $incr(3))) Test case for fn:chain - + let $incr := @@ -12629,7 +12629,7 @@ chain((2, 3), (op("+"), $incr(3))) Test case for fn:chain - + let $incr := @@ -12650,7 +12650,7 @@ chain((2, 3), (sum#1, $incr(3))) Test case for fn:chain - + let $incr := @@ -12671,7 +12671,7 @@ chain([ 1, (), 2, 3 ], (array:size#1, $incr(3))) Test case for fn:chain - + let $incr := @@ -12692,7 +12692,7 @@ chain((1, 2, 3), (count#1, $incr(3))) Test case for fn:chain - + let $incr := @@ -12713,7 +12713,7 @@ chain([ 1, 2, 3 ], (count#1, $incr(3))) Test case for fn:chain - + let $double-all := @@ -12739,7 +12739,7 @@ chain(5, ($range, $double-all, sum#1)) Test case for fn:chain - + let $double-all := @@ -12765,7 +12765,7 @@ chain(2, ($range, $double-all, op("*"))) Test case for fn:chain - + let $count-all := @@ -12786,7 +12786,7 @@ chain([ (1, 2, 3), () ], ($count-all, op("+"))) Test case for fn:chain - + let $count-all := @@ -12807,7 +12807,7 @@ chain([ (1, 2, 3), (), (5, 6) ], ($count-all, sum#1)) Test case for fn:chain - + let $count-all := @@ -12833,7 +12833,7 @@ chain([ (1, 2, 3), (), (5, 6) ], ($count-all, $product3)) Test case for fn:chain - + @@ -12849,7 +12849,7 @@ chain("abra cadabra", (tokenize#2(?, " "), string-join#2(?, "+"))) Test case for fn:chain - + let $append-all := @@ -12879,7 +12879,7 @@ chain("The cat sat on the mat", ( Test case for fn:chain - + @@ -12905,7 +12905,7 @@ chain(( Test case for fn:chain - + @@ -12921,7 +12921,7 @@ chain((), true#0) Test case for fn:chain - + @@ -12937,7 +12937,7 @@ chain(3, (array:append([1], ?), op("+"))) Test case for fn:chain - + let $product3 := @@ -12958,7 +12958,7 @@ chain((1, 2, 3), ($product3, $product3)) Test case for fn:chain - + let $product3 := @@ -12979,7 +12979,7 @@ chain((1, 2, 3, 4), $product3) Test case for fn:while-do - + while-do(2, fn { . <= 100 }, fn { . * . }) @@ -12991,7 +12991,7 @@ chain((1, 2, 3, 4), $product3) Test case for fn:while-do - + @@ -13008,7 +13008,7 @@ while-do( Test case for fn:while-do - + let $input := (0 to 4, 6 to 10) @@ -13025,7 +13025,7 @@ return while-do( Test case for fn:while-do - + @@ -13042,7 +13042,7 @@ while-do( Test case for fn:while-do - + @@ -13061,7 +13061,7 @@ return while-do( Test case for fn:do-until - + @@ -13079,7 +13079,7 @@ do-until( Test case for fn:do-until - + @@ -13097,7 +13097,7 @@ do-until( Test case for fn:for-each-pair - + for-each-pair( @@ -13113,7 +13113,7 @@ do-until( Test case for fn:for-each-pair - + for-each-pair( @@ -13129,7 +13129,7 @@ do-until( Test case for fn:for-each-pair - + let $s := 1 to 8 @@ -13142,7 +13142,7 @@ return for-each-pair($s, tail($s), fn($a, $b) { $a * $b }) Test case for fn:for-each-pair - + @@ -13162,7 +13162,7 @@ for-each-pair( Test case for fn:sort - + sort((1, 4, 6, 5, 3)) @@ -13174,7 +13174,7 @@ for-each-pair( Test case for fn:sort - + sort((1, 4, 4e0, 6, 5, 3), orders := "descending") @@ -13186,7 +13186,7 @@ for-each-pair( Test case for fn:sort - + sort((1, -2, 5, 10, -10, 10, 8), (), abs#1) @@ -13198,7 +13198,7 @@ for-each-pair( Test case for fn:sort-with - + sort-with((1, 4, 6, 5, 3), compare#2) @@ -13210,7 +13210,7 @@ for-each-pair( Test case for fn:sort-with - + sort-with((1, 4, 6, 5, 3), op('-')) @@ -13222,7 +13222,7 @@ for-each-pair( Test case for fn:sort-with - + sort-with((1, 4, 4e0, 6, 5, 3), fn($a, $b) { compare($b, $a) }) @@ -13234,7 +13234,7 @@ for-each-pair( Test case for fn:sort-with - + sort-with( @@ -13249,7 +13249,7 @@ for-each-pair( Test case for fn:sort-with - + @@ -13273,7 +13273,7 @@ return sort-with($persons/person, ( Test case for fn:transitive-closure - + @@ -13313,7 +13313,7 @@ return sort-with($persons/person, ( Test case for fn:transitive-closure - + @@ -13345,7 +13345,7 @@ return sort-with($persons/person, ( Test case for fn:apply - + apply(concat#3, [ "a", "b", "c" ]) @@ -13357,7 +13357,7 @@ return sort-with($persons/person, ( Test case for fn:op - + for-each-pair(21 to 25, 1 to 5, op("+")) @@ -13369,7 +13369,7 @@ return sort-with($persons/person, ( Test case for fn:op - + for-each-pair(21 to 25, 1 to 5, op("-")) @@ -13381,7 +13381,7 @@ return sort-with($persons/person, ( Test case for fn:atomic-type-annotation - + atomic-type-annotation(23) ? name @@ -13393,7 +13393,7 @@ return sort-with($persons/person, ( Test case for fn:atomic-type-annotation - + let $x := 23, $y := 93.7 @@ -13406,7 +13406,7 @@ return atomic-type-annotation($x) ? matches($y) Test case for fn:atomic-type-annotation - + atomic-type-annotation(xs:numeric('23.2')) ? name @@ -13418,7 +13418,7 @@ return atomic-type-annotation($x) ? matches($y) Test case for fn:node-type-annotation - + let $e := parse-xml("<e/>")/* @@ -13431,7 +13431,7 @@ return node-type-annotation($e) ? name Test case for fn:node-type-annotation - + let $a := parse-xml("<e a='3'/>")//@a @@ -13444,7 +13444,7 @@ return node-type-annotation($a) ? name Test case for fn:node-type-annotation - + @@ -13459,7 +13459,7 @@ return node-type-annotation($x/*) ? name Test case for fn:node-type-annotation - + @@ -13480,7 +13480,7 @@ xs:QName('xs:double') Test case for fn:schema-type - + schema-type(xs:QName('xs:integer')) ? name @@ -13492,7 +13492,7 @@ xs:QName('xs:double') Test case for fn:schema-type - + schema-type(xs:QName('xs:long')) ? primitive-type() ? name @@ -13504,7 +13504,7 @@ xs:QName('xs:double') Test case for fn:schema-type - + schema-type(xs:QName('xs:positiveInteger')) ? base-type() ? name @@ -13516,7 +13516,7 @@ xs:QName('xs:double') Test case for fn:schema-type - + schema-type(xs:QName('xs:integer')) ? matches(23) @@ -13528,7 +13528,7 @@ xs:QName('xs:double') Test case for fn:schema-type - + schema-type(xs:QName('xs:numeric')) ? variety @@ -13540,7 +13540,7 @@ xs:QName('xs:double') Test case for fn:schema-type - + schema-type(xs:QName('xs:numeric')) ? members() ? name @@ -13552,7 +13552,7 @@ xs:QName('xs:double') Test case for fn:atomic-equal - + atomic-equal(3, 3) @@ -13564,7 +13564,7 @@ xs:QName('xs:double') Test case for fn:atomic-equal - + atomic-equal(3, 3e0) @@ -13576,7 +13576,7 @@ xs:QName('xs:double') Test case for fn:atomic-equal - + atomic-equal(3.1, 3.1e0) @@ -13588,7 +13588,7 @@ xs:QName('xs:double') Test case for fn:atomic-equal - + atomic-equal(xs:double('NaN'), xs:float('NaN')) @@ -13600,7 +13600,7 @@ xs:QName('xs:double') Test case for fn:atomic-equal - + atomic-equal("a", "a") @@ -13612,7 +13612,7 @@ xs:QName('xs:double') Test case for fn:atomic-equal - + atomic-equal("a", "A") @@ -13624,7 +13624,7 @@ xs:QName('xs:double') Test case for fn:atomic-equal - + atomic-equal("a", xs:untypedAtomic("a")) @@ -13636,7 +13636,7 @@ xs:QName('xs:double') Test case for fn:atomic-equal - + atomic-equal( @@ -13651,7 +13651,7 @@ xs:QName('xs:double') Test case for fn:atomic-equal - + atomic-equal(12, "12") @@ -13663,7 +13663,7 @@ xs:QName('xs:double') Test case for map:merge - + map:merge(()) @@ -13675,7 +13675,7 @@ xs:QName('xs:double') Test case for map:merge - + map:merge(( @@ -13690,7 +13690,7 @@ xs:QName('xs:double') Test case for map:merge - + let $week := { @@ -13713,7 +13713,7 @@ xs:QName('xs:double') Test case for map:merge - + let $week := { @@ -13737,7 +13737,7 @@ xs:QName('xs:double') Test case for map:merge - + let $week := { @@ -13761,7 +13761,7 @@ xs:QName('xs:double') Test case for map:merge - + let $week := { @@ -13785,7 +13785,7 @@ xs:QName('xs:double') Test case for map:merge - + map:merge(({ "red": 0 }, { "green": 1}, { "blue": 2 })) @@ -13798,7 +13798,7 @@ xs:QName('xs:double') Test case for map:of-pairs - + map:of-pairs(()) @@ -13810,7 +13810,7 @@ xs:QName('xs:double') Test case for map:of-pairs - + let $week := { @@ -13838,7 +13838,7 @@ xs:QName('xs:double') Test case for map:of-pairs - + map:of-pairs(( @@ -13853,7 +13853,7 @@ xs:QName('xs:double') Test case for map:of-pairs - + let $week := { @@ -13877,7 +13877,7 @@ xs:QName('xs:double') Test case for map:of-pairs - + let $week := { @@ -13901,7 +13901,7 @@ xs:QName('xs:double') Test case for map:of-pairs - + let $week := { @@ -13925,7 +13925,7 @@ xs:QName('xs:double') Test case for map:of-pairs - + let $week := { @@ -13949,7 +13949,7 @@ xs:QName('xs:double') Test case for map:of-pairs - + map:of-pairs((map:pair("red": 0), map:pair("green": 1), map:pair("blue": 2 )) @@ -13962,7 +13962,7 @@ xs:QName('xs:double') Test case for map:of-pairs - + { "red": 0, "green": 1, "blue": 2 } @@ -13976,7 +13976,7 @@ xs:QName('xs:double') Test case for map:of-pairs - + map:of-pairs((map:pair("red": 0), map:pair("green": 1), map:pair("blue": 2 )) @@ -13989,7 +13989,7 @@ xs:QName('xs:double') Test case for map:keys - + map:keys({ 1: "yes", 0: "no" }) @@ -14001,7 +14001,7 @@ xs:QName('xs:double') Test case for map:keys - + map:keys(map:merge(({"red": 0}, {"blue": 1}, {"green": 2}))) @@ -14013,7 +14013,7 @@ xs:QName('xs:double') Test case for map:keys-where - + @@ -14036,7 +14036,7 @@ return map:keys-where( Test case for map:keys-where - + @@ -14056,7 +14056,7 @@ return map:keys-where( Test case for map:keys-where - + @@ -14078,7 +14078,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:items - + map:items({ 1: "yes", 2: "no" }) @@ -14090,7 +14090,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:items - + map:items({ @@ -14106,7 +14106,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:entries - + map:entries( @@ -14120,7 +14120,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:pairs - + map:pairs( @@ -14138,7 +14138,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:contains - + let $week := { @@ -14158,7 +14158,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:contains - + let $week := { @@ -14178,7 +14178,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:contains - + map:contains({}, "xyz") @@ -14190,7 +14190,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:contains - + map:contains({ "xyz": 23 }, "xyz") @@ -14202,7 +14202,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:contains - + map:contains({ "abc": 23, "xyz": () }, "xyz") @@ -14214,7 +14214,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:empty - + map:empty({}) @@ -14226,7 +14226,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:empty - + map:empty({ 1: () }) @@ -14238,7 +14238,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:get - + let $week := { @@ -14258,7 +14258,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:get - + let $week := { @@ -14278,7 +14278,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:get - + map:get(map:entry(7,()), 7) @@ -14290,7 +14290,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:get - + { 1: "single", 2: "double", 3: "triple" } @@ -14303,7 +14303,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:find - + let $responses := [ @@ -14324,7 +14324,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:find - + let $responses := [ @@ -14345,7 +14345,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:find - + let $responses := [ @@ -14366,7 +14366,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:find - + let $inventory := { @@ -14390,7 +14390,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:put - + let $week := { @@ -14411,7 +14411,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:put - + let $week := { @@ -14432,7 +14432,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:put - + parse-json('{ "red": 0, "green": 1, "blue" 2 }') @@ -14446,7 +14446,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:put - + parse-json('{ "red": 0, "green": 1, "blue" 2 }') @@ -14460,7 +14460,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:entry - + map:entry("M", "Monday") @@ -14472,7 +14472,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:pair - + map:pair("M", "Monday") @@ -14484,7 +14484,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:remove - + let $week := { @@ -14505,7 +14505,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:remove - + let $week := { @@ -14526,7 +14526,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:remove - + let $week := { @@ -14547,7 +14547,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:remove - + let $week := { @@ -14568,7 +14568,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:for-each - + map:for-each( @@ -14583,7 +14583,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:for-each - + distinct-values( @@ -14600,7 +14600,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:for-each - + map:merge( @@ -14617,7 +14617,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:filter - + map:filter( @@ -14633,7 +14633,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:filter - + map:filter( @@ -14649,7 +14649,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:replace - + map:replace({ 1: "alpha", 2: "beta" }, 1, upper-case#1) @@ -14661,7 +14661,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:replace - + map:replace({ 1: "alpha", 2: "beta" }, 3, upper-case#1) @@ -14673,7 +14673,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:replace - + fold-left( @@ -14691,7 +14691,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:build - + map:build((), string#1) @@ -14703,7 +14703,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:build - + map:build(1 to 10, fn { . mod 3 }) @@ -14715,7 +14715,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:build - + map:build( @@ -14730,7 +14730,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:build - + map:build( @@ -14755,7 +14755,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:build - + map:build( @@ -14772,7 +14772,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:build - + map:build( @@ -14788,7 +14788,7 @@ return map:keys-where($birthdays, fn($name, $date) { Test case for map:build - + @@ -14814,7 +14814,7 @@ return map:build($titles/title, fn($title) { $title/ix }) Test case for map:size - + map:size({}) @@ -14826,7 +14826,7 @@ return map:build($titles/title, fn($title) { $title/ix }) Test case for map:size - + map:size({ "true": 1, "false": 0 }) @@ -14838,7 +14838,7 @@ return map:build($titles/title, fn($title) { $title/ix }) Test case for fn:collation - + collation({}) @@ -14850,7 +14850,7 @@ return map:build($titles/title, fn($title) { $title/ix }) Test case for fn:collation - + collation({ 'lang': 'de' }) @@ -14862,7 +14862,7 @@ return map:build($titles/title, fn($title) { $title/ix }) Test case for fn:collation - + collation({ 'lang': 'de', 'strength': 'primary' }) @@ -14878,7 +14878,7 @@ return map:build($titles/title, fn($title) { $title/ix }) Test case for fn:collation-available - + collation-available("http://www.w3.org/2013/collation/UCA?lang=de") @@ -14890,7 +14890,7 @@ return map:build($titles/title, fn($title) { $title/ix }) Test case for fn:collation-available - + collation({ 'lang': 'de' }) => collation-available() @@ -14902,7 +14902,7 @@ return map:build($titles/title, fn($title) { $title/ix }) Test case for fn:collation-key - + let $C := collation({ 'strength': 'primary' }) @@ -14922,7 +14922,7 @@ return map:build($titles/title, fn($title) { $title/ix }) Test case for fn:collation-key - + let $C := collation({ 'strength': 'primary' }) @@ -14943,7 +14943,7 @@ return $M(collation-key("a", $C)) Test case for fn:json-to-xml - + json-to-xml( @@ -14958,7 +14958,7 @@ return $M(collation-key("a", $C)) Test case for fn:json-to-xml - + json-to-xml( @@ -14973,7 +14973,7 @@ return $M(collation-key("a", $C)) Test case for fn:json-to-xml - + json-to-xml( @@ -14988,7 +14988,7 @@ return $M(collation-key("a", $C)) Test case for fn:json-to-xml - + json-to-xml( @@ -15003,7 +15003,7 @@ return $M(collation-key("a", $C)) Test case for fn:elements-to-maps - + elements-to-maps(()) @@ -15015,7 +15015,7 @@ return $M(collation-key("a", $C)) Test case for fn:elements-to-maps - + elements-to-maps(parse-xml("<foo>bar</foo>")/*) @@ -15027,7 +15027,7 @@ return $M(collation-key("a", $C)) Test case for fn:elements-to-maps - + elements-to-maps(parse-xml(" @@ -15047,7 +15047,7 @@ return $M(collation-key("a", $C)) Test case for fn:elements-to-maps - + elements-to-maps(parse-xml(" @@ -15068,7 +15068,7 @@ return $M(collation-key("a", $C)) Test case for fn:parse-csv - + let $display := @@ -15104,7 +15104,7 @@ return ( Test case for fn:parse-csv - + let $display := @@ -15140,7 +15140,7 @@ return ( Test case for fn:parse-csv - + let $display := @@ -15176,7 +15176,7 @@ return ( Test case for fn:parse-csv - + let $display := @@ -15209,7 +15209,7 @@ return ( Test case for fn:parse-csv - + let $display := @@ -15253,7 +15253,7 @@ return ( Test case for fn:parse-csv - + let $display := @@ -15296,7 +15296,7 @@ return ( Test case for fn:parse-csv - + let $display := @@ -15342,7 +15342,7 @@ return ( Test case for fn:parse-csv - + let $display := @@ -15387,7 +15387,7 @@ return ( Test case for fn:csv-to-arrays - + csv-to-arrays(()) @@ -15399,7 +15399,7 @@ return ( Test case for fn:csv-to-arrays - + csv-to-arrays("") @@ -15411,7 +15411,7 @@ return ( Test case for fn:csv-to-arrays - + csv-to-arrays(char('\n')) @@ -15423,7 +15423,7 @@ return ( Test case for fn:csv-to-arrays - + csv-to-arrays(" ", { 'trim-whitespace': true() }) @@ -15435,7 +15435,7 @@ return ( Test case for fn:csv-to-arrays - + csv-to-arrays(" ", { 'trim-whitespace': false() }) @@ -15447,7 +15447,7 @@ return ( Test case for fn:csv-to-arrays - + csv-to-arrays(` {char('\n')}`, { 'trim-whitespace': true() }) @@ -15459,7 +15459,7 @@ return ( Test case for fn:csv-to-arrays - + csv-to-arrays(` {char('\n')}`, { 'trim-whitespace': false() }) @@ -15471,7 +15471,7 @@ return ( Test case for fn:csv-to-arrays - + csv-to-arrays(`{char('\n')} `, { 'trim-whitespace': true() }) @@ -15483,7 +15483,7 @@ return ( Test case for fn:csv-to-arrays - + csv-to-arrays(`{char('\n')} `, { 'trim-whitespace': false() }) @@ -15495,7 +15495,7 @@ return ( Test case for fn:csv-to-arrays - + csv-to-arrays( @@ -15513,7 +15513,7 @@ return ( Test case for fn:csv-to-arrays - + let $CRLF := `{ char('\r') }{ char('\n') }` @@ -15532,7 +15532,7 @@ return csv-to-arrays( Test case for fn:csv-to-arrays - + csv-to-arrays( @@ -15551,7 +15551,7 @@ return csv-to-arrays( Test case for fn:csv-to-arrays - + csv-to-arrays( @@ -15569,7 +15569,7 @@ return csv-to-arrays( Test case for fn:csv-to-arrays - + csv-to-arrays( @@ -15586,7 +15586,7 @@ return csv-to-arrays( Test case for fn:csv-to-arrays - + let $crlf := @@ -15610,7 +15610,7 @@ return csv-to-arrays( Test case for fn:csv-to-arrays - + let $crlf := @@ -15635,7 +15635,7 @@ return csv-to-arrays( Test case for fn:csv-to-xml - + csv-to-xml(()) @@ -15647,7 +15647,7 @@ return csv-to-arrays( Test case for fn:csv-to-xml - + csv-to-xml("") @@ -15659,7 +15659,7 @@ return csv-to-arrays( Test case for fn:csv-to-xml - + csv-to-xml(char('\n')) @@ -15671,7 +15671,7 @@ return csv-to-arrays( Test case for fn:csv-to-xml - + csv-to-xml("", { "header": true() }) @@ -15683,7 +15683,7 @@ return csv-to-arrays( Test case for fn:csv-to-xml - + csv-to-xml("", { "header": ("name", "", "city") }) @@ -15695,7 +15695,7 @@ return csv-to-arrays( Test case for fn:csv-to-xml - + let $crlf := @@ -15718,7 +15718,7 @@ return csv-to-arrays( Test case for fn:csv-to-xml - + let $crlf := @@ -15750,7 +15750,7 @@ return csv-to-arrays( Test case for fn:csv-to-xml - + let $crlf := @@ -15780,7 +15780,7 @@ return csv-to-arrays( Test case for fn:csv-to-xml - + let $crlf := @@ -15812,7 +15812,7 @@ return csv-to-arrays( Test case for fn:csv-to-xml - + let $crlf := @@ -15844,7 +15844,7 @@ return csv-to-arrays( Test case for fn:parse-json - + parse-json('{ "x": 1, "y": [ 3, 4, 5 ] }') @@ -15856,7 +15856,7 @@ return csv-to-arrays( Test case for fn:parse-json - + parse-json('"abcd"') @@ -15868,7 +15868,7 @@ return csv-to-arrays( Test case for fn:parse-json - + parse-json('{ "x": "\\", "y": "\u0025" }') @@ -15880,7 +15880,7 @@ return csv-to-arrays( Test case for fn:parse-json - + parse-json( @@ -15895,7 +15895,7 @@ return csv-to-arrays( Test case for fn:parse-json - + parse-json( @@ -15909,7 +15909,7 @@ return csv-to-arrays( Test case for fn:parse-json - + parse-json( @@ -15924,7 +15924,7 @@ return csv-to-arrays( Test case for fn:parse-json - + parse-json( @@ -15939,7 +15939,7 @@ return csv-to-arrays( Test case for fn:parse-json - + parse-json( @@ -15954,7 +15954,7 @@ return csv-to-arrays( Test case for fn:parse-json - + parse-json( @@ -15969,7 +15969,7 @@ return csv-to-arrays( Test case for fn:parse-json - + parse-json('[ "a", null, "b" ]', @@ -15983,7 +15983,7 @@ return csv-to-arrays( Test case for array:size - + array:size([ "a", "b", "c" ]) @@ -15995,7 +15995,7 @@ return csv-to-arrays( Test case for array:size - + array:size([ "a", [ "b", "c" ] ]) @@ -16007,7 +16007,7 @@ return csv-to-arrays( Test case for array:size - + array:size([]) @@ -16019,7 +16019,7 @@ return csv-to-arrays( Test case for array:size - + array:size([ [] ]) @@ -16031,7 +16031,7 @@ return csv-to-arrays( Test case for array:empty - + array:empty([ "a", "b", "c" ]) @@ -16043,7 +16043,7 @@ return csv-to-arrays( Test case for array:empty - + array:empty([]) @@ -16055,7 +16055,7 @@ return csv-to-arrays( Test case for array:empty - + array:empty([ [] ]) @@ -16067,7 +16067,7 @@ return csv-to-arrays( Test case for array:empty - + array:empty([ () ]) @@ -16079,7 +16079,7 @@ return csv-to-arrays( Test case for array:get - + [ "a", "b", "c" ] => array:get(2) @@ -16091,7 +16091,7 @@ return csv-to-arrays( Test case for array:get - + [ "a", [ "b", "c" ] ] => array:get(2) @@ -16103,7 +16103,7 @@ return csv-to-arrays( Test case for array:get - + [ "a" ] => array:get(1, void#1) @@ -16115,7 +16115,7 @@ return csv-to-arrays( Test case for array:get - + [] => array:get(1, void#1) @@ -16127,7 +16127,7 @@ return csv-to-arrays( Test case for array:put - + array:put([ "a", "b", "c" ], 2, "d") @@ -16139,7 +16139,7 @@ return csv-to-arrays( Test case for array:put - + array:put([ "a", "b", "c" ], 2, ("d", "e")) @@ -16151,7 +16151,7 @@ return csv-to-arrays( Test case for array:put - + array:put([ "a" ], 1, [ "d", "e" ]) @@ -16163,7 +16163,7 @@ return csv-to-arrays( Test case for array:replace - + array:replace( @@ -16179,7 +16179,7 @@ return csv-to-arrays( Test case for array:replace - + array:replace( @@ -16195,7 +16195,7 @@ return csv-to-arrays( Test case for array:replace - + array:replace( @@ -16211,7 +16211,7 @@ return csv-to-arrays( Test case for array:append - + array:append([ "a", "b", "c" ], "d") @@ -16223,7 +16223,7 @@ return csv-to-arrays( Test case for array:append - + array:append([ "a", "b", "c" ], ("d", "e")) @@ -16235,7 +16235,7 @@ return csv-to-arrays( Test case for array:append - + array:append([ "a", "b", "c" ], [ "d", "e" ]) @@ -16247,7 +16247,7 @@ return csv-to-arrays( Test case for array:join - + array:join(()) @@ -16259,7 +16259,7 @@ return csv-to-arrays( Test case for array:join - + array:join([ 1, 2, 3 ]) @@ -16271,7 +16271,7 @@ return csv-to-arrays( Test case for array:join - + array:join(([ "a", "b" ], [ "c" ])) @@ -16283,7 +16283,7 @@ return csv-to-arrays( Test case for array:join - + array:join(([ "a", "b" ], [ "c" ], [])) @@ -16295,7 +16295,7 @@ return csv-to-arrays( Test case for array:join - + array:join(([ "a", "b" ], [ [ "c" ] ])) @@ -16307,7 +16307,7 @@ return csv-to-arrays( Test case for array:join - + array:join( @@ -16322,7 +16322,7 @@ return csv-to-arrays( Test case for array:join - + array { 1 to 3 } @@ -16336,7 +16336,7 @@ return csv-to-arrays( Test case for array:join - + array:join( @@ -16351,7 +16351,7 @@ return csv-to-arrays( Test case for array:subarray - + array:subarray([ "a", "b", "c", "d" ], 2) @@ -16363,7 +16363,7 @@ return csv-to-arrays( Test case for array:subarray - + array:subarray([ "a", "b", "c", "d" ], 5) @@ -16375,7 +16375,7 @@ return csv-to-arrays( Test case for array:subarray - + array:subarray([ "a", "b", "c", "d" ], 2, 0) @@ -16387,7 +16387,7 @@ return csv-to-arrays( Test case for array:subarray - + array:subarray([ "a", "b", "c", "d" ], 2, 1) @@ -16399,7 +16399,7 @@ return csv-to-arrays( Test case for array:subarray - + array:subarray([ "a", "b", "c", "d" ], 2, 2) @@ -16411,7 +16411,7 @@ return csv-to-arrays( Test case for array:subarray - + array:subarray([ "a", "b", "c", "d" ], 5, 0) @@ -16423,7 +16423,7 @@ return csv-to-arrays( Test case for array:subarray - + array:subarray([], 1, 0) @@ -16435,7 +16435,7 @@ return csv-to-arrays( Test case for array:index-of - + array:index-of([ 10, 20, 30, 30, 20, 10 ], 20) @@ -16447,7 +16447,7 @@ return csv-to-arrays( Test case for array:index-of - + array:index-of([ (), 1, (5, 6), (6, 7) ], (6, 7)) @@ -16459,7 +16459,7 @@ return csv-to-arrays( Test case for array:index-of - + @@ -16477,7 +16477,7 @@ array:index-of( Test case for array:index-of - + @@ -16493,7 +16493,7 @@ array:index-of( Test case for array:index-where - + array:index-where([], boolean#1) @@ -16505,7 +16505,7 @@ array:index-of( Test case for array:index-where - + array:index-where([ 0, (), 4, 9 ], boolean#1) @@ -16517,7 +16517,7 @@ array:index-of( Test case for array:index-where - + array:index-where( @@ -16532,7 +16532,7 @@ array:index-of( Test case for array:index-where - + array:index-where( @@ -16549,7 +16549,7 @@ array:index-of( Test case for array:index-where - + array:index-where( @@ -16564,7 +16564,7 @@ array:index-of( Test case for array:index-where - + array:index-where( @@ -16579,7 +16579,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16596,7 +16596,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16613,7 +16613,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16630,7 +16630,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16647,7 +16647,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16664,7 +16664,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16681,7 +16681,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16698,7 +16698,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16715,7 +16715,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16732,7 +16732,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16749,7 +16749,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16766,7 +16766,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16783,7 +16783,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16800,7 +16800,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16817,7 +16817,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16834,7 +16834,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16851,7 +16851,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16868,7 +16868,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16885,7 +16885,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16902,7 +16902,7 @@ array:index-of( Test case for array:slice - + let $in := [ 'a', 'b', 'c', 'd', 'e' ] @@ -16919,7 +16919,7 @@ array:index-of( Test case for array:remove - + array:remove([ "a", "b", "c", "d" ], 1) @@ -16931,7 +16931,7 @@ array:index-of( Test case for array:remove - + array:remove([ "a", "b", "c", "d" ], 2) @@ -16943,7 +16943,7 @@ array:index-of( Test case for array:remove - + array:remove([ "a" ], 1) @@ -16955,7 +16955,7 @@ array:index-of( Test case for array:remove - + array:remove([ "a", "b", "c", "d" ], 1 to 3) @@ -16967,7 +16967,7 @@ array:index-of( Test case for array:remove - + array:remove([ "a", "b", "c", "d" ], ()) @@ -16979,7 +16979,7 @@ array:index-of( Test case for array:insert-before - + array:insert-before( @@ -16995,7 +16995,7 @@ array:index-of( Test case for array:insert-before - + array:insert-before( @@ -17011,7 +17011,7 @@ array:index-of( Test case for array:insert-before - + array:insert-before( @@ -17027,7 +17027,7 @@ array:index-of( Test case for array:head - + array:head([ 5, 6, 7, 8 ]) @@ -17039,7 +17039,7 @@ array:index-of( Test case for array:head - + array:head([ [ "a", "b" ], [ "c", "d" ] ]) @@ -17051,7 +17051,7 @@ array:index-of( Test case for array:head - + array:head([ ("a", "b"), ("c", "d") ]) @@ -17063,7 +17063,7 @@ array:index-of( Test case for array:foot - + array:foot([ 5, 6, 7, 8 ]) @@ -17075,7 +17075,7 @@ array:index-of( Test case for array:foot - + array:foot([ [ "a", "b" ], [ "c", "d" ] ]) @@ -17087,7 +17087,7 @@ array:index-of( Test case for array:foot - + array:foot([ ("a", "b"), ("c", "d") ]) @@ -17099,7 +17099,7 @@ array:index-of( Test case for array:tail - + array:tail([ 5, 6, 7, 8 ]) @@ -17111,7 +17111,7 @@ array:index-of( Test case for array:tail - + array:tail([ 5 ]) @@ -17123,7 +17123,7 @@ array:index-of( Test case for array:trunk - + array:trunk([ 5, 6, 7, 8 ]) @@ -17135,7 +17135,7 @@ array:index-of( Test case for array:trunk - + array:trunk([ 5 ]) @@ -17147,7 +17147,7 @@ array:index-of( Test case for array:reverse - + array:reverse([ "a", "b", "c", "d" ]) @@ -17159,7 +17159,7 @@ array:index-of( Test case for array:reverse - + array:reverse([ ("a", "b"), ("c", "d") ]) @@ -17171,7 +17171,7 @@ array:index-of( Test case for array:reverse - + array:reverse([ 1 to 5 ]) @@ -17183,7 +17183,7 @@ array:index-of( Test case for array:reverse - + array:reverse([]) @@ -17195,7 +17195,7 @@ array:index-of( Test case for array:for-each - + array:for-each( @@ -17210,7 +17210,7 @@ array:index-of( Test case for array:for-each - + array:for-each( @@ -17225,7 +17225,7 @@ array:index-of( Test case for array:for-each - + array:for-each( @@ -17240,7 +17240,7 @@ array:index-of( Test case for array:for-each - + array:for-each( @@ -17255,7 +17255,7 @@ array:index-of( Test case for array:filter - + array:filter( @@ -17270,7 +17270,7 @@ array:index-of( Test case for array:filter - + array:filter( @@ -17285,7 +17285,7 @@ array:index-of( Test case for array:filter - + array:filter([ "A", "B", "", 0, 1 ], boolean#1) @@ -17297,7 +17297,7 @@ array:index-of( Test case for array:filter - + let $array := [ 1, 1, 2, 3, 4, 4, 5 ] @@ -17313,7 +17313,7 @@ return array:filter( Test case for array:fold-left - + array:fold-left( @@ -17329,7 +17329,7 @@ return array:filter( Test case for array:fold-left - + array:fold-left( @@ -17345,7 +17345,7 @@ return array:filter( Test case for array:fold-left - + array:fold-left( @@ -17361,7 +17361,7 @@ return array:filter( Test case for array:fold-left - + @@ -17381,7 +17381,7 @@ return array:fold-left($input, (), Test case for array:fold-right - + array:fold-right( @@ -17397,7 +17397,7 @@ return array:fold-left($input, (), Test case for array:fold-right - + array:fold-right( @@ -17413,7 +17413,7 @@ return array:fold-left($input, (), Test case for array:fold-right - + array:fold-right( @@ -17429,7 +17429,7 @@ return array:fold-left($input, (), Test case for array:fold-right - + @@ -17449,7 +17449,7 @@ return array:fold-right( Test case for array:for-each-pair - + array:for-each-pair( @@ -17465,7 +17465,7 @@ return array:fold-right( Test case for array:for-each-pair - + let $array := [ "A", "B", "C", "D" ] @@ -17482,7 +17482,7 @@ return array:for-each-pair( Test case for array:for-each-pair - + @@ -17502,7 +17502,7 @@ array:for-each-pair( Test case for array:build - + array:build(1 to 5) @@ -17514,7 +17514,7 @@ array:for-each-pair( Test case for array:build - + array:build(1 to 5, fn { 2 * . }) @@ -17526,7 +17526,7 @@ array:for-each-pair( Test case for array:build - + array:build(1 to 5, fn { 1 to . }) @@ -17538,7 +17538,7 @@ array:for-each-pair( Test case for array:build - + array:build(("red", "green", "blue"), characters#1) @@ -17550,7 +17550,7 @@ array:for-each-pair( Test case for array:build - + array:build(1 to 5, fn { array { 1 to . } }) @@ -17562,7 +17562,7 @@ array:for-each-pair( Test case for array:build - + @@ -17581,7 +17581,7 @@ array:build( Test case for array:members - + array:members([]) @@ -17593,7 +17593,7 @@ array:build( Test case for array:members - + array:members([ 1 to 5 ])?value @@ -17605,7 +17605,7 @@ array:build( Test case for array:members - + array:members([ (1, 1), (2, 4), (3, 9), (4, 16), (5, 25) ]) @@ -17618,7 +17618,7 @@ array:build( Test case for array:members - + let $array := [ "any array" ] @@ -17634,7 +17634,7 @@ return deep-equal( Test case for array:split - + array:split([]) @@ -17646,7 +17646,7 @@ return deep-equal( Test case for array:split - + array:split([ () ]) @@ -17658,7 +17658,7 @@ return deep-equal( Test case for array:split - + array:split([ 1 to 5 ]) @@ -17670,7 +17670,7 @@ return deep-equal( Test case for array:split - + array:split( @@ -17684,7 +17684,7 @@ return deep-equal( Test case for array:split - + array:split( @@ -17698,7 +17698,7 @@ return deep-equal( Test case for array:split - + let $array := [ "any array" ] @@ -17714,7 +17714,7 @@ return deep-equal( Test case for array:of-members - + array:of-members(()) @@ -17726,7 +17726,7 @@ return deep-equal( Test case for array:of-members - + array:of-members({ 'value': (1 to 5) }) @@ -17738,7 +17738,7 @@ return deep-equal( Test case for array:of-members - + array:of-members((1 to 5) ! { 'value': . }) @@ -17750,7 +17750,7 @@ return deep-equal( Test case for array:of-members - + array:of-members((1 to 3) ! { 'value': (., . * .) }) @@ -17762,7 +17762,7 @@ return deep-equal( Test case for array:sort - + array:sort([ 1, 4, 6, 5, 3 ]) @@ -17774,7 +17774,7 @@ return deep-equal( Test case for array:sort - + array:sort([ 1, 4, 4e0, 6, 5, 3 ], orders := "descending") @@ -17786,7 +17786,7 @@ return deep-equal( Test case for array:sort - + array:sort([ 1, -2, 5, 10, -10, 10, 8 ], (), abs#1) @@ -17798,7 +17798,7 @@ return deep-equal( Test case for array:sort - + array:sort([ [ 2, "i" ], [ 1, "e" ], [ 2, "g" ], [ 1, "f" ] ]) @@ -17810,7 +17810,7 @@ return deep-equal( Test case for array:sort - + array:sort( @@ -17827,7 +17827,7 @@ return deep-equal( Test case for array:flatten - + array:flatten([ 1, 4, 6, 5, 3 ]) @@ -17839,7 +17839,7 @@ return deep-equal( Test case for array:flatten - + array:flatten(([ 1, 2 ], [ [ 10, 11 ], 12 ], [], 13)) @@ -17851,7 +17851,7 @@ return deep-equal( Test case for array:flatten - + array:flatten([ (1, 0), (1, 1), (0, 1), (0, 0) ]) @@ -17863,7 +17863,7 @@ return deep-equal( Test case for array:items - + array:items(["one", "two", "three"]) @@ -17875,7 +17875,7 @@ return deep-equal( Test case for array:items - + array:items(["one", ("two", "three")]) @@ -17887,7 +17887,7 @@ return deep-equal( Test case for array:items - + array:items(["one", ("two", "three"), ()]) @@ -17899,7 +17899,7 @@ return deep-equal( Test case for array:items - + array:items(["one", ["two", "three"]]) @@ -17911,7 +17911,7 @@ return deep-equal( Test case for array:items - + array:items([ (), 1, (2 to 4), [ 5 ] ]) @@ -17923,7 +17923,7 @@ return deep-equal( Test case for fn:load-xquery-module - + let $expr := "2 + 2" @@ -17946,7 +17946,7 @@ return $variables(QName("http://example.com/dyn", "value")) Test case for fn:every - + every(()) @@ -17958,7 +17958,7 @@ return $variables(QName("http://example.com/dyn", "value")) Test case for fn:every - + every((1 = 1, 2 = 2, 3 = 4)) @@ -17970,7 +17970,7 @@ return $variables(QName("http://example.com/dyn", "value")) Test case for fn:every - + every((), boolean#1) @@ -17982,7 +17982,7 @@ return $variables(QName("http://example.com/dyn", "value")) Test case for fn:every - + every((1, 3, 7), fn { . mod 2 = 1 }) @@ -17994,7 +17994,7 @@ return $variables(QName("http://example.com/dyn", "value")) Test case for fn:every - + every(-5 to +5, fn { . ge 0 }) @@ -18006,7 +18006,7 @@ return $variables(QName("http://example.com/dyn", "value")) Test case for fn:every - + every( @@ -18022,7 +18022,7 @@ return $variables(QName("http://example.com/dyn", "value")) Test case for fn:every - + every( @@ -18038,7 +18038,7 @@ return $variables(QName("http://example.com/dyn", "value")) Test case for fn:every - + every((1, 2, number('NaN'))) @@ -18050,7 +18050,7 @@ return $variables(QName("http://example.com/dyn", "value")) Test case for fn:every - + every(1 to 5, fn($num, $pos) { $num = $pos }) @@ -18062,7 +18062,7 @@ return $variables(QName("http://example.com/dyn", "value")) Test case for fn:every - + @@ -18080,7 +18080,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:char - + char("aacute") @@ -18092,7 +18092,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:char - + char("eth") @@ -18104,7 +18104,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:char - + char(9) @@ -18116,7 +18116,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:char - + char("\t") @@ -18128,7 +18128,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:char - + char(0x20) @@ -18140,7 +18140,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:char - + char(0x1D1CA) @@ -18152,7 +18152,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:char - + char("NotEqualTilde") @@ -18164,7 +18164,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:characters - + characters("Thérèse") @@ -18176,7 +18176,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:characters - + characters("") @@ -18188,7 +18188,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:characters - + characters(()) @@ -18200,7 +18200,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:characters - + characters("Banana") => index-of("a") @@ -18212,7 +18212,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:characters - + characters("stretch") => string-join("-") @@ -18224,7 +18224,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:characters - + "Banana" @@ -18239,7 +18239,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:graphemes - + graphemes("a" || char(0x308) || "b") @@ -18251,7 +18251,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:graphemes - + graphemes("") @@ -18263,7 +18263,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:graphemes - + graphemes(()) @@ -18275,7 +18275,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:graphemes - + graphemes(char('\r') || char('\n')) @@ -18287,7 +18287,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:graphemes - + graphemes(char(0x1F476) || char(0x200D) || char(0x1F6D1)) @@ -18299,7 +18299,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:graphemes - + graphemes("कत") @@ -18311,7 +18311,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:graphemes - + graphemes("क" || char(0x93C) || char(0x200D) || char(0x94D) || "त") @@ -18323,7 +18323,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:highest - + @@ -18341,7 +18341,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:highest - + @@ -18359,7 +18359,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:highest - + highest(("red", "green", "blue"), (), string-length#1) @@ -18371,7 +18371,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:highest - + highest( @@ -18390,7 +18390,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:highest - + highest( @@ -18405,7 +18405,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:highest - + highest(1 to 25, (), fn { . idiv 10 }) @@ -18417,7 +18417,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:index-where - + index-where((), boolean#1) @@ -18429,7 +18429,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:index-where - + index-where((0, 4, 9), boolean#1) @@ -18441,7 +18441,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:index-where - + index-where(1 to 10, fn { . mod 2 = 0 }) @@ -18453,7 +18453,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:index-where - + index-where( @@ -18469,7 +18469,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:index-where - + index-where( @@ -18484,7 +18484,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:is-NaN - + is-NaN(23) @@ -18496,7 +18496,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:is-NaN - + is-NaN("NaN") @@ -18508,7 +18508,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:is-NaN - + is-NaN(number("twenty-three")) @@ -18520,7 +18520,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:is-NaN - + is-NaN(math:sqrt(-1)) @@ -18532,7 +18532,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:take-while - + take-while(10 to 20, fn {. le 12 }) @@ -18544,7 +18544,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:take-while - + take-while(10 to 20, fn {. lt 100 }) @@ -18556,7 +18556,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:take-while - + take-while((), boolean#1) @@ -18568,7 +18568,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:take-while - + take-while( @@ -18583,7 +18583,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:take-while - + parse-xml("<doc><p/><p/><h2/><img/><p/></doc>")/doc/* @@ -18597,7 +18597,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:take-while - + @@ -18611,7 +18611,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:take-while - + take-while(10 to 20, fn($num, $pos) { $num lt 18 and $pos lt 4 }) @@ -18623,7 +18623,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:take-while - + take-while( @@ -18639,7 +18639,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:take-while - + take-while( @@ -18657,7 +18657,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:lowest - + @@ -18675,7 +18675,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:lowest - + @@ -18693,7 +18693,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:lowest - + lowest(("red", "green", "blue"), (), string-length#1) @@ -18705,7 +18705,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:lowest - + lowest( @@ -18724,7 +18724,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:lowest - + lowest( @@ -18739,7 +18739,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:lowest - + lowest(1 to 25, (), fn { . idiv 10 }) @@ -18751,7 +18751,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:some - + some(()) @@ -18763,7 +18763,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:some - + some((1 = 1, 2 = 2, 3 = 4)) @@ -18775,7 +18775,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:some - + some((), boolean#1) @@ -18787,7 +18787,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:some - + some((1, 3, 7), fn { . mod 2 = 1 }) @@ -18799,7 +18799,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:some - + some(-5 to +5, fn { . ge 0 }) @@ -18811,7 +18811,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:some - + some( @@ -18827,7 +18827,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:some - + some( @@ -18843,7 +18843,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:some - + some(("", 0, number('NaN'))) @@ -18855,7 +18855,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:some - + some(reverse(1 to 5), fn($num, $pos) { $num = $pos }) @@ -18867,7 +18867,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:all-equal - + all-equal((1, 2, 3)) @@ -18879,7 +18879,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:all-equal - + all-equal((1, 1.0, 1.0e0)) @@ -18891,7 +18891,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:all-equal - + all-equal("one") @@ -18903,7 +18903,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:all-equal - + all-equal(()) @@ -18915,7 +18915,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:all-equal - + all-equal( @@ -18930,7 +18930,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:all-different - + all-different((1, 2, 3)) @@ -18942,7 +18942,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:all-different - + all-different((1, 1.0, 1.0e0)) @@ -18954,7 +18954,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:all-different - + all-different("one") @@ -18966,7 +18966,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:all-different - + all-different(()) @@ -18978,7 +18978,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:all-different - + all-different( @@ -18993,7 +18993,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("http://qt4cg.org/specifications/xpath-functions-40/Overview.html#parse-uri") @@ -19014,7 +19014,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("http://www.ietf.org/rfc/rfc2396.txt") @@ -19035,7 +19035,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("https://example.com/path/to/file") @@ -19056,7 +19056,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri( @@ -19085,7 +19085,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("https://user@example.com/path/to/file") @@ -19107,7 +19107,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("ftp://ftp.is.co.za/rfc/rfc1808.txt") @@ -19128,7 +19128,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("file:////uncname/path/to/file") @@ -19148,7 +19148,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("file:///c:/path/to/file") @@ -19168,7 +19168,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("file:/C:/Program%20Files/test.jar") @@ -19188,7 +19188,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("file:\\c:\path\to\file") @@ -19208,7 +19208,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("file:\c:\path\to\file") @@ -19228,7 +19228,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("c:\path\to\file") @@ -19247,7 +19247,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("/path/to/file") @@ -19265,7 +19265,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("#testing") @@ -19280,7 +19280,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("?q=1") @@ -19298,7 +19298,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("ldap://[2001:db8::7]/c=GB?objectClass?one") @@ -19323,7 +19323,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("mailto:John.Doe@example.com") @@ -19341,7 +19341,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("news:comp.infosystems.www.servers.unix") @@ -19359,7 +19359,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("tel:+1-816-555-1212") @@ -19377,7 +19377,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("telnet://192.0.2.16:80/") @@ -19399,7 +19399,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("urn:oasis:names:specification:docbook:dtd:xml:4.1.2") @@ -19417,7 +19417,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("tag:textalign.net,2015:ns") @@ -19435,7 +19435,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("tag:jan@example.com,1999-01-31:my-uri") @@ -19453,7 +19453,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("jar:file:/C:/Program%20Files/test.jar!/foo/bar") @@ -19471,7 +19471,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("http://www.example.org/Dürst") @@ -19492,7 +19492,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("c|/path/to/file") @@ -19511,7 +19511,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:parse-uri - + parse-uri("file://c|/path/to/file") @@ -19531,7 +19531,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:build-uri - + build-uri({ @@ -19548,7 +19548,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:partition - + partition( @@ -19565,7 +19565,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:partition - + partition( @@ -19582,7 +19582,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:partition - + partition( @@ -19599,7 +19599,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:partition - + partition( @@ -19616,7 +19616,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:partition - + partition( @@ -19631,7 +19631,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:partition - + partition( @@ -19646,7 +19646,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:scan-left - + scan-left(1 to 5, 0, op('+')) @@ -19658,7 +19658,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:scan-left - + scan-left(1 to 3, 0, op('-')) @@ -19670,7 +19670,7 @@ return every($dl/*, fn($elem, $pos) { Test case for fn:scan-left - + let $double := fn($x) { 2 * $x } @@ -19683,7 +19683,7 @@ return scan-left(1 to 3, (), fn($seq, $it) { $seq , $double($it) }) Test case for fn:scan-left - + scan-left(1 to 5, 1, op('*')) @@ -19695,7 +19695,7 @@ return scan-left(1 to 3, (), fn($seq, $it) { $seq , $double($it) }) Test case for fn:scan-right - + scan-right(1 to 10, 0, op('+')) @@ -19708,7 +19708,7 @@ return scan-left(1 to 3, (), fn($seq, $it) { $seq , $double($it) }) Test case for fn:scan-right - + scan-right(1 to 3, 0, op('-')) @@ -19720,7 +19720,7 @@ return scan-left(1 to 3, (), fn($seq, $it) { $seq , $double($it) }) Test case for fn:invisible-xml - + invisible-xml("S=A. A='a'.")("a") @@ -19732,7 +19732,7 @@ return scan-left(1 to 3, (), fn($seq, $it) { $seq , $double($it) }) Test case for fn:invisible-xml - + let $parser := invisible-xml("S=A. A='a'.") @@ -19746,7 +19746,7 @@ return $result/*/@*:state = 'failed' Test case for fn:invisible-xml - + @@ -19762,7 +19762,7 @@ return $result Test case for fn:pin - + pin([ "a", "b", "c" ])?1 ! label(.)?parent ! array:foot(.) @@ -19774,7 +19774,7 @@ return $result Test case for fn:pin - + pin([ "a", "b", "c", "d" ]) ! array:remove(., 2)?* ! label(.)?key @@ -19786,7 +19786,7 @@ return $result Test case for fn:pin - + let $data := { diff --git a/misc/BuiltInKeywords.xml b/misc/BuiltInKeywords.xml index cdc89dd2..4442c4d9 100644 --- a/misc/BuiltInKeywords.xml +++ b/misc/BuiltInKeywords.xml @@ -11,7 +11,7 @@ covers-40="PR197"> Tests for keyword argument names to built-in functions - + @@ -19,7 +19,7 @@ Test of keyword arguments in fn:node-name - + fn:node-name(node := ?) instance of function(node()?) as xs:QName? @@ -28,7 +28,7 @@ Test of keyword arguments in fn:type-of - + fn:type-of(value := ?) instance of function(item()*) as xs:string @@ -37,7 +37,7 @@ Test of keyword arguments in fn:nilled - + fn:nilled(node := ?) instance of function(node()?) as xs:boolean? @@ -46,7 +46,7 @@ Test of keyword arguments in fn:string - + fn:string(value := ?) instance of function(item()?) as xs:string @@ -55,7 +55,7 @@ Test of keyword arguments in fn:data - + fn:data(input := ?) instance of function(item()*) as xs:anyAtomicType* @@ -64,7 +64,7 @@ Test of keyword arguments in fn:base-uri - + fn:base-uri(node := ?) instance of function(node()?) as xs:anyURI? @@ -73,7 +73,7 @@ Test of keyword arguments in fn:document-uri - + fn:document-uri(node := ?) instance of function(node()?) as xs:anyURI? @@ -82,7 +82,7 @@ Test of keyword arguments in fn:error - + fn:error(code := ?, description := ?, value := ?) instance of function(xs:QName?, xs:string?, item()*) as item()* @@ -91,7 +91,7 @@ Test of keyword arguments in fn:trace - + fn:trace(input := ?, label := ?) instance of function(item()*, xs:string?) as item()* @@ -100,7 +100,7 @@ Test of keyword arguments in fn:message - + fn:message(input := ?, label := ?) instance of function(item()*, xs:string?) as empty-sequence() @@ -109,7 +109,7 @@ Test of keyword arguments in fn:abs - + fn:abs(value := ?) instance of function(xs:numeric?) as xs:numeric? @@ -118,7 +118,7 @@ Test of keyword arguments in fn:ceiling - + fn:ceiling(value := ?) instance of function(xs:numeric?) as xs:numeric? @@ -127,7 +127,7 @@ Test of keyword arguments in fn:floor - + fn:floor(value := ?) instance of function(xs:numeric?) as xs:numeric? @@ -136,7 +136,7 @@ Test of keyword arguments in fn:round - + fn:round(value := ?, precision := ?, mode := ?) instance of function(xs:numeric?, xs:integer?, enum('floor', 'ceiling', @@ -153,7 +153,7 @@ Test of keyword arguments in fn:round-half-to-even - + fn:round-half-to-even(value := ?, precision := ?) instance of function(xs:numeric?, xs:integer?) as xs:numeric? @@ -162,7 +162,7 @@ Test of keyword arguments in fn:divide-decimals - + fn:divide-decimals(value := ?, divisor := ?, precision := ?) instance of function(xs:decimal, xs:decimal, xs:integer?) as record(quotient as xs:decimal, remainder as xs:decimal) @@ -171,7 +171,7 @@ Test of keyword arguments in fn:format-integer - + fn:format-integer(value := ?, picture := ?, language := ?) instance of function(xs:integer?, xs:string, xs:string?) as xs:string @@ -180,7 +180,7 @@ Test of keyword arguments in fn:format-number - + fn:format-number(value := ?, picture := ?, options := ?) instance of function(xs:numeric?, xs:string, (xs:string | map(*))?) as xs:string @@ -189,7 +189,7 @@ Test of keyword arguments in fn:parse-integer - + fn:parse-integer(value := ?, radix := ?) instance of function(xs:string?, xs:integer?) as xs:integer? @@ -198,7 +198,7 @@ Test of keyword arguments in math:pi - + math:pi#0 instance of function() as xs:double @@ -207,7 +207,7 @@ Test of keyword arguments in math:e - + math:e#0 instance of function() as xs:double @@ -216,7 +216,7 @@ Test of keyword arguments in math:exp - + math:exp(value := ?) instance of function(xs:double?) as xs:double? @@ -225,7 +225,7 @@ Test of keyword arguments in math:exp10 - + math:exp10(value := ?) instance of function(xs:double?) as xs:double? @@ -234,7 +234,7 @@ Test of keyword arguments in math:log - + math:log(value := ?) instance of function(xs:double?) as xs:double? @@ -243,7 +243,7 @@ Test of keyword arguments in math:log10 - + math:log10(value := ?) instance of function(xs:double?) as xs:double? @@ -252,7 +252,7 @@ Test of keyword arguments in math:sqrt - + math:sqrt(value := ?) instance of function(xs:double?) as xs:double? @@ -261,7 +261,7 @@ Test of keyword arguments in math:pow - + math:pow(x := ?, y := ?) instance of function(xs:double?, xs:numeric) as xs:double? @@ -270,7 +270,7 @@ Test of keyword arguments in math:sin - + math:sin(radians := ?) instance of function(xs:double?) as xs:double? @@ -279,7 +279,7 @@ Test of keyword arguments in math:cos - + math:cos(radians := ?) instance of function(xs:double?) as xs:double? @@ -288,7 +288,7 @@ Test of keyword arguments in math:tan - + math:tan(radians := ?) instance of function(xs:double?) as xs:double? @@ -297,7 +297,7 @@ Test of keyword arguments in math:asin - + math:asin(value := ?) instance of function(xs:double?) as xs:double? @@ -306,7 +306,7 @@ Test of keyword arguments in math:acos - + math:acos(value := ?) instance of function(xs:double?) as xs:double? @@ -315,7 +315,7 @@ Test of keyword arguments in math:atan - + math:atan(value := ?) instance of function(xs:double?) as xs:double? @@ -324,7 +324,7 @@ Test of keyword arguments in math:atan2 - + math:atan2(y := ?, x := ?) instance of function(xs:double, xs:double) as xs:double @@ -333,7 +333,7 @@ Test of keyword arguments in math:sinh - + math:sinh(value := ?) instance of function(xs:double?) as xs:double? @@ -342,7 +342,7 @@ Test of keyword arguments in math:cosh - + math:cosh(value := ?) instance of function(xs:double?) as xs:double? @@ -351,7 +351,7 @@ Test of keyword arguments in math:tanh - + math:tanh(value := ?) instance of function(xs:double?) as xs:double? @@ -360,7 +360,7 @@ Test of keyword arguments in fn:codepoints-to-string - + fn:codepoints-to-string(values := ?) instance of function(xs:integer*) as xs:string @@ -369,7 +369,7 @@ Test of keyword arguments in fn:string-to-codepoints - + fn:string-to-codepoints(value := ?) instance of function(xs:string?) as xs:integer* @@ -378,7 +378,7 @@ Test of keyword arguments in fn:compare - + fn:compare(value1 := ?, value2 := ?, collation := ?) instance of function(xs:anyAtomicType?, xs:anyAtomicType?, xs:string?) as xs:integer? @@ -387,7 +387,7 @@ Test of keyword arguments in fn:codepoint-equal - + fn:codepoint-equal(value1 := ?, value2 := ?) instance of function(xs:string?, xs:string?) as xs:boolean? @@ -396,7 +396,7 @@ Test of keyword arguments in fn:concat - + fn:concat(values := ?) instance of function(xs:anyAtomicType*) as xs:string @@ -405,7 +405,7 @@ Test of keyword arguments in fn:string-join - + fn:string-join(values := ?, separator := ?) instance of function(xs:anyAtomicType*, xs:string?) as xs:string @@ -414,7 +414,7 @@ Test of keyword arguments in fn:substring - + fn:substring(value := ?, start := ?, length := ?) instance of function(xs:string?, xs:double, xs:double?) as xs:string @@ -423,7 +423,7 @@ Test of keyword arguments in fn:string-length - + fn:string-length(value := ?) instance of function(xs:string?) as xs:integer @@ -432,7 +432,7 @@ Test of keyword arguments in fn:normalize-space - + fn:normalize-space(value := ?) instance of function(xs:string?) as xs:string @@ -441,7 +441,7 @@ Test of keyword arguments in fn:normalize-unicode - + fn:normalize-unicode(value := ?, form := ?) instance of function(xs:string?, xs:string?) as xs:string @@ -450,7 +450,7 @@ Test of keyword arguments in fn:upper-case - + fn:upper-case(value := ?) instance of function(xs:string?) as xs:string @@ -459,7 +459,7 @@ Test of keyword arguments in fn:lower-case - + fn:lower-case(value := ?) instance of function(xs:string?) as xs:string @@ -468,7 +468,7 @@ Test of keyword arguments in fn:translate - + fn:translate(value := ?, replace := ?, with := ?) instance of function(xs:string?, xs:string, xs:string) as xs:string @@ -477,7 +477,7 @@ Test of keyword arguments in fn:hash - + fn:hash(value := ?, algorithm := ?, options := ?) instance of function((xs:string | xs:hexBinary | xs:base64Binary)?, xs:string?, map(*)?) as xs:hexBinary? @@ -486,7 +486,7 @@ Test of keyword arguments in fn:encode-for-uri - + fn:encode-for-uri(value := ?) instance of function(xs:string?) as xs:string @@ -495,7 +495,7 @@ Test of keyword arguments in fn:decode-from-uri - + fn:decode-from-uri(value := ?) instance of function(xs:string?) as xs:string @@ -504,7 +504,7 @@ Test of keyword arguments in fn:iri-to-uri - + fn:iri-to-uri(value := ?) instance of function(xs:string?) as xs:string @@ -513,7 +513,7 @@ Test of keyword arguments in fn:escape-html-uri - + fn:escape-html-uri(value := ?) instance of function(xs:string?) as xs:string @@ -522,7 +522,7 @@ Test of keyword arguments in fn:contains - + fn:contains(value := ?, substring := ?, collation := ?) instance of function(xs:string?, xs:string?, xs:string?) as xs:boolean @@ -531,7 +531,7 @@ Test of keyword arguments in fn:starts-with - + fn:starts-with(value := ?, substring := ?, collation := ?) instance of function(xs:string?, xs:string?, xs:string?) as xs:boolean @@ -540,7 +540,7 @@ Test of keyword arguments in fn:ends-with - + fn:ends-with(value := ?, substring := ?, collation := ?) instance of function(xs:string?, xs:string?, xs:string?) as xs:boolean @@ -549,7 +549,7 @@ Test of keyword arguments in fn:substring-before - + fn:substring-before(value := ?, substring := ?, collation := ?) instance of function(xs:string?, xs:string?, xs:string?) as xs:string @@ -558,7 +558,7 @@ Test of keyword arguments in fn:substring-after - + fn:substring-after(value := ?, substring := ?, collation := ?) instance of function(xs:string?, xs:string?, xs:string?) as xs:string @@ -567,7 +567,7 @@ Test of keyword arguments in fn:matches - + fn:matches(value := ?, pattern := ?, flags := ?) instance of function(xs:string?, xs:string, xs:string?) as xs:boolean @@ -576,7 +576,7 @@ Test of keyword arguments in fn:replace - + fn:replace(value := ?, pattern := ?, replacement := ?, flags := ?, action := ?) instance of function(xs:string?, xs:string, xs:string?, xs:string?, (fn(xs:untypedAtomic, xs:untypedAtomic*) as item()?)?) as xs:string @@ -585,7 +585,7 @@ Test of keyword arguments in fn:tokenize - + fn:tokenize(value := ?, pattern := ?, flags := ?) instance of function(xs:string?, xs:string?, xs:string?) as xs:string* @@ -594,7 +594,7 @@ Test of keyword arguments in fn:analyze-string - + fn:analyze-string(value := ?, pattern := ?, flags := ?) instance of function(xs:string?, xs:string, xs:string?) as element(fn:analyze-string-result) @@ -603,7 +603,7 @@ Test of keyword arguments in fn:contains-token - + fn:contains-token(value := ?, token := ?, collation := ?) instance of function(xs:string*, xs:string, xs:string?) as xs:boolean @@ -612,7 +612,7 @@ Test of keyword arguments in fn:resolve-uri - + fn:resolve-uri(href := ?, base := ?) instance of function(xs:string?, xs:string?) as xs:anyURI? @@ -621,7 +621,7 @@ Test of keyword arguments in fn:true - + fn:true#0 instance of function() as xs:boolean @@ -630,7 +630,7 @@ Test of keyword arguments in fn:false - + fn:false#0 instance of function() as xs:boolean @@ -639,7 +639,7 @@ Test of keyword arguments in fn:boolean - + fn:boolean(input := ?) instance of function(item()*) as xs:boolean @@ -648,7 +648,7 @@ Test of keyword arguments in fn:not - + fn:not(input := ?) instance of function(item()*) as xs:boolean @@ -657,7 +657,7 @@ Test of keyword arguments in fn:seconds - + fn:seconds(value := ?) instance of function(xs:decimal?) as xs:dayTimeDuration? @@ -666,7 +666,7 @@ Test of keyword arguments in fn:years-from-duration - + fn:years-from-duration(value := ?) instance of function(xs:duration?) as xs:integer? @@ -675,7 +675,7 @@ Test of keyword arguments in fn:months-from-duration - + fn:months-from-duration(value := ?) instance of function(xs:duration?) as xs:integer? @@ -684,7 +684,7 @@ Test of keyword arguments in fn:days-from-duration - + fn:days-from-duration(value := ?) instance of function(xs:duration?) as xs:integer? @@ -693,7 +693,7 @@ Test of keyword arguments in fn:hours-from-duration - + fn:hours-from-duration(value := ?) instance of function(xs:duration?) as xs:integer? @@ -702,7 +702,7 @@ Test of keyword arguments in fn:minutes-from-duration - + fn:minutes-from-duration(value := ?) instance of function(xs:duration?) as xs:integer? @@ -711,7 +711,7 @@ Test of keyword arguments in fn:seconds-from-duration - + fn:seconds-from-duration(value := ?) instance of function(xs:duration?) as xs:decimal? @@ -720,7 +720,7 @@ Test of keyword arguments in fn:dateTime - + fn:dateTime(date := ?, time := ?) instance of function(xs:date?, xs:time?) as xs:dateTime? @@ -729,7 +729,7 @@ Test of keyword arguments in fn:unix-dateTime - + fn:unix-dateTime(value := ?) instance of function(xs:nonNegativeInteger?) as xs:dateTimeStamp @@ -738,7 +738,7 @@ Test of keyword arguments in fn:year-from-dateTime - + fn:year-from-dateTime(value := ?) instance of function((xs:dateTime | xs:date | xs:time | xs:gYear | xs:gYearMonth | xs:gMonth | xs:gMonthDay | xs:gDay)?) as xs:integer? @@ -747,7 +747,7 @@ Test of keyword arguments in fn:month-from-dateTime - + fn:month-from-dateTime(value := ?) instance of function((xs:dateTime | xs:date | xs:time | xs:gYear | xs:gYearMonth | xs:gMonth | xs:gMonthDay | xs:gDay)?) as xs:integer? @@ -756,7 +756,7 @@ Test of keyword arguments in fn:day-from-dateTime - + fn:day-from-dateTime(value := ?) instance of function((xs:dateTime | xs:date | xs:time | xs:gYear | xs:gYearMonth | xs:gMonth | xs:gMonthDay | xs:gDay)?) as xs:integer? @@ -765,7 +765,7 @@ Test of keyword arguments in fn:hours-from-dateTime - + fn:hours-from-dateTime(value := ?) instance of function((xs:dateTime | xs:date | xs:time | xs:gYear | xs:gYearMonth | xs:gMonth | xs:gMonthDay | xs:gDay)?) as xs:integer? @@ -774,7 +774,7 @@ Test of keyword arguments in fn:minutes-from-dateTime - + fn:minutes-from-dateTime(value := ?) instance of function((xs:dateTime | xs:date | xs:time | xs:gYear | xs:gYearMonth | xs:gMonth | xs:gMonthDay | xs:gDay)?) as xs:integer? @@ -783,7 +783,7 @@ Test of keyword arguments in fn:seconds-from-dateTime - + fn:seconds-from-dateTime(value := ?) instance of function((xs:dateTime | xs:date | xs:time | xs:gYear | xs:gYearMonth | xs:gMonth | xs:gMonthDay | xs:gDay)?) as xs:decimal? @@ -792,7 +792,7 @@ Test of keyword arguments in fn:timezone-from-dateTime - + fn:timezone-from-dateTime(value := ?) instance of function((xs:dateTime | xs:date | xs:time | xs:gYear | xs:gYearMonth | xs:gMonth | xs:gMonthDay | xs:gDay)?) as xs:dayTimeDuration? @@ -801,7 +801,7 @@ Test of keyword arguments in fn:year-from-date - + fn:year-from-date(value := ?) instance of function(xs:date?) as xs:integer? @@ -810,7 +810,7 @@ Test of keyword arguments in fn:month-from-date - + fn:month-from-date(value := ?) instance of function(xs:date?) as xs:integer? @@ -819,7 +819,7 @@ Test of keyword arguments in fn:day-from-date - + fn:day-from-date(value := ?) instance of function(xs:date?) as xs:integer? @@ -828,7 +828,7 @@ Test of keyword arguments in fn:timezone-from-date - + fn:timezone-from-date(value := ?) instance of function(xs:date?) as xs:dayTimeDuration? @@ -837,7 +837,7 @@ Test of keyword arguments in fn:hours-from-time - + fn:hours-from-time(value := ?) instance of function(xs:time?) as xs:integer? @@ -846,7 +846,7 @@ Test of keyword arguments in fn:minutes-from-time - + fn:minutes-from-time(value := ?) instance of function(xs:time?) as xs:integer? @@ -855,7 +855,7 @@ Test of keyword arguments in fn:seconds-from-time - + fn:seconds-from-time(value := ?) instance of function(xs:time?) as xs:decimal? @@ -864,7 +864,7 @@ Test of keyword arguments in fn:timezone-from-time - + fn:timezone-from-time(value := ?) instance of function(xs:time?) as xs:dayTimeDuration? @@ -873,7 +873,7 @@ Test of keyword arguments in fn:adjust-dateTime-to-timezone - + fn:adjust-dateTime-to-timezone(value := ?, timezone := ?) instance of function(xs:dateTime?, xs:dayTimeDuration?) as xs:dateTime? @@ -882,7 +882,7 @@ Test of keyword arguments in fn:adjust-date-to-timezone - + fn:adjust-date-to-timezone(value := ?, timezone := ?) instance of function(xs:date?, xs:dayTimeDuration?) as xs:date? @@ -891,7 +891,7 @@ Test of keyword arguments in fn:adjust-time-to-timezone - + fn:adjust-time-to-timezone(value := ?, timezone := ?) instance of function(xs:time?, xs:dayTimeDuration?) as xs:time? @@ -900,7 +900,7 @@ Test of keyword arguments in fn:civil-timezone - + fn:civil-timezone(value := ?, place := ?) instance of function(xs:dateTime, xs:string) as xs:dayTimeDuration @@ -909,7 +909,7 @@ Test of keyword arguments in fn:format-dateTime - + fn:format-dateTime(value := ?, picture := ?, language := ?, calendar := ?, place := ?) instance of function(xs:dateTime?, xs:string, xs:string?, xs:string?, xs:string?) as xs:string? @@ -918,7 +918,7 @@ Test of keyword arguments in fn:format-date - + fn:format-date(value := ?, picture := ?, language := ?, calendar := ?, place := ?) instance of function(xs:date?, xs:string, xs:string?, xs:string?, xs:string?) as xs:string? @@ -927,7 +927,7 @@ Test of keyword arguments in fn:format-time - + fn:format-time(value := ?, picture := ?, language := ?, calendar := ?, place := ?) instance of function(xs:time?, xs:string, xs:string?, xs:string?, xs:string?) as xs:string? @@ -936,7 +936,7 @@ Test of keyword arguments in fn:parse-ietf-date - + fn:parse-ietf-date(value := ?) instance of function(xs:string?) as xs:dateTime? @@ -945,7 +945,7 @@ Test of keyword arguments in fn:resolve-QName - + fn:resolve-QName(value := ?, element := ?) instance of function(xs:string?, element()) as xs:QName? @@ -954,7 +954,7 @@ Test of keyword arguments in fn:QName - + fn:QName(uri := ?, qname := ?) instance of function(xs:string?, xs:string) as xs:QName @@ -963,7 +963,7 @@ Test of keyword arguments in fn:parse-QName - + fn:parse-QName(value := ?) instance of function(xs:string?) as xs:QName? @@ -972,7 +972,7 @@ Test of keyword arguments in fn:expanded-QName - + fn:expanded-QName(value := ?) instance of function(xs:QName?) as xs:string? @@ -981,7 +981,7 @@ Test of keyword arguments in fn:prefix-from-QName - + fn:prefix-from-QName(value := ?) instance of function(xs:QName?) as xs:NCName? @@ -990,7 +990,7 @@ Test of keyword arguments in fn:local-name-from-QName - + fn:local-name-from-QName(value := ?) instance of function(xs:QName?) as xs:NCName? @@ -999,7 +999,7 @@ Test of keyword arguments in fn:namespace-uri-from-QName - + fn:namespace-uri-from-QName(value := ?) instance of function(xs:QName?) as xs:anyURI? @@ -1008,7 +1008,7 @@ Test of keyword arguments in fn:namespace-uri-for-prefix - + fn:namespace-uri-for-prefix(value := ?, element := ?) instance of function((xs:NCName | enum(''))?, element()) as xs:anyURI? @@ -1017,7 +1017,7 @@ Test of keyword arguments in fn:in-scope-namespaces - + fn:in-scope-namespaces(element := ?) instance of function(element()) as map((xs:NCName | enum('')), xs:anyURI) @@ -1026,7 +1026,7 @@ Test of keyword arguments in fn:in-scope-prefixes - + fn:in-scope-prefixes(element := ?) instance of function(element()) as xs:string* @@ -1035,7 +1035,7 @@ Test of keyword arguments in fn:name - + fn:name(node := ?) instance of function(node()?) as xs:string @@ -1044,7 +1044,7 @@ Test of keyword arguments in fn:local-name - + fn:local-name(node := ?) instance of function(node()?) as xs:string @@ -1053,7 +1053,7 @@ Test of keyword arguments in fn:namespace-uri - + fn:namespace-uri(node := ?) instance of function(node()?) as xs:anyURI @@ -1062,7 +1062,7 @@ Test of keyword arguments in fn:number - + fn:number(value := ?) instance of function(xs:anyAtomicType?) as xs:double @@ -1071,7 +1071,7 @@ Test of keyword arguments in fn:lang - + fn:lang(language := ?, node := ?) instance of function(xs:string?, node()) as xs:boolean @@ -1080,7 +1080,7 @@ Test of keyword arguments in fn:path - + fn:path(node := ?, options := ?) instance of function(node()?, map(*)) as xs:string? @@ -1089,7 +1089,7 @@ Test of keyword arguments in fn:root - + fn:root(node := ?) instance of function(node()?) as node()? @@ -1098,7 +1098,7 @@ Test of keyword arguments in fn:has-children - + fn:has-children(node := ?) instance of function(node()?) as xs:boolean @@ -1107,7 +1107,7 @@ Test of keyword arguments in fn:distinct-ordered-nodes - + fn:distinct-ordered-nodes(nodes := ?) instance of function(node()*) as node()* @@ -1116,7 +1116,7 @@ Test of keyword arguments in fn:innermost - + fn:innermost(nodes := ?) instance of function(node()*) as node()* @@ -1125,7 +1125,7 @@ Test of keyword arguments in fn:outermost - + fn:outermost(nodes := ?) instance of function(node()*) as node()* @@ -1134,7 +1134,7 @@ Test of keyword arguments in fn:index-of - + fn:index-of(input := ?, target := ?, collation := ?) instance of function(xs:anyAtomicType*, xs:anyAtomicType, xs:string?) as xs:integer* @@ -1143,7 +1143,7 @@ Test of keyword arguments in fn:empty - + fn:empty(input := ?) instance of function(item()*) as xs:boolean @@ -1152,7 +1152,7 @@ Test of keyword arguments in fn:siblings - + fn:siblings(node := ?) instance of function(node()?) as node()* @@ -1161,7 +1161,7 @@ Test of keyword arguments in fn:exists - + fn:exists(input := ?) instance of function(item()*) as xs:boolean @@ -1170,7 +1170,7 @@ Test of keyword arguments in fn:distinct-values - + fn:distinct-values(values := ?, collation := ?) instance of function(xs:anyAtomicType*, xs:string?) as xs:anyAtomicType* @@ -1179,7 +1179,7 @@ Test of keyword arguments in fn:duplicate-values - + fn:duplicate-values(values := ?, collation := ?) instance of function(xs:anyAtomicType*, xs:string?) as xs:anyAtomicType* @@ -1188,7 +1188,7 @@ Test of keyword arguments in fn:identity - + fn:identity(input := ?) instance of function(item()*) as item()* @@ -1197,7 +1197,7 @@ Test of keyword arguments in fn:insert-before - + fn:insert-before(input := ?, position := ?, insert := ?) instance of function(item()*, xs:integer, item()*) as item()* @@ -1206,7 +1206,7 @@ Test of keyword arguments in fn:remove - + fn:remove(input := ?, positions := ?) instance of function(item()*, xs:integer*) as item()* @@ -1215,7 +1215,7 @@ Test of keyword arguments in fn:head - + fn:head(input := ?) instance of function(item()*) as item()? @@ -1224,7 +1224,7 @@ Test of keyword arguments in fn:tail - + fn:tail(input := ?) instance of function(item()*) as item()* @@ -1233,7 +1233,7 @@ Test of keyword arguments in fn:trunk - + fn:trunk(input := ?) instance of function(item()*) as item()* @@ -1242,7 +1242,7 @@ Test of keyword arguments in fn:replicate - + fn:replicate(input := ?, count := ?) instance of function(item()*, xs:nonNegativeInteger) as item()* @@ -1251,7 +1251,7 @@ Test of keyword arguments in fn:sequence-join - + fn:sequence-join(input := ?, separator := ?) instance of function(item()*, item()*) as item()* @@ -1260,7 +1260,7 @@ Test of keyword arguments in fn:foot - + fn:foot(input := ?) instance of function(item()*) as item()? @@ -1269,7 +1269,7 @@ Test of keyword arguments in fn:reverse - + fn:reverse(input := ?) instance of function(item()*) as item()* @@ -1278,7 +1278,7 @@ Test of keyword arguments in fn:subsequence - + fn:subsequence(input := ?, start := ?, length := ?) instance of function(item()*, xs:double, xs:double?) as item()* @@ -1287,7 +1287,7 @@ Test of keyword arguments in fn:subsequence-where - + fn:subsequence-where(input := ?, from := ?, to := ?) instance of function(item()*, (fn(item(), xs:integer) as xs:boolean?)?, (fn(item(), xs:integer) as xs:boolean?)?) as item()* @@ -1296,7 +1296,7 @@ Test of keyword arguments in fn:items-at - + fn:items-at(input := ?, at := ?) instance of function(item()*, xs:integer*) as item()* @@ -1305,7 +1305,7 @@ Test of keyword arguments in fn:slice - + fn:slice(input := ?, start := ?, end := ?, step := ?) instance of function(item()*, xs:integer?, xs:integer?, xs:integer?) as item()* @@ -1314,7 +1314,7 @@ Test of keyword arguments in fn:starts-with-subsequence - + fn:starts-with-subsequence(input := ?, subsequence := ?, compare := ?) instance of function(item()*, item()*, (fn(item(), item()) as xs:boolean?)?) as xs:boolean @@ -1323,7 +1323,7 @@ Test of keyword arguments in fn:ends-with-subsequence - + fn:ends-with-subsequence(input := ?, subsequence := ?, compare := ?) instance of function(item()*, item()*, (fn(item(), item()) as xs:boolean?)?) as xs:boolean @@ -1332,7 +1332,7 @@ Test of keyword arguments in fn:contains-subsequence - + fn:contains-subsequence(input := ?, subsequence := ?, compare := ?) instance of function(item()*, item()*, (fn(item(), item()) as xs:boolean?)?) as xs:boolean @@ -1341,7 +1341,7 @@ Test of keyword arguments in fn:unordered - + fn:unordered(input := ?) instance of function(item()*) as item()* @@ -1350,7 +1350,7 @@ Test of keyword arguments in fn:void - + fn:void(input := ?) instance of function(item()*) as empty-sequence() @@ -1359,7 +1359,7 @@ Test of keyword arguments in fn:zero-or-one - + fn:zero-or-one(input := ?) instance of function(item()*) as item()? @@ -1368,7 +1368,7 @@ Test of keyword arguments in fn:one-or-more - + fn:one-or-more(input := ?) instance of function(item()*) as item()+ @@ -1377,7 +1377,7 @@ Test of keyword arguments in fn:exactly-one - + fn:exactly-one(input := ?) instance of function(item()*) as item() @@ -1386,7 +1386,7 @@ Test of keyword arguments in fn:deep-equal - + fn:deep-equal(input1 := ?, input2 := ?, options := ?) instance of function(item()*, item()*, (xs:string | map(*))?) as xs:boolean @@ -1395,7 +1395,7 @@ Test of keyword arguments in fn:count - + fn:count(input := ?) instance of function(item()*) as xs:integer @@ -1404,7 +1404,7 @@ Test of keyword arguments in fn:avg - + fn:avg(values := ?) instance of function(xs:anyAtomicType*) as xs:anyAtomicType? @@ -1413,7 +1413,7 @@ Test of keyword arguments in fn:max - + fn:max(values := ?, collation := ?) instance of function(xs:anyAtomicType*, xs:string?) as xs:anyAtomicType? @@ -1422,7 +1422,7 @@ Test of keyword arguments in fn:min - + fn:min(values := ?, collation := ?) instance of function(xs:anyAtomicType*, xs:string?) as xs:anyAtomicType? @@ -1431,7 +1431,7 @@ Test of keyword arguments in fn:sum - + fn:sum(values := ?, zero := ?) instance of function(xs:anyAtomicType*, xs:anyAtomicType?) as xs:anyAtomicType? @@ -1440,7 +1440,7 @@ Test of keyword arguments in fn:id - + fn:id(values := ?, node := ?) instance of function(xs:string*, node()) as element()* @@ -1449,7 +1449,7 @@ Test of keyword arguments in fn:element-with-id - + fn:element-with-id(values := ?, node := ?) instance of function(xs:string*, node()) as element()* @@ -1458,7 +1458,7 @@ Test of keyword arguments in fn:idref - + fn:idref(values := ?, node := ?) instance of function(xs:string*, node()) as node()* @@ -1467,7 +1467,7 @@ Test of keyword arguments in fn:doc - + fn:doc(source := ?) instance of function(xs:string?) as document-node()? @@ -1476,7 +1476,7 @@ Test of keyword arguments in fn:doc-available - + fn:doc-available(source := ?) instance of function(xs:string?) as xs:boolean @@ -1485,7 +1485,7 @@ Test of keyword arguments in fn:collection - + fn:collection(source := ?) instance of function(xs:string?) as item()* @@ -1494,7 +1494,7 @@ Test of keyword arguments in fn:uri-collection - + fn:uri-collection(source := ?) instance of function(xs:string?) as xs:anyURI* @@ -1503,7 +1503,7 @@ Test of keyword arguments in fn:unparsed-text - + fn:unparsed-text(source := ?, options := ?) instance of function(xs:string?, (xs:string | map(*))?) as xs:string? @@ -1512,7 +1512,7 @@ Test of keyword arguments in fn:unparsed-text-lines - + fn:unparsed-text-lines(source := ?, options := ?) instance of function(xs:string?, (xs:string | map(*))?) as xs:string* @@ -1521,7 +1521,7 @@ Test of keyword arguments in fn:unparsed-text-available - + fn:unparsed-text-available(source := ?, options := ?) instance of function(xs:string?, (xs:string | map(*))?) as xs:boolean @@ -1530,7 +1530,7 @@ Test of keyword arguments in fn:environment-variable - + fn:environment-variable(name := ?) instance of function(xs:string) as xs:string? @@ -1539,7 +1539,7 @@ Test of keyword arguments in fn:available-environment-variables - + fn:available-environment-variables#0 instance of function() as xs:string* @@ -1548,7 +1548,7 @@ Test of keyword arguments in fn:generate-id - + fn:generate-id(node := ?) instance of function(node()?) as xs:string @@ -1557,7 +1557,7 @@ Test of keyword arguments in fn:parse-xml - + fn:parse-xml(value := ?, options := ?) instance of function(xs:string?, map(*)?) as document-node(*)? @@ -1566,7 +1566,7 @@ Test of keyword arguments in fn:parse-xml-fragment - + fn:parse-xml-fragment(value := ?, options := ?) instance of function(xs:string?, map(*)?) as document-node()? @@ -1575,7 +1575,7 @@ Test of keyword arguments in fn:serialize - + fn:serialize(input := ?, options := ?) instance of function(item()*, (element(output:serialization-parameters) | map(*))?) as xs:string @@ -1584,7 +1584,7 @@ Test of keyword arguments in fn:parse-html - + fn:parse-html(html := ?, options := ?) instance of function((xs:string | xs:hexBinary | xs:base64Binary)?, map(*)?) as document-node(*:html)? @@ -1593,7 +1593,7 @@ Test of keyword arguments in fn:position - + fn:position#0 instance of function() as xs:integer @@ -1602,7 +1602,7 @@ Test of keyword arguments in fn:last - + fn:last#0 instance of function() as xs:integer @@ -1611,7 +1611,7 @@ Test of keyword arguments in fn:current-dateTime - + fn:current-dateTime#0 instance of function() as xs:dateTimeStamp @@ -1620,7 +1620,7 @@ Test of keyword arguments in fn:current-date - + fn:current-date#0 instance of function() as xs:date @@ -1629,7 +1629,7 @@ Test of keyword arguments in fn:current-time - + fn:current-time#0 instance of function() as xs:time @@ -1638,7 +1638,7 @@ Test of keyword arguments in fn:implicit-timezone - + fn:implicit-timezone#0 instance of function() as xs:dayTimeDuration @@ -1647,7 +1647,7 @@ Test of keyword arguments in fn:default-collation - + fn:default-collation#0 instance of function() as xs:string @@ -1656,7 +1656,7 @@ Test of keyword arguments in fn:default-language - + fn:default-language#0 instance of function() as xs:language @@ -1665,7 +1665,7 @@ Test of keyword arguments in fn:static-base-uri - + fn:static-base-uri#0 instance of function() as xs:anyURI? @@ -1674,7 +1674,7 @@ Test of keyword arguments in fn:function-lookup - + fn:function-lookup(name := ?, arity := ?) instance of function(xs:QName, xs:integer) as fn(*)? @@ -1683,7 +1683,7 @@ Test of keyword arguments in fn:function-name - + fn:function-name(function := ?) instance of function(fn(*)) as xs:QName? @@ -1692,7 +1692,7 @@ Test of keyword arguments in fn:function-arity - + fn:function-arity(function := ?) instance of function(fn(*)) as xs:integer @@ -1701,7 +1701,7 @@ Test of keyword arguments in fn:function-annotations - + fn:function-annotations(function := ?) instance of function(fn(*)) as map(xs:QName, xs:anyAtomicType*)* @@ -1710,7 +1710,7 @@ Test of keyword arguments in fn:for-each - + fn:for-each(input := ?, action := ?) instance of function(item()*, fn(item(), xs:integer) as item()*) as item()* @@ -1719,7 +1719,7 @@ Test of keyword arguments in fn:filter - + fn:filter(input := ?, predicate := ?) instance of function(item()*, fn(item(), xs:integer) as xs:boolean?) as item()* @@ -1728,7 +1728,7 @@ Test of keyword arguments in fn:fold-left - + fn:fold-left(input := ?, zero := ?, action := ?) instance of function(item()*, item()*, fn(item()*, item(), xs:integer) as item()*) as item()* @@ -1737,7 +1737,7 @@ Test of keyword arguments in fn:fold-right - + fn:fold-right(input := ?, zero := ?, action := ?) instance of function(item()*, item()*, fn(item(), item()*, xs:integer) as item()*) as item()* @@ -1746,7 +1746,7 @@ Test of keyword arguments in fn:chain - + fn:chain(input := ?, functions := ?) instance of function(item()*, fn(*)*) as item()* @@ -1755,7 +1755,7 @@ Test of keyword arguments in fn:while-do - + fn:while-do(input := ?, predicate := ?, action := ?) instance of function(item()*, fn(item()*, xs:integer) as xs:boolean?, fn(item()*, xs:integer) as item()*) as item()* @@ -1764,7 +1764,7 @@ Test of keyword arguments in fn:do-until - + fn:do-until(input := ?, action := ?, predicate := ?) instance of function(item()*, fn(item()*, xs:integer) as item()*, fn(item()*, xs:integer) as xs:boolean?) as item()* @@ -1773,7 +1773,7 @@ Test of keyword arguments in fn:for-each-pair - + fn:for-each-pair(input1 := ?, input2 := ?, action := ?) instance of function(item()*, item()*, fn(item(), item(), xs:integer) as item()*) as item()* @@ -1782,7 +1782,7 @@ Test of keyword arguments in fn:sort - + fn:sort(input := ?, collations := ?, keys := ?, orders := ?) instance of function(item()*, xs:string*, (fn(item()) as xs:anyAtomicType*)*, enum('ascending', 'descending')*) as item()* @@ -1791,7 +1791,7 @@ Test of keyword arguments in fn:sort-with - + fn:sort-with(input := ?, comparators := ?) instance of function(item()*, (fn(item(), item()) as xs:integer)*) as item()* @@ -1800,7 +1800,7 @@ Test of keyword arguments in fn:transitive-closure - + fn:transitive-closure(node := ?, step := ?) instance of function(node()?, fn(node()) as node()*) as node()* @@ -1809,7 +1809,7 @@ Test of keyword arguments in fn:apply - + fn:apply(function := ?, arguments := ?) instance of function(fn(*), array(*)) as item()* @@ -1818,7 +1818,7 @@ Test of keyword arguments in fn:op - + fn:op(operator := ?) instance of function(xs:string) as fn(item()*, item()*) as item()* @@ -1827,7 +1827,7 @@ Test of keyword arguments in fn:atomic-type-annotation - + fn:atomic-type-annotation(value := ?) instance of function(xs:anyAtomicType) as fn:schema-type-record @@ -1836,7 +1836,7 @@ Test of keyword arguments in fn:node-type-annotation - + fn:node-type-annotation(node := ?) instance of function((element() | attribute())) as fn:schema-type-record @@ -1845,7 +1845,7 @@ Test of keyword arguments in fn:schema-type - + fn:schema-type(name := ?) instance of function(xs:QName) as fn:schema-type-record @@ -1854,7 +1854,7 @@ Test of keyword arguments in fn:atomic-equal - + fn:atomic-equal(value1 := ?, value2 := ?) instance of function(xs:anyAtomicType, xs:anyAtomicType) as xs:boolean @@ -1863,7 +1863,7 @@ Test of keyword arguments in map:merge - + map:merge(maps := ?, options := ?) instance of function(map(*)*, map(*)?) as map(*) @@ -1872,7 +1872,7 @@ Test of keyword arguments in map:of-pairs - + map:of-pairs(input := ?, options := ?) instance of function(fn:key-value-pair, map(*)) as map(*) @@ -1881,7 +1881,7 @@ Test of keyword arguments in map:keys - + map:keys(map := ?) instance of function(map(*)) as xs:anyAtomicType* @@ -1890,7 +1890,7 @@ Test of keyword arguments in map:keys-where - + map:keys-where(map := ?, predicate := ?) instance of function(map(*), fn($key as xs:anyAtomicType, $value as item()*) as xs:boolean?) as xs:anyAtomicType* @@ -1899,7 +1899,7 @@ Test of keyword arguments in map:items - + map:items(map := ?) instance of function(map(*)) as item()* @@ -1908,7 +1908,7 @@ Test of keyword arguments in map:entries - + map:entries(map := ?) instance of function(map(*)) as map(*)* @@ -1917,7 +1917,7 @@ Test of keyword arguments in map:pairs - + map:pairs(map := ?) instance of function(map(*)) as fn:key-value-pair @@ -1926,7 +1926,7 @@ Test of keyword arguments in map:contains - + map:contains(map := ?, key := ?) instance of function(map(*), xs:anyAtomicType) as xs:boolean @@ -1935,7 +1935,7 @@ Test of keyword arguments in map:empty - + map:empty(map := ?) instance of function(map(*)) as xs:boolean @@ -1944,7 +1944,7 @@ Test of keyword arguments in map:get - + map:get(map := ?, key := ?, fallback := ?) instance of function(map(*), xs:anyAtomicType, (fn($key as xs:anyAtomicType) as item()*)?) as item()* @@ -1953,7 +1953,7 @@ Test of keyword arguments in map:find - + map:find(input := ?, key := ?) instance of function(item()*, xs:anyAtomicType) as array(*) @@ -1962,7 +1962,7 @@ Test of keyword arguments in map:put - + map:put(map := ?, key := ?, value := ?) instance of function(map(*), xs:anyAtomicType, item()*) as map(*) @@ -1971,7 +1971,7 @@ Test of keyword arguments in map:entry - + map:entry(key := ?, value := ?) instance of function(xs:anyAtomicType, item()*) as map(*) @@ -1980,7 +1980,7 @@ Test of keyword arguments in map:pair - + map:pair(key := ?, value := ?) instance of function(xs:anyAtomicType, item()*) as fn:key-value-pair @@ -1989,7 +1989,7 @@ Test of keyword arguments in map:remove - + map:remove(map := ?, keys := ?) instance of function(map(*), xs:anyAtomicType*) as map(*) @@ -1998,7 +1998,7 @@ Test of keyword arguments in map:for-each - + map:for-each(map := ?, action := ?) instance of function(map(*), fn($key as xs:anyAtomicType, $value as item()*) as item()*) as item()* @@ -2007,7 +2007,7 @@ Test of keyword arguments in map:filter - + map:filter(map := ?, predicate := ?) instance of function(map(*), fn($key as xs:anyAtomicType, $value as item()*) as xs:boolean?) as map(*) @@ -2016,7 +2016,7 @@ Test of keyword arguments in map:replace - + map:replace(map := ?, key := ?, action := ?) instance of function(map(*), xs:anyAtomicType, fn($value as item()*) as item()*) as map(*) @@ -2025,7 +2025,7 @@ Test of keyword arguments in map:build - + map:build(input := ?, keys := ?, value := ?, options := ?) instance of function(item()*, (fn($item as item(), $position as xs:integer) as xs:anyAtomicType*)?, (fn($item as item(), $position as xs:integer) as item()*)?, map(*)) as map(*) @@ -2034,7 +2034,7 @@ Test of keyword arguments in map:size - + map:size(map := ?) instance of function(map(*)) as xs:integer @@ -2043,7 +2043,7 @@ Test of keyword arguments in fn:collation - + fn:collation(options := ?) instance of function(map(*)) as xs:string @@ -2052,7 +2052,7 @@ Test of keyword arguments in fn:collation-available - + fn:collation-available(collation := ?, usage := ?) instance of function(xs:string, enum('compare', 'key', 'substring')*) as xs:boolean @@ -2061,7 +2061,7 @@ Test of keyword arguments in fn:collation-key - + fn:collation-key(value := ?, collation := ?) instance of function(xs:string, xs:string?) as xs:base64Binary @@ -2070,7 +2070,7 @@ Test of keyword arguments in fn:json-to-xml - + fn:json-to-xml(value := ?, options := ?) instance of function(xs:string?, map(*)?) as document-node(fn:*)? @@ -2079,7 +2079,7 @@ Test of keyword arguments in fn:xml-to-json - + fn:xml-to-json(node := ?, options := ?) instance of function(node()?, map(*)?) as xs:string? @@ -2088,7 +2088,7 @@ Test of keyword arguments in fn:elements-to-maps - + fn:elements-to-maps(elements := ?, options := ?) instance of function(element()*, map(*)) as map(*)* @@ -2097,7 +2097,7 @@ Test of keyword arguments in fn:parse-csv - + fn:parse-csv(value := ?, options := ?) instance of function(xs:string?, map(*)?) as fn:parsed-csv-structure-record @@ -2106,7 +2106,7 @@ Test of keyword arguments in fn:csv-to-arrays - + fn:csv-to-arrays(value := ?, options := ?) instance of function(xs:string?, map(*)?) as array(xs:string)* @@ -2115,7 +2115,7 @@ Test of keyword arguments in fn:csv-to-xml - + fn:csv-to-xml(value := ?, options := ?) instance of function(xs:string?, map(*)?) as document-node(fn:csv)? @@ -2124,7 +2124,7 @@ Test of keyword arguments in fn:parse-json - + fn:parse-json(value := ?, options := ?) instance of function(xs:string?, map(*)?) as item()? @@ -2133,7 +2133,7 @@ Test of keyword arguments in fn:json-doc - + fn:json-doc(source := ?, options := ?) instance of function(xs:string?, map(*)?) as item()? @@ -2142,7 +2142,7 @@ Test of keyword arguments in array:size - + array:size(array := ?) instance of function(array(*)) as xs:integer @@ -2151,7 +2151,7 @@ Test of keyword arguments in array:empty - + array:empty(array := ?) instance of function(array(*)) as xs:boolean @@ -2160,7 +2160,7 @@ Test of keyword arguments in array:get - + array:get(array := ?, position := ?, fallback := ?) instance of function(array(*), xs:integer, (fn(xs:integer) as item()*)?) as item()* @@ -2169,7 +2169,7 @@ Test of keyword arguments in array:put - + array:put(array := ?, position := ?, member := ?) instance of function(array(*), xs:integer, item()*) as array(*) @@ -2178,7 +2178,7 @@ Test of keyword arguments in array:replace - + array:replace(array := ?, position := ?, action := ?) instance of function(array(*), xs:integer, fn(item()*) as item()*) as array(*) @@ -2187,7 +2187,7 @@ Test of keyword arguments in array:append - + array:append(array := ?, member := ?) instance of function(array(*), item()*) as array(*) @@ -2196,7 +2196,7 @@ Test of keyword arguments in array:join - + array:join(arrays := ?, separator := ?) instance of function(array(*)*, array(*)?) as array(*) @@ -2205,7 +2205,7 @@ Test of keyword arguments in array:subarray - + array:subarray(array := ?, start := ?, length := ?) instance of function(array(*), xs:integer, xs:integer?) as array(*) @@ -2214,7 +2214,7 @@ Test of keyword arguments in array:index-of - + array:index-of(array := ?, target := ?, collation := ?) instance of function(array(*), item()*, xs:string?) as xs:integer* @@ -2223,7 +2223,7 @@ Test of keyword arguments in array:index-where - + array:index-where(array := ?, predicate := ?) instance of function(array(*), fn(item()*, xs:integer) as xs:boolean?) as xs:integer* @@ -2232,7 +2232,7 @@ Test of keyword arguments in array:slice - + array:slice(array := ?, start := ?, end := ?, step := ?) instance of function(array(*), xs:integer?, xs:integer?, xs:integer?) as array(*) @@ -2241,7 +2241,7 @@ Test of keyword arguments in array:remove - + array:remove(array := ?, positions := ?) instance of function(array(*), xs:integer*) as array(*) @@ -2250,7 +2250,7 @@ Test of keyword arguments in array:insert-before - + array:insert-before(array := ?, position := ?, member := ?) instance of function(array(*), xs:integer, item()*) as array(*) @@ -2259,7 +2259,7 @@ Test of keyword arguments in array:head - + array:head(array := ?) instance of function(array(*)) as item()* @@ -2268,7 +2268,7 @@ Test of keyword arguments in array:foot - + array:foot(array := ?) instance of function(array(*)) as item()* @@ -2277,7 +2277,7 @@ Test of keyword arguments in array:tail - + array:tail(array := ?) instance of function(array(*)) as array(*) @@ -2286,7 +2286,7 @@ Test of keyword arguments in array:trunk - + array:trunk(array := ?) instance of function(array(*)) as array(*) @@ -2295,7 +2295,7 @@ Test of keyword arguments in array:reverse - + array:reverse(array := ?) instance of function(array(*)) as array(*) @@ -2304,7 +2304,7 @@ Test of keyword arguments in array:for-each - + array:for-each(array := ?, action := ?) instance of function(array(*), fn(item()*, xs:integer) as item()*) as array(*) @@ -2313,7 +2313,7 @@ Test of keyword arguments in array:filter - + array:filter(array := ?, predicate := ?) instance of function(array(*), fn(item()*, xs:integer) as xs:boolean?) as array(*) @@ -2322,7 +2322,7 @@ Test of keyword arguments in array:fold-left - + array:fold-left(array := ?, zero := ?, action := ?) instance of function(array(*), item()*, fn(item()*, item()*, xs:integer) as item()*) as item()* @@ -2331,7 +2331,7 @@ Test of keyword arguments in array:fold-right - + array:fold-right(array := ?, zero := ?, action := ?) instance of function(array(*), item()*, fn(item()*, item()*, xs:integer) as item()*) as item()* @@ -2340,7 +2340,7 @@ Test of keyword arguments in array:for-each-pair - + array:for-each-pair(array1 := ?, array2 := ?, action := ?) instance of function(array(*), array(*), fn(item()*, item()*, xs:integer) as item()*) as array(*) @@ -2349,7 +2349,7 @@ Test of keyword arguments in array:build - + array:build(input := ?, action := ?) instance of function(item()*, (fn(item(), xs:integer) as item()*)?) as array(*) @@ -2358,7 +2358,7 @@ Test of keyword arguments in array:members - + array:members(array := ?) instance of function(array(*)) as record(value as item()*)* @@ -2367,7 +2367,7 @@ Test of keyword arguments in array:split - + array:split(array := ?) instance of function(array(*)) as array(*)* @@ -2376,7 +2376,7 @@ Test of keyword arguments in array:of-members - + array:of-members(input := ?) instance of function(record(value as item()*)*) as array(*) @@ -2385,7 +2385,7 @@ Test of keyword arguments in array:sort - + array:sort(array := ?, collations := ?, keys := ?, orders := ?) instance of function(array(*), xs:string*, (fn(item()*) as xs:anyAtomicType*)*, enum('ascending', 'descending')*) as item()* @@ -2394,7 +2394,7 @@ Test of keyword arguments in array:flatten - + array:flatten(input := ?) instance of function(item()*) as item()* @@ -2403,7 +2403,7 @@ Test of keyword arguments in array:items - + array:items(array := ?) instance of function(array(*)) as item()* @@ -2412,7 +2412,7 @@ Test of keyword arguments in fn:load-xquery-module - + fn:load-xquery-module(module-uri := ?, options := ?) instance of function(xs:string, map(*)?) as fn:load-xquery-module-record @@ -2421,7 +2421,7 @@ Test of keyword arguments in fn:transform - + fn:transform(options := ?) instance of function(map(*)) as map(*) @@ -2430,7 +2430,7 @@ Test of keyword arguments in fn:random-number-generator - + fn:random-number-generator(seed := ?) instance of function(xs:anyAtomicType?) as fn:random-number-generator-record @@ -2439,7 +2439,7 @@ Test of keyword arguments in fn:every - + fn:every(input := ?, predicate := ?) instance of function(item()*, (fn(item(), xs:integer) as xs:boolean?)?) as xs:boolean @@ -2448,7 +2448,7 @@ Test of keyword arguments in fn:char - + fn:char(value := ?) instance of function((xs:string | xs:positiveInteger)) as xs:string @@ -2457,7 +2457,7 @@ Test of keyword arguments in fn:characters - + fn:characters(value := ?) instance of function(xs:string?) as xs:string* @@ -2466,7 +2466,7 @@ Test of keyword arguments in fn:graphemes - + fn:graphemes(value := ?) instance of function(xs:string?) as xs:string* @@ -2475,7 +2475,7 @@ Test of keyword arguments in fn:highest - + fn:highest(input := ?, collation := ?, key := ?) instance of function(item()*, xs:string?, (fn(item()) as xs:anyAtomicType*)?) as item()* @@ -2484,7 +2484,7 @@ Test of keyword arguments in fn:index-where - + fn:index-where(input := ?, predicate := ?) instance of function(item()*, fn(item(), xs:integer) as xs:boolean?) as xs:integer* @@ -2493,7 +2493,7 @@ Test of keyword arguments in fn:is-NaN - + fn:is-NaN(value := ?) instance of function(xs:anyAtomicType) as xs:boolean @@ -2502,7 +2502,7 @@ Test of keyword arguments in fn:take-while - + fn:take-while(input := ?, predicate := ?) instance of function(item()*, fn(item(), xs:integer) as xs:boolean?) as item()* @@ -2511,7 +2511,7 @@ Test of keyword arguments in fn:lowest - + fn:lowest(input := ?, collation := ?, key := ?) instance of function(item()*, xs:string?, (fn(item()) as xs:anyAtomicType*)?) as item()* @@ -2520,7 +2520,7 @@ Test of keyword arguments in fn:some - + fn:some(input := ?, predicate := ?) instance of function(item()*, (fn(item(), xs:integer) as xs:boolean?)?) as xs:boolean @@ -2529,7 +2529,7 @@ Test of keyword arguments in fn:all-equal - + fn:all-equal(values := ?, collation := ?) instance of function(xs:anyAtomicType*, xs:string?) as xs:boolean @@ -2538,7 +2538,7 @@ Test of keyword arguments in fn:all-different - + fn:all-different(values := ?, collation := ?) instance of function(xs:anyAtomicType*, xs:string?) as xs:boolean @@ -2547,7 +2547,7 @@ Test of keyword arguments in fn:parse-uri - + fn:parse-uri(value := ?, options := ?) instance of function(xs:string?, map(*)?) as fn:uri-structure-record @@ -2556,7 +2556,7 @@ Test of keyword arguments in fn:build-uri - + fn:build-uri(parts := ?, options := ?) instance of function(fn:uri-structure-record, map(*)?) as xs:string @@ -2565,7 +2565,7 @@ Test of keyword arguments in fn:partition - + fn:partition(input := ?, split-when := ?) instance of function(item()*, fn(item()*, item(), xs:integer) as xs:boolean?) as array(item())* @@ -2574,7 +2574,7 @@ Test of keyword arguments in fn:scan-left - + fn:scan-left(input := ?, zero := ?, action := ?) instance of function(item()*, item()*, fn(item()*, item()) as item()*) as array(*)* @@ -2583,7 +2583,7 @@ Test of keyword arguments in fn:scan-right - + fn:scan-right(input := ?, zero := ?, action := ?) instance of function(item()*, item()*, fn(item()*, item()) as item()*) as array(*)* @@ -2592,7 +2592,7 @@ Test of keyword arguments in fn:invisible-xml - + fn:invisible-xml(grammar := ?, options := ?) instance of function((xs:string | element(ixml))?, map(*)?) as fn(xs:string) as document-node() @@ -2601,7 +2601,7 @@ Test of keyword arguments in fn:pin - + fn:pin(input := ?) instance of function((map(*)|array(*))) as (map(*)|array(*)) @@ -2610,7 +2610,7 @@ Test of keyword arguments in fn:label - + fn:label(input := ?) instance of function(item()?) as map(xs:string, item()*)?