From 400651ba7fd2f80155348ed39fc02e2aa9892fb9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 8 Nov 2017 14:25:59 +0200 Subject: 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). --- tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx') 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; -- cgit v1.1