--- libxml2/libxml2-2.6.31.patch (revision 268294) +++ libxml2/libxml2-2.6.31.patch (working copy) @@ -282,3 +282,58 @@ #define LIBXML_DEBUG_RUNTIME #endif +*** misc/libxml2-2.6.31/runtest.c Wed Jan 3 22:07:52 2007 +--- misc/build/libxml2-2.6.31/runtest.c Thu Feb 19 22:52:33 2009 +*************** +*** 2710,2716 **** + "file:///path/to/a%20b.html", + "/path/to/a b.html", + "/path/to/a%20b.html", +! "urip://example.com/résumé.html", + "urip://example.com/test?a=1&b=2%263&c=4#foo", + NULL + }; +--- 2710,2716 ---- + "file:///path/to/a%20b.html", + "/path/to/a b.html", + "/path/to/a%20b.html", +! "urip://example.com/r" "\xe9" "sum" "\xe9" ".html", /* i93433: replaced 'e' encoded in ISO-8859-1 as in 'resume' with \xe9 */ + "urip://example.com/test?a=1&b=2%263&c=4#foo", + NULL + }; +*** misc/libxml2-2.6.31/testapi.c Mon May 28 23:08:52 2007 +--- misc/build/libxml2-2.6.31/testapi.c Thu Feb 19 22:45:32 2009 +*************** +*** 291,297 **** + static xmlChar gen_xmlChar(int no, int nr ATTRIBUTE_UNUSED) { + if (no == 0) return('a'); + if (no == 1) return(' '); +! if (no == 2) return((xmlChar) 'ø'); + return(0); + } + +--- 291,297 ---- + static xmlChar gen_xmlChar(int no, int nr ATTRIBUTE_UNUSED) { + if (no == 0) return('a'); + if (no == 1) return(' '); +! if (no == 2) return((xmlChar) '\xf8'); /* i93433: replaced 'ø' encoded in ISO-8859-1 with '\xf8' */ + return(0); + } + +*************** +*** 399,405 **** + static xmlChar *gen_const_xmlChar_ptr(int no, int nr ATTRIBUTE_UNUSED) { + if (no == 0) return((xmlChar *) "foo"); + if (no == 1) return((xmlChar *) ""); +! if (no == 2) return((xmlChar *) "nøne"); + if (no == 3) return((xmlChar *) " 2ab "); + return(NULL); + } +--- 399,405 ---- + static xmlChar *gen_const_xmlChar_ptr(int no, int nr ATTRIBUTE_UNUSED) { + if (no == 0) return((xmlChar *) "foo"); + if (no == 1) return((xmlChar *) ""); +! if (no == 2) return((xmlChar *) "n" "\xf8" "ne"); /* i93433: replaced 'ø' encoded in ISO-8859-1 with '\xf8' */ + if (no == 3) return((xmlChar *) " 2ab "); + return(NULL); + }