aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/tree/encoding/char/iso-8859-1
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/char/iso-8859-1
parent81bd19a5f232c84993c48535068c1791e937accc (diff)
Remove tests for character reference values unsupported by Xerces-C++ 3.2HEADmaster
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/char/iso-8859-1')
-rw-r--r--tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx2
-rw-r--r--tests/cxx/tree/encoding/char/iso-8859-1/test.std2
-rw-r--r--tests/cxx/tree/encoding/char/iso-8859-1/test.xml2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx b/tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx
index 61a8f46..f622a54 100644
--- a/tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx
+++ b/tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx
@@ -43,7 +43,7 @@ main (int argc, char* argv[])
if (s[0] != "abc" ||
s[1] != "\xE6" ||
s[2] != "\xA2\xA3\xA4\xA5" ||
- s[3] != "???")
+ s[3] != "??")
{
cerr << "invalid encoding" << endl;
return 1;
diff --git a/tests/cxx/tree/encoding/char/iso-8859-1/test.std b/tests/cxx/tree/encoding/char/iso-8859-1/test.std
index d26b30f..cb73faa 100644
--- a/tests/cxx/tree/encoding/char/iso-8859-1/test.std
+++ b/tests/cxx/tree/encoding/char/iso-8859-1/test.std
@@ -3,7 +3,7 @@
<a>abc</a>
<a></a>
<a></a>
- <a>???</a>
+ <a>??</a>
<b>abc</b>
<b>ac</b>
<b>bc</b>
diff --git a/tests/cxx/tree/encoding/char/iso-8859-1/test.xml b/tests/cxx/tree/encoding/char/iso-8859-1/test.xml
index 9c9e752..cc05f8d 100644
--- a/tests/cxx/tree/encoding/char/iso-8859-1/test.xml
+++ b/tests/cxx/tree/encoding/char/iso-8859-1/test.xml
@@ -5,7 +5,7 @@
<a>abc</a>
<a>&#xE6;</a>
<a>&#xA2;&#xA3;&#xA4;&#xA5;</a>
- <a>&#x100;&#xAAAA;&#xAAAAA;</a>
+ <a>&#x100;&#xAAAA;</a>
<b>abc</b>
<b>a&#xE2;c</b>