summaryrefslogtreecommitdiff
path: root/libxerces-c/tests/psvi-writer/testscript
blob: 5c3b58f0a1a72ea47a58db537d258f3f9dd9b6f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
}