diff --git a/ChangeLog b/ChangeLog index 74e4a40f..67a2ae3b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Mon Jun 2 17:39:42 CEST 2008 Daniel Veillard + + * ChangeLog: patch from Hans de Goede to switch the file to UTF-8 + * doc/news.xsl: switch to generate the NEWS file in UTF-8 instead of + ISO-8859-1 + Mon May 12 15:12:44 CEST 2008 Daniel Veillard * xmlregexp.c: avoid a regexp crash, should fix #523738 @@ -540,7 +546,7 @@ Wed Jun 13 13:33:38 PDT 2007 William Brack Tue Jun 12 18:17:28 CEST 2007 Daniel Veillard * doc/* configure.in NEWS: release of libxml2 2.6.29 - * valid.c: patch from Dagfinn I. Manns�ker for idness of name + * valid.c: patch from Dagfinn I. Mannsåker for idness of name in HTML, c.f. bug #305885. Tue Jun 12 17:14:08 CEST 2007 Daniel Veillard @@ -630,7 +636,7 @@ Wed May 30 22:05:08 PDT 2007 William Brack Mon May 28 16:14:50 CEST 2007 Daniel Veillard - * uri.c: fix bug reported by Fran�ois Delyon + * uri.c: fix bug reported by François Delyon Tue May 22 08:59:48 PDT 2007 William Brack @@ -661,7 +667,7 @@ Fri May 11 22:45:18 HKT 2007 William Brack Thu May 10 01:52:42 CEST 2007 Daniel Veillard * list.c: applied patch to fix xmlListAppend() from - Georges-Andr� SILBER + Georges-André SILBER * valid.c: also fix the place wher it was called. Wed May 2 18:47:33 CEST 2007 Daniel Veillard @@ -759,7 +765,7 @@ Wed Mar 21 14:23:08 HKT 2007 William Brack Tue Mar 20 09:58:13 CET 2007 Daniel Veillard - * nanoftp.c: applied patch from Bj�rn Wiberg to try to fix again + * nanoftp.c: applied patch from Björn Wiberg to try to fix again the silly __ss_familly problem on various AIXes, should fix #420184 Wed Mar 14 20:30:38 HKT 2007 William Brack @@ -831,7 +837,7 @@ Wed Jan 31 10:25:38 PST 2007 William Brack Fri Jan 26 00:05:18 PST 2007 William Brack - * implemented patch from St�phane Bidoul for uri.c (bug #389767) + * implemented patch from Stéphane Bidoul for uri.c (bug #389767) Thu Jan 25 11:15:08 PST 2007 William Brack @@ -2540,7 +2546,7 @@ Fri Sep 9 12:56:19 CEST 2005 Daniel Veillard Thu Sep 8 23:39:41 CEST 2005 Daniel Veillard - * xmllint.c: patch from St�phane Bidoul to compile without schematron + * xmllint.c: patch from Stéphane Bidoul to compile without schematron Wed Sep 7 00:16:27 CEST 2005 Daniel Veillard @@ -4373,7 +4379,7 @@ Sun Jan 30 19:27:23 CET 2005 Daniel Veillard * pattern.c include/libxml/pattern.h xmllint.c: added a streaming pattern detector for a subset of XPath, should help Kasimier for identity constraints - * python/generator.py: applied Stephane Bidoul patch to find + * python/generator.py: applied Stéphane Bidoul patch to find paths without breaking. Fri Jan 28 18:53:40 CET 2005 Daniel Veillard @@ -5962,7 +5968,7 @@ Thu Jul 1 14:53:36 CEST 2004 Daniel Veillard * python/libxml.c python/generator.py python/libxml.py python/libxml2-python-api.xml python/libxml2class.txt: - applied patch from St�phane Bidoul to fix some Python bindings + applied patch from Stéphane Bidoul to fix some Python bindings initialization, then had to change the parserCleanup() to handle memory released there. * xmlmemory.c: added more debugging comments. @@ -6353,7 +6359,7 @@ Tue May 11 23:04:47 HKT 2004 William Brack Tue May 11 09:06:53 CEST 2004 Daniel Veillard * python/tests/tstLastError.py: better portability fix for f(*args), - use apply(f, args) as Stephane Bidoul suggested + use apply(f, args) as Stéphane Bidoul suggested Mon May 10 15:49:22 HKT 2004 William Brack @@ -7218,7 +7224,7 @@ Wed Jan 21 10:59:55 CET 2004 Daniel Veillard Thu Jan 15 00:48:46 CET 2004 Daniel Veillard * python/generator.py python/tests/tstLastError.py: applied - patch from Stephane Bidoul to add enums to the Python bindings. + patch from Stéphane Bidoul to add enums to the Python bindings. Tue Jan 13 21:50:05 CET 2004 Daniel Veillard @@ -7261,7 +7267,7 @@ Tue Jan 6 23:51:46 CET 2004 Daniel Veillard * python/libxml2-python-api.xml python/libxml_wrap.h python/types.c python/tests/Makefile.am python/tests/tstLastError.py: applied - patch from Stephane Bidoul for structured error handling from + patch from Stéphane Bidoul for structured error handling from python, and the associated test Tue Jan 6 23:18:11 HKT 2004 William Brack @@ -7344,7 +7350,7 @@ Sun Jan 4 08:57:51 HKT 2004 William Brack Fri Jan 2 21:22:18 CET 2004 Daniel Veillard - * error.c: applied patch from St�phane Bidoul for structured error + * error.c: applied patch from Stéphane Bidoul for structured error reporting. Fri Jan 2 21:03:17 CET 2004 Daniel Veillard @@ -7373,7 +7379,7 @@ Wed Dec 31 22:02:37 HKT 2003 William Brack Wed Dec 31 15:55:55 HKT 2003 William Brack * python/generator.py, python/libxml2class.txt: fixed problem - pointed out by St�phane Bidoul on the list. + pointed out by Stéphane Bidoul on the list. * xinclude.c, xpointer.c, xpath.c, include/libxml/xpointer.h: completed modifications required to fix Bug 129967 (at last!). Now wait to see how long before further trouble... @@ -8263,17 +8269,17 @@ Wed Oct 22 14:33:05 CEST 2003 Daniel Veillard Wed Oct 22 10:50:31 CEST 2003 Daniel Veillard - * chvalid.c genChRanges.py: Stephane Bidoul pointed out another + * chvalid.c genChRanges.py: Stéphane Bidoul pointed out another small glitch missing a const Wed Oct 22 10:43:21 CEST 2003 Daniel Veillard - * chvalid.c genChRanges.py: Stephane Bidoul pointed out that + * chvalid.c genChRanges.py: Stéphane Bidoul pointed out that it doesn't define IN_LIBXML Tue Oct 21 21:14:55 CEST 2003 Daniel Veillard - * win32/Makefile.mingw: typo pointed out by Stephane Bidoul + * win32/Makefile.mingw: typo pointed out by Stéphane Bidoul Tue Oct 21 11:26:36 CEST 2003 Daniel Veillard @@ -8633,7 +8639,7 @@ Tue Oct 7 13:30:39 CEST 2003 Daniel Veillard Mon Oct 6 10:46:35 CEST 2003 Daniel Veillard * win32/Makefile.bcb win32/Makefile.mingw win32/Makefile.msvc - win32/configure.js: applied patch from St�phane Bidoul to + win32/configure.js: applied patch from Stéphane Bidoul to fix the compilation of 2.6.0 code on Win32 Mon Oct 6 10:16:30 CEST 2003 Daniel Veillard @@ -8879,7 +8885,7 @@ Thu Sep 25 14:16:51 CEST 2003 Daniel Veillard Wed Sep 24 23:42:08 CEST 2003 Daniel Veillard - * win32/configure.js: patch from Stephane Bidoul for configuring + * win32/configure.js: patch from Stéphane Bidoul for configuring the beta2 version #123104 Wed Sep 24 23:17:59 CEST 2003 Daniel Veillard @@ -9176,7 +9182,7 @@ Sat Sep 6 10:55:01 PTD 2003 William Brack Fri Sep 5 10:33:42 CEST 2003 Daniel Veillard - * include/libxml/globals.h: patch from St�phane Bidoul to export + * include/libxml/globals.h: patch from Stéphane Bidoul to export globals entry points to the python bindings Wed Sep 3 15:24:41 CEST 2003 Daniel Veillard @@ -9901,7 +9907,7 @@ Tue May 20 14:21:23 CEST 2003 Daniel Veillard Sat May 17 12:53:11 CEST 2003 Igor Zlatkovic - * threads.c: applied the patch from St�phane Bidoul for getting + * threads.c: applied the patch from Stéphane Bidoul for getting rid of extra threads in a dynamic library. * win32/configure.js: threads default to 'native' now. @@ -9913,7 +9919,7 @@ Fri May 16 13:17:52 EDT 2003 Daniel Veillard Thu May 15 18:06:18 EDT 2003 Daniel Veillard * build_glob.py global.data globals.c parser.c - include/libxml/globals.h: patch from St�phane Bidoul for setting + include/libxml/globals.h: patch from Stéphane Bidoul for setting up threads global defaults. * doc/libxml2-api.xml: this extends the API with new functions * python/tests/Makefile.am python/tests/reader2.py @@ -9970,7 +9976,7 @@ Sun May 11 16:13:20 EDT 2003 Daniel Veillard Sat May 10 16:01:21 EDT 2003 Daniel Veillard - * relaxng.c: St�phane Bidoul found an off by one addressing + * relaxng.c: Stéphane Bidoul found an off by one addressing error on the error handling. Fri May 9 19:08:20 EDT 2003 Daniel Veillard @@ -10029,7 +10035,7 @@ Mon Apr 28 02:19:00 CEST 2003 Igor Zlatkovic Mon Apr 28 00:12:11 CEST 2003 Daniel Veillard * win32/configure.js python/setup.py.in: applied patch - from St�phane Bidoul for the Python bindings on the new + from Stéphane Bidoul for the Python bindings on the new release. Sun Apr 27 17:56:21 CEST 2003 Igor Zlatkovic @@ -10060,7 +10066,7 @@ Sat Apr 26 14:00:58 CEST 2003 Daniel Veillard * python/generator.py: fixed a problem in the generator where the way functions are remapped as methods on classes was not symetric and dependant on python internal hash order, - as reported by St�phane Bidoul + as reported by Stéphane Bidoul Fri Apr 25 21:52:33 MDT 2003 John Fleck @@ -10865,7 +10871,7 @@ Sun Feb 16 16:40:52 CET 2003 Daniel Veillard * relaxng.c: more bug-hunting * testRelax.c include/libxml/relaxng.h: added --tree to dump the intermediate rng tree - * python/generator.py: patch from Stephane Bidoul to fix the generator + * python/generator.py: patch from Stéphane Bidoul to fix the generator on python < 2.2 Fri Feb 14 17:49:26 CET 2003 Daniel Veillard @@ -11001,7 +11007,7 @@ Wed Feb 5 12:00:36 CET 2003 Daniel Veillard Wed Feb 5 11:43:58 CET 2003 Daniel Veillard * SAX.c: added the redefinition of namespaced attribute - check that was missing as Fabrice Desr� pointed out. + check that was missing as Fabrice Desré pointed out. Wed Feb 5 11:09:29 CET 2003 Daniel Veillard @@ -11224,7 +11230,7 @@ Thu Jan 23 17:41:37 CET 2003 Daniel Veillard Tue Jan 21 13:19:35 CET 2003 Daniel Veillard * xmlreader.c doc/apibuild.py: applied a new patch from - St�phane Bidoul for cleanups + Stéphane Bidoul for cleanups * doc/libxml2-api.xml: rebuilt the API description with new entry points @@ -11232,7 +11238,7 @@ Mon Jan 20 23:25:00 CET 2003 Daniel Veillard * xmlreader.c python/drv_libxml2.py python/generator.py python/libxml.c python/libxml.py python/libxml_wrap.h - python/types.c: patch from St�phane Bidoul for better per + python/types.c: patch from Stéphane Bidoul for better per context error message APIs * python/tests/ctxterror.py python/tests/readererr.py: update of the tests @@ -11246,7 +11252,7 @@ Fri Jan 17 00:31:30 CET 2003 Daniel Veillard * xmlreader.c include/libxml/xmlreader.h python/generator.py python/libxml.c python/libxml.py win32/libxml2.def.src: applied - a patch from St�phane Bidoul to allow per XMLtextReader error + a patch from Stéphane Bidoul to allow per XMLtextReader error and warning handling * python/tests/Makefile.am python/tests/readererr.py: adding the specific regression test @@ -11258,7 +11264,7 @@ Tue Jan 14 17:00:08 CET 2003 Daniel Veillard Tue Jan 14 15:39:14 CET 2003 Daniel Veillard - * python/libxml.c: cleanup patch from St�phane Bidoul + * python/libxml.c: cleanup patch from Stéphane Bidoul Tue Jan 14 14:41:18 CET 2003 Daniel Veillard @@ -11268,7 +11274,7 @@ Tue Jan 14 12:40:29 CET 2003 Daniel Veillard * python/generator.py python/libxml.c python/libxml.py python/libxml_wrap.h python/types.c: applied and fixed a patch - from St�phane Bidoul to provide per parser error handlers at the + from Stéphane Bidoul to provide per parser error handlers at the Python level. * python/tests/Makefile.am python/tests/ctxterror.py: added a regression test for it. @@ -11320,7 +11326,7 @@ Fri Jan 10 00:16:49 CET 2003 Daniel Veillard Thu Jan 9 22:35:31 CET 2003 Daniel Veillard - * python/drv_libxml2.py: update from St�phane Bidoul: python 2.1 + * python/drv_libxml2.py: update from Stéphane Bidoul: python 2.1 support and improved error handler registration Thu Jan 9 14:16:38 CET 2003 Daniel Veillard @@ -11410,7 +11416,7 @@ Sat Jan 4 17:33:17 CET 2003 Daniel Veillard Sat Jan 4 13:46:14 CET 2003 Daniel Veillard - * python/setup.py.in: patch from St�phane Bidoul to include + * python/setup.py.in: patch from Stéphane Bidoul to include drv_libxml2.py in setup.py Sat Jan 4 01:43:06 CET 2003 Daniel Veillard @@ -11437,13 +11443,13 @@ Fri Jan 3 02:17:18 CET 2003 Daniel Veillard Thu Jan 2 15:15:26 CET 2003 Daniel Veillard * xmlreader.c python/tests/reader.py: another couple of problem - related to IsEmptyElement reported by St�phane Bidoul needed + related to IsEmptyElement reported by Stéphane Bidoul needed some fixes. Thu Jan 2 13:57:07 CET 2003 Daniel Veillard * libxml.spec.in python/Makefile.am python/drv_libxml2.py: - integrated drv_libxml2.py Python xml.sax driver from St�phane Bidoul + integrated drv_libxml2.py Python xml.sax driver from Stéphane Bidoul based on the python XmlTextReader interface. Wed Jan 1 22:05:40 CET 2003 Daniel Veillard @@ -11466,38 +11472,38 @@ Wed Jan 1 20:12:07 CET 2003 Daniel Veillard Wed Jan 1 16:09:57 CET 2003 Daniel Veillard * xmlreader.c python/tests/reader.py: fixed another couple of - xmlreader bugs reported by St�phane Bidoul and added tests. + xmlreader bugs reported by Stéphane Bidoul and added tests. Wed Jan 1 15:42:54 CET 2003 Daniel Veillard * xmlreader.c python/tests/reader2.py: fixed another validity - checking in external parsed entities raised by St�phane Bidoul + checking in external parsed entities raised by Stéphane Bidoul and added a specific regression test. * python/tests/reader3.py: cleanup Tue Dec 31 15:44:02 CET 2002 Daniel Veillard * xmlreader.c python/tests/reader2.py: fixed a problem with - validation within entities pointed by St�phane Bidoul, augmented + validation within entities pointed by Stéphane Bidoul, augmented the tests to catch those. Tue Dec 31 12:15:37 CET 2002 Daniel Veillard * python/generator.py: modified the generator to allow keeping class references when creating new classes, needed to fix a bug - pointed by St�phane Bidoul where the input buffer of the + pointed by Stéphane Bidoul where the input buffer of the xmlTextReader instance gets destroyed if the python wrapper for the input is not referenced anymore. Mon Dec 30 19:39:36 CET 2002 Daniel Veillard * xmlreader.c python/tests/reader.py: fixed another pair of problem - pointed by St�phane Bidoul: depth start at 0 and a parse problem. + pointed by Stéphane Bidoul: depth start at 0 and a parse problem. Mon Dec 30 13:36:50 CET 2002 Daniel Veillard * xmlreader.c python/tests/reader.py: fixed another problem - pointed by St�phane Bidoul + pointed by Stéphane Bidoul Mon Dec 30 12:39:55 CET 2002 Daniel Veillard @@ -11519,7 +11525,7 @@ Mon Dec 30 00:59:07 CET 2002 Daniel Veillard Sun Dec 29 12:13:18 CET 2002 Daniel Veillard * xmlreader.c python/tests/reader.py: fixed a bug pointed out - by St�phane Bidoul and integrated it into the tests + by Stéphane Bidoul and integrated it into the tests Sat Dec 28 23:49:12 CET 2002 Daniel Veillard @@ -11581,7 +11587,7 @@ Mon Dec 23 16:54:22 CET 2002 Daniel Veillard Mon Dec 23 15:42:24 CET 2002 Daniel Veillard - * python/libxml.c python/setup.py.in: patch from St�phane Bidoul + * python/libxml.c python/setup.py.in: patch from Stéphane Bidoul for Python 2.1 Sun Dec 22 11:24:06 CET 2002 Daniel Veillard @@ -11783,7 +11789,7 @@ Wed Nov 27 12:40:16 CET 2002 Daniel Veillard Wed Nov 27 09:00:00 CET 2002 Daniel Veillard - * python/setup.py.in: another patch from St�phane Bidoul for + * python/setup.py.in: another patch from Stéphane Bidoul for Python bindings on Windows * doc/parsedecl.py: small cleanup @@ -11808,7 +11814,7 @@ Sat Nov 23 17:22:22 CET 2002 Daniel Veillard Sat Nov 23 12:21:24 CET 2002 Daniel Veillard * python/generator.py python/libxml.c python/setup.py.in: trying - to fix the Python bindings build on Windows (St�phane Bidoul) + to fix the Python bindings build on Windows (Stéphane Bidoul) Fri Nov 22 22:41:34 CEST 2002 Igor Zlatkovic @@ -13198,7 +13204,7 @@ Mon Apr 1 10:02:57 CEST 2002 Daniel Veillard Fri Mar 29 23:41:53 CET 2002 Daniel Veillard - * libxml.m4: Fr�d�ric Crozat gave a patch related to the change + * libxml.m4: Frédéric Crozat gave a patch related to the change of Include paths breaking the libxml.m4 Fri Mar 29 18:25:54 CET 2002 Daniel Veillard @@ -16040,7 +16046,7 @@ Fri May 11 19:37:30 CEST 2001 Daniel Veillard Fri May 11 16:07:13 CEST 2001 Daniel Veillard - * HTMLparser.c: Patch from Jonas Borgstr�m + * HTMLparser.c: Patch from Jonas Borgström (htmlGetEndPriority): New function, returns the priority of a certain element. (htmlAutoCloseOnClose): Only close inline elements if they @@ -16108,7 +16114,7 @@ Thu May 3 12:47:46 CEST 2001 Daniel Veillard Thu May 3 10:25:19 CEST 2001 Daniel Veillard - * HTMLparser.c: trying to fix the problem reported by Jonas Borgstr�m + * HTMLparser.c: trying to fix the problem reported by Jonas Borgström * results/HTML/ : a few changes in the output of the HTML tests as a result. * configure.in: tying to fix -liconv where needed @@ -16124,7 +16130,7 @@ Wed May 2 18:39:39 CEST 2001 Daniel Veillard Wed May 2 14:39:57 CEST 2001 Daniel Veillard - * DOCBparser.c: patche from L�szl� Kov�cs, fixed entities refs + * DOCBparser.c: patche from László Kovács, fixed entities refs in attributes handling Wed May 2 12:56:04 CEST 2001 Daniel Veillard @@ -16206,7 +16212,7 @@ Thu Apr 26 16:35:53 CEST 2001 Daniel Veillard Thu Apr 26 12:57:58 CEST 2001 Daniel Veillard - * DOCBparser.c: patche from L�szl� Kov�cs + * DOCBparser.c: patche from László Kovács Thu Apr 26 11:31:54 CEST 2001 Daniel Veillard @@ -16214,7 +16220,7 @@ Thu Apr 26 11:31:54 CEST 2001 Daniel Veillard Thu Apr 26 11:14:56 CEST 2001 Daniel Veillard - * error.c: Jean Fran�ois Lecomte provided a complete description + * error.c: Jean François Lecomte provided a complete description and a fix to bug #53537 Thu Apr 26 09:42:58 CEST 2001 Daniel Veillard @@ -16228,7 +16234,7 @@ Wed Apr 25 21:05:31 CEST 2001 Daniel Veillard Wed Apr 25 17:52:27 CEST 2001 Daniel Veillard - * DOCBparser.c include/Makefile.am: two patches from L�szl� Kov�cs + * DOCBparser.c include/Makefile.am: two patches from László Kovács Wed Apr 25 14:56:26 CEST 2001 Daniel Veillard @@ -16270,7 +16276,7 @@ Tue Apr 24 14:10:38 CEST 2001 Daniel Veillard Tue Apr 24 13:21:36 CEST 2001 Daniel Veillard - * HTMLparser.c: Jonas Borgstr�m patch, the , and elements + * HTMLparser.c: Jonas Borgström patch, the , and elements now means the end of any open ,,,,,. Mon Apr 23 15:40:04 CEST 2001 Daniel Veillard @@ -17072,7 +17078,7 @@ Wed Jan 3 21:51:13 CET 2001 Daniel Veillard Wed Jan 3 18:56:00 CET 2001 Daniel Veillard * HTMLparser.c: htmlCheckParagraph to check htmlOmittedDefaultValue, - reported by Jonas Borgstr�m + reported by Jonas Borgström * nanohttp.c: Applied Bjorn Reese' IPV6 first patch Wed Jan 3 16:19:39 CET 2001 Daniel Veillard @@ -18695,7 +18701,7 @@ Sun Jul 11 18:16:34 CEST 1999 Daniel Veillard * example/Makefile.am, configure.in: added the makefile for the gjobread example -Sat Jul 10 14:19:11 CEST 1999 Tomasz K�oczko +Sat Jul 10 14:19:11 CEST 1999 Tomasz Kłoczko * doc/Makefile.am: - fix which allow "make install DESTDIR=". @@ -18798,7 +18804,7 @@ Wed Mar 24 21:37:02 CET 1999 Daniel Veillard * parser.c, parserInternals.h: moved the chars macro definitions to parserInternals.h - * parser.c, error.c: applied patches from "Knut �kesson" + * parser.c, error.c: applied patches from "Knut Åkesson" for clean compilation under MSVC 6 :-o Tue Mar 23 11:10:15 CET 1999 Daniel Veillard @@ -19105,3 +19111,6 @@ Fri Jul 24 16:47:14 1998 Daniel Veillard * migrated to automake * prefixed the filenames by xml_ to avoid filename clashes +# +# vim: set enc=utf-8 +# diff --git a/doc/news.xsl b/doc/news.xsl index 2312e0da..50089eb8 100644 --- a/doc/news.xsl +++ b/doc/news.xsl @@ -2,7 +2,7 @@ - + diff --git a/relaxng.c b/relaxng.c index 60fdbab9..deb38949 100644 --- a/relaxng.c +++ b/relaxng.c @@ -45,7 +45,6 @@ static const xmlChar *xmlRelaxNGNs = (const xmlChar *) (xmlStrEqual(node->ns->href, xmlRelaxNGNs))) -#if 0 #define DEBUG 1 #define DEBUG_GRAMMAR 1 @@ -67,6 +66,7 @@ static const xmlChar *xmlRelaxNGNs = (const xmlChar *) #define DEBUG_COMPILE 1 #define DEBUG_PROGRESSIVE 1 +#if 0 #endif #define MAX_ERROR 5 @@ -6495,6 +6495,8 @@ xmlRelaxNGParseGrammar(xmlRelaxNGParserCtxtPtr ctxt, xmlNodePtr nodes) ctxt); } + /* @@@@ */ + ctxt->grammar = old; return (ret); } @@ -8812,6 +8814,8 @@ xmlRelaxNGValidateValue(xmlRelaxNGValidCtxtPtr ctxt, } case XML_RELAXNG_REF: case XML_RELAXNG_PARENTREF: + if (define->content == NULL) { + } ret = xmlRelaxNGValidateValue(ctxt, define->content); break; default: