Description: Remove tests for character ref. values unsupported by Xerces-C++ 3.2 Author: Boris Kolpackov Origin: https://git.codesynthesis.com/cgit/xsd/xsd/patch/?id=400651ba7fd2f80155348ed39fc02e2aa9892fb9 Bug: Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881108 Last-Update: 2017-11-08 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ Index: trunk/xsd/tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx =================================================================== --- trunk.orig/xsd/tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx +++ trunk/xsd/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; Index: trunk/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.std =================================================================== --- trunk.orig/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.std +++ trunk/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.std @@ -3,7 +3,7 @@ abc æ ¢£¤¥ - ??? + ?? abc aâc âòbc Index: trunk/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.xml =================================================================== --- trunk.orig/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.xml +++ trunk/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.xml @@ -5,7 +5,7 @@ abc æ ¢£¤¥ - Āꪪ򪪪 + Āꪪ abc aâc Index: trunk/xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx =================================================================== --- trunk.orig/xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx +++ trunk/xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx @@ -32,8 +32,7 @@ main (int argc, char* argv[]) if (s[0] != "abc" || s[1] != "\xD5\x95" || - s[2] != "\xEA\xAA\xAA" || - s[3] != "\xF2\xAA\xAA\xAA") + s[2] != "\xEA\xAA\xAA") { cerr << "invalid encoding" << endl; return 1; @@ -45,8 +44,7 @@ main (int argc, char* argv[]) if (s[0] != strenum::abc || s[1] != strenum::a_c || - s[2] != strenum::cxx_bc || - s[3] != strenum::ab_) + s[2] != strenum::cxx_bc) { cerr << "invalid encoding" << endl; return 1; Index: trunk/xsd/tests/cxx/tree/encoding/char/utf-8/test.std =================================================================== --- trunk.orig/xsd/tests/cxx/tree/encoding/char/utf-8/test.std +++ trunk/xsd/tests/cxx/tree/encoding/char/utf-8/test.std @@ -3,9 +3,7 @@ abc Օ - 򪪪 abc aՕc ꪪbc - ab򪪪 Index: trunk/xsd/tests/cxx/tree/encoding/char/utf-8/test.xml =================================================================== --- trunk.orig/xsd/tests/cxx/tree/encoding/char/utf-8/test.xml +++ trunk/xsd/tests/cxx/tree/encoding/char/utf-8/test.xml @@ -5,11 +5,9 @@ abc Օ - 򪪪 abc aՕc ꪪbc - ab򪪪 Index: trunk/xsd/tests/cxx/tree/encoding/char/utf-8/test.xsd =================================================================== --- trunk.orig/xsd/tests/cxx/tree/encoding/char/utf-8/test.xsd +++ trunk/xsd/tests/cxx/tree/encoding/char/utf-8/test.xsd @@ -9,7 +9,6 @@ abc aՕc ꪪbc - ab򪪪 @@ -17,7 +16,6 @@ - Index: trunk/xsd/tests/cxx/tree/encoding/wchar/test.std =================================================================== --- trunk.orig/xsd/tests/cxx/tree/encoding/wchar/test.std +++ trunk/xsd/tests/cxx/tree/encoding/wchar/test.std @@ -2,9 +2,9 @@ abc ῿퟿ - 𐀀􏿽 + ကჿ abc a῿퟿c - 𐀀􏿽bc - ab𐀀􏿽 + ကჿbc + abကჿ Index: trunk/xsd/tests/cxx/tree/encoding/wchar/test.xml =================================================================== --- trunk.orig/xsd/tests/cxx/tree/encoding/wchar/test.xml +++ trunk/xsd/tests/cxx/tree/encoding/wchar/test.xml @@ -4,11 +4,11 @@ abc ῿퟿ - 𐀀􏿽 + ကჿ abc a῿퟿c - 𐀀􏿽bc - ab𐀀􏿽 + ကჿbc + abကჿ Index: trunk/xsd/tests/cxx/tree/encoding/wchar/test.xsd =================================================================== --- trunk.orig/xsd/tests/cxx/tree/encoding/wchar/test.xsd +++ trunk/xsd/tests/cxx/tree/encoding/wchar/test.xsd @@ -8,16 +8,16 @@ Test enum. Valid values are: abc a῿퟿c - 𐀀􏿽bc - ab𐀀􏿽 + ကჿbc + abကჿ - - + +