diff options
Diffstat (limited to 'libxerces-c/tests/psvi-writer/testscript')
-rw-r--r-- | libxerces-c/tests/psvi-writer/testscript | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libxerces-c/tests/psvi-writer/testscript b/libxerces-c/tests/psvi-writer/testscript new file mode 100644 index 0000000..5c3b58f --- /dev/null +++ b/libxerces-c/tests/psvi-writer/testscript @@ -0,0 +1,21 @@ +# file : tests/psvi-writer/testscript +# license : Apache License 2.0; see accompanying LICENSE file + +: utf8 +: +{ + cat <<EOI >=f; + <?xml version="1.0" encoding="UTF-8"?> + <msg> + Mitteleuropäische catégorie + </msg> + EOI + + $* f >>~%EOO% + %.+ + %\s*<textContent>% + %\s*Mitteleuropäische catégorie% + %\s*</textContent>% + %.+ + EOO +} |