diff options
author | fdrake <fdrake> | 2003-08-27 12:34:23 +0000 |
---|---|---|
committer | fdrake <fdrake> | 2003-08-27 12:34:23 +0000 |
commit | 8a3e1cfd9908185a11d5a7c9f9291c169bc2af36 (patch) | |
tree | b6102179e6f49d97fb9371183286206d51fd6873 /tests | |
parent | dc6f63151017d3e0d5678c86dc3b23de94737224 (diff) | |
download | libexpat-8a3e1cfd9908185a11d5a7c9f9291c169bc2af36.tar.gz |
elaborated test case to cover SF bug #774028; current Expat already
handles this correctly
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runtests.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/runtests.c b/tests/runtests.c index b84f1af..2280470 100644 --- a/tests/runtests.c +++ b/tests/runtests.c @@ -363,17 +363,17 @@ START_TEST(test_utf16_le_epilog_newline) } END_TEST -/* Regression test for SF bug #481609. */ +/* Regression test for SF bug #481609, #774028. */ START_TEST(test_latin1_umlauts) { char *text = "<?xml version='1.0' encoding='iso-8859-1'?>\n" - "<e a='ä ö ü ä ö ü ä ö ü'\n" - " >ä ö ü ä ö ü ä ö ü</e>"; + "<e a='ä ö ü ä ö ü ä ö ü >'\n" + " >ä ö ü ä ö ü ä ö ü ></e>"; char *utf8 = "\xC3\xA4 \xC3\xB6 \xC3\xBC " "\xC3\xA4 \xC3\xB6 \xC3\xBC " - "\xC3\xA4 \xC3\xB6 \xC3\xBC"; + "\xC3\xA4 \xC3\xB6 \xC3\xBC >"; run_character_check(text, utf8); XML_ParserReset(parser, NULL); run_attribute_check(text, utf8); |