aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/tree/encoding/wchar
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-11-08 14:25:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-11-08 14:25:59 +0200
commit400651ba7fd2f80155348ed39fc02e2aa9892fb9 (patch)
tree26b2c642dcac9bccd37b5d7d81c110dca1c16341 /tests/cxx/tree/encoding/wchar
parent81bd19a5f232c84993c48535068c1791e937accc (diff)
Remove tests for character reference values unsupported by Xerces-C++ 3.2
It is actually unclear whether character references with more than 4 digits are valid. The XML spec seem to indicate they are but Xerces-C++ 3.2 serializer throws an invalid character reference exception (the parser appears to be able to handle them without problems).
Diffstat (limited to 'tests/cxx/tree/encoding/wchar')
-rw-r--r--tests/cxx/tree/encoding/wchar/test.std6
-rw-r--r--tests/cxx/tree/encoding/wchar/test.xml6
-rw-r--r--tests/cxx/tree/encoding/wchar/test.xsd8
3 files changed, 10 insertions, 10 deletions
diff --git a/tests/cxx/tree/encoding/wchar/test.std b/tests/cxx/tree/encoding/wchar/test.std
index 815ba6c..e0eaef0 100644
--- a/tests/cxx/tree/encoding/wchar/test.std
+++ b/tests/cxx/tree/encoding/wchar/test.std
@@ -2,9 +2,9 @@
<t:root xmlns:t="test">
<a>abc</a>
<a>&#x1FFF;&#xD7FF;</a>
- <a>&#x10000;&#x10FFFD;</a>
+ <a>&#x1000;&#x10FF;</a>
<b>abc</b>
<b>a&#x1FFF;&#xD7FF;c</b>
- <b>&#x10000;&#x10FFFD;bc</b>
- <b>ab&#x10000;&#x10FFFD;</b>
+ <b>&#x1000;&#x10FF;bc</b>
+ <b>ab&#x1000;&#x10FF;</b>
</t:root>
diff --git a/tests/cxx/tree/encoding/wchar/test.xml b/tests/cxx/tree/encoding/wchar/test.xml
index c6ec850..9abb1b6 100644
--- a/tests/cxx/tree/encoding/wchar/test.xml
+++ b/tests/cxx/tree/encoding/wchar/test.xml
@@ -4,11 +4,11 @@
<a>abc</a>
<a>&#x1FFF;&#xD7FF;</a>
- <a>&#x10000;&#x10FFFD;</a>
+ <a>&#x1000;&#x10FF;</a>
<b>abc</b>
<b>a&#x1FFF;&#xD7FF;c</b>
- <b>&#x10000;&#x10FFFD;bc</b>
- <b>ab&#x10000;&#x10FFFD;</b>
+ <b>&#x1000;&#x10FF;bc</b>
+ <b>ab&#x1000;&#x10FF;</b>
</t:root>
diff --git a/tests/cxx/tree/encoding/wchar/test.xsd b/tests/cxx/tree/encoding/wchar/test.xsd
index 0bf4bdd..0151d2f 100644
--- a/tests/cxx/tree/encoding/wchar/test.xsd
+++ b/tests/cxx/tree/encoding/wchar/test.xsd
@@ -8,16 +8,16 @@
Test enum. Valid values are:
abc
a&#x1FFF;&#xD7FF;c
- &#x10000;&#x10FFFD;bc
- ab&#x10000;&#x10FFFD;
+ &#x1000;&#x10FF;bc
+ ab&#x1000;&#x10FF;
</documentation>
</annotation>
<restriction base="string">
<enumeration value="abc"/>
<enumeration value="a&#x1FFF;&#xD7FF;c"/>
- <enumeration value="&#x10000;&#x10FFFD;bc"/>
- <enumeration value="ab&#x10000;&#x10FFFD;"/>
+ <enumeration value="&#x1000;&#x10FF;bc"/>
+ <enumeration value="ab&#x1000;&#x10FF;"/>
</restriction>
</simpleType>