summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-11-22 19:01:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-11-22 19:01:27 +0200
commit0ca328cb9026aa53064a147226ef5b296426ea5f (patch)
tree51fd5b43147f268d89437618ceb0870fdeaa9663 /tests
parentf5a999730f38f98ef8af0bcb4148af47c74e1c25 (diff)
Use ASCII encoding instead of UCS-4LE to work around Xerces-C++ bug
Diffstat (limited to 'tests')
-rw-r--r--tests/cxx/tree/encoding/char/utf-8/driver.cxx2
-rw-r--r--tests/cxx/tree/encoding/char/utf-8/test.stdbin796 -> 239 bytes
-rw-r--r--tests/cxx/tree/encoding/wchar/driver.cxx2
-rw-r--r--tests/cxx/tree/encoding/wchar/test.stdbin768 -> 269 bytes
4 files changed, 2 insertions, 2 deletions
diff --git a/tests/cxx/tree/encoding/char/utf-8/driver.cxx b/tests/cxx/tree/encoding/char/utf-8/driver.cxx
index 0842203..87e63c7 100644
--- a/tests/cxx/tree/encoding/char/utf-8/driver.cxx
+++ b/tests/cxx/tree/encoding/char/utf-8/driver.cxx
@@ -57,7 +57,7 @@ main (int argc, char* argv[])
xml_schema::namespace_infomap map;
map["t"].name = "test";
- root (std::cout, *r, map, "UCS-4LE");
+ root (std::cout, *r, map, "ASCII");
}
catch (xml_schema::exception const& e)
{
diff --git a/tests/cxx/tree/encoding/char/utf-8/test.std b/tests/cxx/tree/encoding/char/utf-8/test.std
index 328fe6d..68ca51c 100644
--- a/tests/cxx/tree/encoding/char/utf-8/test.std
+++ b/tests/cxx/tree/encoding/char/utf-8/test.std
Binary files differ
diff --git a/tests/cxx/tree/encoding/wchar/driver.cxx b/tests/cxx/tree/encoding/wchar/driver.cxx
index 22cbfb4..06d0e81 100644
--- a/tests/cxx/tree/encoding/wchar/driver.cxx
+++ b/tests/cxx/tree/encoding/wchar/driver.cxx
@@ -47,7 +47,7 @@ main (int argc, char* argv[])
xml_schema::namespace_infomap map;
map[L"t"].name = L"test";
- root (std::cout, *r, map, L"UCS-4LE");
+ root (std::cout, *r, map, L"ASCII");
}
catch (xml_schema::exception const& e)
{
diff --git a/tests/cxx/tree/encoding/wchar/test.std b/tests/cxx/tree/encoding/wchar/test.std
index 93d4561..cdc3517 100644
--- a/tests/cxx/tree/encoding/wchar/test.std
+++ b/tests/cxx/tree/encoding/wchar/test.std
Binary files differ