Closed brunato closed 2 years ago
Hi,
the test case "fn-replace-58" requires a spec="XP3.1+" because it uses the arrow operator =>:
spec="XP3.1+"
=>
file: fn/replace.xml
fn/replace.xml
<test-case name="fn-replace-58"> <description>Evaluation of replace with emoji. Saxon bug 5174.</description> <created by="Michael Kay after Martin Honnen" on="2021-11-24"/> <test>let $in := codepoints-to-string((72, 101, 108, 108, 111, 32, 128512, 128515, 128516, 32, 128156, 129446, 32, 252, 228, 246, 36)) return replace($in, "\p{IsEmoticons}+", "") => string-to-codepoints()</test> <result> <assert-deep-eq>72, 101, 108, 108, 111, 32, 32, 128156, 129446, 32, 252, 228, 246, 36</assert-deep-eq> </result> </test-case>
Thank you
Fixed as suggested.
Hi,
the test case "fn-replace-58" requires a
spec="XP3.1+"
because it uses the arrow operator=>
:file:
fn/replace.xml
Thank you