python


Log

Author Commit Date CI Message
Daniel Veillard a7036d93 2008-09-01T14:50:19 prepare release of 2.7.1 daniel * doc/xml.html doc/news.html configure.in python/setup.py NEWS: prepare release of 2.7.1 daniel svn path=/trunk/; revision=3792
Daniel Veillard 074f37e7 2008-09-01T13:38:22 applied a couple of patches from Martin avoiding some leaks, fixinq QName * schematron.c xpath.c: applied a couple of patches from Martin avoiding some leaks, fixinq QName checks in XPath, XPath debugging and schematron code cleanups. * python/tests/Makefile.am python/tests/xpathleak.py: add the specific regression tests, just tweak it to avoid output by default Daniel svn path=/trunk/; revision=3791
Daniel Veillard da3fee40 2008-09-01T13:08:57 Borland C fix from Moritz Both regenerate, workaround a problem for buffer * trionan.c: Borland C fix from Moritz Both * testapi.c: regenerate, workaround a problem for buffer testing * xmlIO.c HTMLtree.c: new internal entry point to hide even better xmlAllocOutputBufferInternal * tree.c: harden the code around buffer allocation schemes * parser.c: restore the warning when namespace names are not absolute URIs * runxmlconf.c: continue regression tests if we get the expected number of errors * Makefile.am: run the python tests on make check * xmlsave.c: handle the HTML documents and trees * python/libxml.c: convert python serialization to the xmlSave APIs and avoid some horrible hacks Daniel svn path=/trunk/; revision=3790
Daniel Veillard 1572425c 2008-08-30T15:01:04 preparing 2.7.0 release remove some testing traces remove some warnings * configure.in, doc/*: preparing 2.7.0 release * tree.c: remove some testing traces * parser.c xmlIO.c xmlschemas.c: remove some warnings Daniel svn path=/trunk/; revision=3788
Daniel Veillard 2cba4158 2008-08-27T11:45:41 fix a small initialization problem raised by Ashwin increase testing * threads.c: fix a small initialization problem raised by Ashwin * testapi.c gentest.py: increase testing especially for document with an internal subset, and entities * tree.c: fix a deallocation issue when unlinking entities from a document. * valid.c: fix a missing entry point test not found previously. * doc/*: regenerated the APIs, docs etc. daniel svn path=/trunk/; revision=3778
Daniel Veillard 34e3f641 2008-07-29T09:02:27 implement XML-1.0 5th edition, add parser option XML_PARSE_OLD10 to stick * include/libxml/parser.h include/libxml/xmlerror.h parser.c: implement XML-1.0 5th edition, add parser option XML_PARSE_OLD10 to stick to old behaviour * testapi.c gentest.py: modified slightly and regenerated * Makefile.am: add testchar Daniel svn path=/trunk/; revision=3755
Daniel Veillard 39801e57 2008-06-03T16:08:54 apply patch from Martin fixing python whitespaces following previous * python/generator.py python/setup.py: apply patch from Martin fixing python whitespaces * NEWS: following previous commit rebuilt now in UTF-8 Daniel svn path=/trunk/; revision=3746
Daniel Veillard 438ebbd5 2008-05-12T12:58:46 fx compilation when configured without the reader should fix #513110 * xmlschemas.c runtest.c testapi.c include/libxml/xmlreader.h python/types.c python/libxml_wrap.h python/libxml.c: fx compilation when configured without the reader should fix #513110 * doc/*: regenerated Daniel svn path=/trunk/; revision=3743
Daniel Veillard dee23485 2008-04-11T12:58:43 added new function xmlSchemaValidCtxtGetParserCtxt based on Holger * include/libxml/xmlschemas.h xmlschemas.c: added new function xmlSchemaValidCtxtGetParserCtxt based on Holger Kaelberer patch * doc/apibuild.py doc/*: regenerated the doc, chased why the new function didn't got any documentation, added more checking in the generator * include/libxml/relaxng.h include/libxml/schematron.h include/libxml/xmlschemas.h include/libxml/c14n.h include/libxml/xmlregexp.h include/libxml/globals.h include/libxml/xmlreader.h threads.c xmlschemas.c: various changes and cleanups following the new reports Daniel svn path=/trunk/; revision=3738
Daniel Veillard ed939f8e 2008-04-08T08:20:08 fix a bug introduced when fixing #438208 and reported by Ashwin fix an * tree.c: fix a bug introduced when fixing #438208 and reported by Ashwin * python/generator.py: fix an infinite loop bug Daniel svn path=/trunk/; revision=3733
Daniel Veillard 5d279c95 2008-03-12T09:32:04 fix a memory errro when using namespace nodes returned from XPath queries, * python/types.c: fix a memory errro when using namespace nodes returned from XPath queries, should fix #521699 * python/tests/Makefile.am python/tests/xpathns.py: add a specific regression test for it Daniel svn path=/trunk/; revision=3703
Daniel Veillard 5ac88237 2008-02-19T07:54:52 applied cleanup patches for cross compilation and MinGW from Roumen Petrov * python/Makefile.am python/tests/Makefile.am: applied cleanup patches for cross compilation and MinGW from Roumen Petrov Daniel svn path=/trunk/; revision=3696
Daniel Veillard 9ebb6322 2008-01-11T07:19:24 patches from John Carr to start cleaning up 'make diskcheck' problems c.f. * check-relaxng-test-suite2.py check-relaxng-test-suite.py Makefile.am python/tests/Makefile.am python/Makefile.am check-xsddata-test-suite.py: patches from John Carr to start cleaning up 'make diskcheck' problems c.f. #506228 Daniel svn path=/trunk/; revision=3674
Daniel Veillard db67015a 2007-06-12T10:04:37 try to allow compilation on old python version should fix #398125 Daniel * python/types.c: try to allow compilation on old python version should fix #398125 Daniel svn path=/trunk/; revision=3632
Daniel Veillard 63cf1b99 2007-04-26T08:45:23 patch from Richard Jones to save the query part in raw form. also added * uri.c include/libxml/uri.h: patch from Richard Jones to save the query part in raw form. * libxml2-python-api.xml: also added accessor for the python bindings Daniel svn path=/trunk/; revision=3608
William M. Brack 7a12e57b 2007-02-16T17:11:09 fixed tab problem with patch from Andreas Hanke (bug #408626) * python/libxml.py: fixed tab problem with patch from Andreas Hanke (bug #408626) svn path=/trunk/; revision=3586
Daniel Veillard fde5b0b9 2007-02-12T17:31:53 small cleanup to avoid packaging .svn applied patch to avoid a problem in * Makefile.am: small cleanup to avoid packaging .svn * libxml.h threads.c parser.c: applied patch to avoid a problem in concurrent threaded initialization fix from Ted Phelps Daniel svn path=/trunk/; revision=3582
Daniel Veillard a3d23051 2007-01-09T21:24:34 fix a memory leak in the python string handling when SAX event are passed * python/libxml.c: fix a memory leak in the python string handling when SAX event are passed back to the python handlers Daniel svn path=/trunk/; revision=3573
Daniel Veillard 3b6acc93 2006-12-14T15:49:41 apparently id() sometimes generate negative values and %X outputs -XXXX * python/generator.py python/libxml.py: apparently id() sometimes generate negative values and %X outputs -XXXX :-( Daniel
Daniel Veillard 6ad5c4af 2006-10-11T16:43:06 fixed a weird error where validity context whould not show up if warnings * valid.c: fixed a weird error where validity context whould not show up if warnings were disabled pointed out by Bob Stayton * xmlIO.c doc/generator.py: cleanup and fix to regenerate the docs * doc//* testapi.c: rebuilt the docs Daniel
Daniel Veillard 04db684b 2006-10-11T09:27:56 remove the build path recorded in the python shared module as Peter * python/Makefile.am: remove the build path recorded in the python shared module as Peter Breitenlohner pointed out, should fix #346022 Daniel
Daniel Veillard 46459066 2006-10-10T08:40:04 applied patch from Ross Reedstrom, Brian West and Stefan Anca to add * python/libxml.py python/types.c: applied patch from Ross Reedstrom, Brian West and Stefan Anca to add XPointer suport to the Python bindings Daniel
Daniel Veillard ddefe9cc 2006-08-04T12:44:24 fixed the conversion of long parameters Daniel * python/generator.py: fixed the conversion of long parameters Daniel
William M. Brack 40cca61f 2006-06-26T18:25:40 Added code submitted by Andreas Pakulat to provide node equality, * python/libxml.c, python/libxml.py, python/tests/compareNodes.py, python/tests/Makefile.am: Added code submitted by Andreas Pakulat to provide node equality, inequality and hash functions, plus a single test program to check the functions (bugs 345779 + 345961).
Daniel Veillard a4bd3692 2006-06-18T17:40:53 patch from Nic Ferrier to provide a better type mapping from XPath to * python/types.c: patch from Nic Ferrier to provide a better type mapping from XPath to python Daniel
Daniel Veillard 69839ba1 2006-06-06T13:27:03 preparing release of 2.6.25 Daniel * configure.ini NEWS doc//* libxml.spec.in : preparing release of 2.6.25 Daniel
Daniel Veillard 2728f845 2006-03-09T16:49:24 more cleanups based on coverity reports. Daniel * SAX2.c catalog.c encoding.c entities.c example/gjobread.c python/libxml.c: more cleanups based on coverity reports. Daniel
Daniel Veillard 745648bc 2006-02-27T09:59:30 remove a tab, as pointed out on IRC Daniel * python/libxml2.py: remove a tab, as pointed out on IRC Daniel
Daniel Veillard 634ec27a 2006-02-22T15:11:32 Nic Ferrier found debug statement left in the XPath conversion code Daniel * python/types.c: Nic Ferrier found debug statement left in the XPath conversion code Daniel
Daniel Veillard 67952601 2006-01-05T15:29:44 upated the news regenerated the docs, preparing for release of 2.6.23 * NEWS configure.in libxml.spec.in testapi.c doc/*: upated the news regenerated the docs, preparing for release of 2.6.23 * pattern.c xmlschemas.c: fixed some comments Daniel
Daniel Veillard eaccdc65 2005-10-27T14:10:52 remove warnings to stdout patch from Nic Ferrier Daniel * python/libxml.py: remove warnings to stdout patch from Nic Ferrier Daniel
Daniel Veillard 8bda20f7 2005-08-24T09:36:47 removed a potentially uninitialized variable error fixed a deprecation * xpath.c: removed a potentially uninitialized variable error * python/generator.py: fixed a deprecation warning * python/tests/tstLastError.py: silent the damn test when Okay ! Daniel
Daniel Veillard 5eee767c 2005-08-22T21:22:27 rescanned code and rebuilt small cleanup cleanup problems from code * elfgcchack.h testapi.c doc/*: rescanned code and rebuilt * xmlregexp.c: small cleanup * include/libxml/schematron.h include/libxml/xmlexports.h include/libxml/xmlversion.h.in: cleanup problems from code scanner Daniel
Daniel Veillard 22eda2bc 2005-08-01T05:20:16 applied fix from Jakub Piotr Clapa for xmlAttr.parent(), closing #312181 * python/libxml.c: applied fix from Jakub Piotr Clapa for xmlAttr.parent(), closing #312181 Daniel
Daniel Veillard 4ea89f04 2005-07-29T10:12:45 don't output any message on failed resolver lookups, better done by the * python/libxml.c: don't output any message on failed resolver lookups, better done by the python user provided resolver layer. Daniel
Daniel Veillard 1f33c4d6 2005-07-10T21:38:31 preparing to make testsuite releases along with code source releases fixed * xstc/Makefile.am README README.tests Makefile.tests Makefile.am: preparing to make testsuite releases along with code source releases * gentest.py testapi.c: fixed a couple of problem introduced by the new Schemas support for Readers * xpath.c: fixed the XPath attribute:: bug #309580, #309864 in a crude but simple way. * xmlschemas.c include/libxml/tree.h: fixed a couple of problems raised by the doc builder. * doc/*: made rebuild Daniel
Daniel Veillard 95175012 2005-07-03T16:09:51 fixing #307823 and a couple of assorted bugs fixed conditionals in * testapi.c runsuite.c runtest.c: fixing #307823 and a couple of assorted bugs * python/generator.py python/libxml2-python-api.xml: fixed conditionals in generator too * doc/apibuild.py doc/libxml2-api.xml doc/* elfgcchack.h: some cleanups too and rebuilt Daniel
Daniel Veillard 81562d2d 2005-06-15T13:27:56 if sax1 is used and input is a file use the old API xmlParseFile() * xmllint.c: if sax1 is used and input is a file use the old API xmlParseFile() * xmlschemas.c: cleanups * doc/* testapi.c elfgcchack.h: rebuilt to add python bindings for the new functions in Schemas. Daniel
Daniel Veillard f9cf6f5a 2005-04-12T01:02:29 applied patch from Brent Hendricks adding namespace removal at the python * python/libxml.c python/libxml.py: applied patch from Brent Hendricks adding namespace removal at the python level #300209 * python/tests/Makefile.am python/tests/nsdel.py: added the regression test Daniel
Daniel Veillard f2531afe 2005-03-31T11:06:29 fixed bug #168504 Daniel * python/libxml.c: fixed bug #168504 Daniel
Daniel Veillard 0e460da3 2005-03-30T22:47:10 another patch from Brent Hendricks to add new handlers with the various * python/generator.py python/libxml.py: another patch from Brent Hendricks to add new handlers with the various validity contexts * python/tests/Makefile.am python/tests/validDTD.py python/tests/validRNG.py python/tests/validSchemas.py: also added the regression tests he provided Daniel
Daniel Veillard bb8502c0 2005-03-30T07:40:35 applied patch from Brent Hendricks to avoid leak in python bindings when * python/generator.py python/libxml.c: applied patch from Brent Hendricks to avoid leak in python bindings when using schemas error handlers. Daniel
Daniel Veillard 7697a198 2005-03-10T14:03:08 added a regression test from Rob Richards for the previous bug Daniel * python/tests/Makefile.am python/tests/readernext.py: added a regression test from Rob Richards for the previous bug Daniel
Daniel Veillard 25c90c58 2005-03-02T10:47:41 try to fix a problem with valgrind. applied memory leak fix from Brent * Makefile.am doc/examples/Makefile.am python/tests/Makefile.am xstc/Makefile.am: try to fix a problem with valgrind. * python/generator.py python/libxml.c python/tests/Makefile.am python/tests/tstmem.py: applied memory leak fix from Brent Hendricks c.f. bug #165349 Daniel
Daniel Veillard b5839c3b 2005-02-19T18:27:14 a bit of cleanup rebuilt the API the tests and the documentation as a * xmlschemastypes.c: a bit of cleanup * elfgcchack.h testapi.c doc/*: rebuilt the API the tests and the documentation as a result. Daniel
William M. Brack a22da299 2005-02-12T01:08:22 fixed xmlXIncludeParseFile to prevent overwriting XML_COMPLETE_ATTRS when * xinclude.c: fixed xmlXIncludeParseFile to prevent overwriting XML_COMPLETE_ATTRS when setting pctxt->loadsubset (bug 166199) * Makefile.am, python/tests/Makefile.am, xstc/Makefile.am: added code to add $(top_builddir)/.libs to LD_LIBRARY_PATH whenever PYTHONPATH is set, to assure new libxml2 routines are used.
Daniel Veillard 2fc6df95 2005-01-30T18:42:55 added a streaming pattern detector for a subset of XPath, should help * 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 paths without breaking. Daniel
Daniel Veillard 2ae13382 2005-01-25T23:45:06 fixing the way testapi.c is generated, fixes bug #161386 fix a comment * Makefile.am testapi.c doc/Makefile.am: fixing the way testapi.c is generated, fixes bug #161386 * dict.c: fix a comment typo * elfgcchack.h doc/*: regenerated Daniel
Daniel Veillard 1cd4dae1 2005-01-15T17:45:28 make __str__ call serialize() on nodes, c.f. bug #157872 Daniel * python/libxml.py: make __str__ call serialize() on nodes, c.f. bug #157872 Daniel
Daniel Veillard f6b71bd1 2005-01-04T17:50:14 making DSO support an option code and documentation cleanups regenerated * configure.in: making DSO support an option * xmlmodule.c xmlreader.c include/libxml/xmlmodule.h: code and documentation cleanups * elfgcchack.h testapi.c doc/*: regenerated the docs and checks for new module * test/valid/REC-xml-19980210.xml: fix a small change introduced previously Daniel
William M. Brack ff349110 2004-12-24T08:39:13 added most required entires to foreign encoding table, plus some * python/generator.py: added most required entires to foreign encoding table, plus some additional logic to assure only the 1st param uses the 't#' format. Fixes bug #152286, but may still have some other UTF-16 problems.
William M. Brack 106cad66 2004-12-23T15:56:12 enhanced for enabling build in a different directory. Added (optional) * Makefile.am, gentest.py: enhanced for enabling build in a different directory. Added (optional) param to gentest.py to specify the source directory (bug #155468) * doc/Makefile.am: changed destination of NEWS from (top_srcdir) to (top_builddir) (bug #155468) * python/Makefile.am, python/generator.py: enhanced for enabling build in a different directory(bug #155468). Added (optional) param to generator.py to specify the source directory. Added a new table of functions which have possible "foreign" encodings (e.g. UTF16), and code to use python 't' format instead of 'z' format (mostly solving bug #152286, but still need to populate the table).
William M. Brack dbbcf8e1 2004-12-17T22:50:53 modified to allow the ns and nsDefs accessors to return None instead of * python/generator.py: modified to allow the ns and nsDefs accessors to return None instead of error when no namespace is present (bug #)
Daniel Veillard 91b955c1 2004-12-10T10:26:42 fixed ID deallocation problem based on patch from Steve Shepard fixes bug * valid.c: fixed ID deallocation problem based on patch from Steve Shepard fixes bug #160893 * xmlmemory.c: improving comment. * testapi.c: new test for xmlDictExists() is generated. Daniel
William M. Brack ad0e67c5 2004-12-01T14:35:10 fixed up some gcc warnings, no change to logic. New macro XML_CAST_FPTR to * dict.c, xpath.c, include/libxml/hash.h: fixed up some gcc warnings, no change to logic. New macro XML_CAST_FPTR to circumvent gcc warnings on function pointer <-> object pointer (a hack).
Daniel Veillard 850ce9b6 2004-11-10T11:55:47 Applied patch from Brent Hendricks adding support for late DTD validation. * python/generator.py python/libxml.c python/libxml2class.txt python/libxml_wrap.h python/types.c: Applied patch from Brent Hendricks adding support for late DTD validation. * python/tests/Makefile.am python/tests/dtdvalid.py python/tests/test.dtd: integrated the provided regression test Daniel
Daniel Veillard 34099b40 2004-11-04T17:34:35 changing the way the .c is generated, extending the tests coverage fixing * gentest.py testapi.c: changing the way the .c is generated, extending the tests coverage * include/libxml/nanoftp.h nanoftp.c elfgcchack.h doc/*: fixing some function signatures, regenerating stuff * SAX2.c parser.c xmlIO.c: another set of bug fixes and API hardening Daniel
Daniel Veillard eff45a92 2004-10-29T12:10:55 register xmlSchemaSetValidErrors, patch from Brent Hendricks in the * python/libxml.c: register xmlSchemaSetValidErrors, patch from Brent Hendricks in the mailing-list * include/libxml/valid.h HTMLparser.c SAX2.c valid.c parserInternals.c: fix #156626 and more generally how to find out if a validation contect is part of a parsing context or not. This can probably be improved to make 100% sure that vctxt->userData is the parser context too. It's a bit hairy because we can't change the xmlValidCtxt structure without breaking the ABI since this change xmlParserCtxt information indexes. Daniel
Daniel Veillard 6927b106 2004-10-27T17:29:04 preparing release 2.6.15 cleanups Daniel * ChangeLog NEWS configure.in doc/*: preparing release 2.6.15 * debugXML.c nanoftp.c xmlschemas.c xmlschemastypes.c: cleanups Daniel
Daniel Veillard 03a53c34 2004-10-26T16:06:51 added checking for names values and dictionnaries generates a tons of * debugXML.c include/libxml/xmlerror.h: added checking for names values and dictionnaries generates a tons of errors * SAX2.ccatalog.c parser.c relaxng.c tree.c xinclude.c xmlwriter.c include/libxml/tree.h: fixing the errors in the regression tests Daniel
Daniel Veillard ad9fb7c0 2004-10-22T11:05:37 fixed a problem occuring only in x86_64 when very large error messages are * python/libxml.c: fixed a problem occuring only in x86_64 when very large error messages are raied to the Python handlers. Daniel
Daniel Veillard 43b8e579 2004-10-12T22:20:10 applied patch from Thomas Fitzsimmons fixing #155240 building outside the * python/Makefile.am: applied patch from Thomas Fitzsimmons fixing #155240 building outside the source tree. but make tests fails. Daniel
Daniel Veillard 76821146 2004-10-09T20:39:04 some framework preparation to add namespace checkings daniel * debugXML.c: some framework preparation to add namespace checkings daniel
Daniel Veillard 263ec86a 2004-10-04T10:26:54 applied patch from Malcolm Tredinnick fixing bug #154294 related to saving * python/generator.py python/libxml.c python/tests/outbuf.py: applied patch from Malcolm Tredinnick fixing bug #154294 related to saving to python file objects. Daniel
Daniel Veillard 210818b1 2004-09-29T15:50:37 releasing 2.6.14, rebuilding the docs Daniel * configure.in doc/*: releasing 2.6.14, rebuilding the docs Daniel
Daniel Veillard bc2f2c3d 2004-09-29T09:04:00 another patch from Malcolm Tredinnick adding option not to load dtd from * python/drv_libxml2.py: another patch from Malcolm Tredinnick adding option not to load dtd from the drv_libxml2.py module #134633 Daniel
Daniel Veillard a81355ef 2004-09-28T11:08:27 applied patch from Malcolm Tredinnick fixing python exception hierarchy * python/libxml.py: applied patch from Malcolm Tredinnick fixing python exception hierarchy #139824 Daniel
Daniel Veillard 8399ff33 2004-09-22T21:57:53 couple of memory fixes from Mark Vakoc reported by Purify on Windows. * threads.c uri.c: couple of memory fixes from Mark Vakoc reported by Purify on Windows. Daniel
William M. Brack 13dfa87e 2004-09-18T04:52:08 added the routine xmlNanoHTTPContentLength to the external API * nanohttp.c, include/libxml/nanohttp.h: added the routine xmlNanoHTTPContentLength to the external API (bug151968). * parser.c: fixed unnecessary internal error message (bug152060); also changed call to strncmp over to xmlStrncmp. * encoding.c: fixed compilation warning (bug152307). * tree.c: fixed segfault in xmlCopyPropList (bug152368); fixed a couple of compilation warnings. * HTMLtree.c, debugXML.c, xmlmemory.c: fixed a few compilation warnings; no change to logic.
Daniel Veillard 06500c8a 2004-09-07T09:12:44 some cleanup checking for xmllint and xsltproc in configure.in, fixed make * configure.in doc/Makefile.am xstc/Makefile.am: some cleanup checking for xmllint and xsltproc in configure.in, fixed make dist w.r.t. the new xstc subdir. * doc/*: rebuilt Daniel
William M. Brack f409515f 2004-08-31T16:49:26 fixed error reported on the list caused by my last change * xmlstring.c: fixed error reported on the list caused by my last change
Daniel Veillard 0bff36dd 2004-08-31T09:37:03 also produce a tar ball with just the sources added --path option and * Makefile.am: also produce a tar ball with just the sources * xmllint.c: added --path option and --load-trace options to xmllint, RFE #147740 based on xsltproc versions * doc/xmllint.* doc/*: updated the man page and rebuilt Daniel
William M. Brack bf5cf219 2004-08-31T06:47:17 fixed bug introduced during OOM fixup causing problems with default * SAX2.c: fixed bug introduced during OOM fixup causing problems with default namespace when a named prefix with the same href was present (reported on the mailing list by Karl Eichwalder. * xmlstring.c: modified xmlCheckUTF8 with suggested code from Julius Mittenzwei. * dict.c: added a typecast to try to avoid problem reported by Pascal Rodes.
Daniel Veillard 36505562 2004-08-22T14:02:09 fix a problem on last commit Daniel * python/libxml.c: fix a problem on last commit Daniel
Daniel Veillard 6ebf3c4c 2004-08-22T13:11:39 trying to remove some warning when compiling on Fedora Core 3 and 64bits * xmllint.c xpath.c include/libxml/xpath.h include/libxml/xpathInternals.h python/libxml.c python/libxml_wrap.h: trying to remove some warning when compiling on Fedora Core 3 and 64bits Daniel
William M. Brack 2f2a6632 2004-08-20T23:09:47 modified parsing of <list>, <union>, <restriction>, <sequence>, <choice>, * xmlschemas.c: modified parsing of <list>, <union>, <restriction>, <sequence>, <choice>, <include>, <import>. Fixed schema defaults (elementFormDefault, etc.) for included schemas. Fixed a bug which reported attributes as invalid on elements declarations with the built-in type 'anyType'. Added "lax" validation of the content of elements of type 'anyType'. Fixed: element declarations with the same name were treated as duplicate if located in the subtree of <choice> -> <sequence>. (This was bug 150623, submitted by Roland Lezuo) Fixed cleanup of error codes in xmlSchemaValidateDoc as proposed by Igor Kapitanker. (This was bug 150647, submitted by Igor Kapitanker) * xmlschemastypes.c: Changed the type of anyType to XML_SCHEMAS_ANYTYPE. * include/libxml/xmlerror.h: Added schema parser errors. * result/schemas/bug145246_0_0* result/schemas/extension1_0_2.err: Changed test results. * result/schemas/ct-sc-nobase_0_0* result/schemas/facet-whiteSpace_0_0* result/schemas/import1_0_0* result/schemas/import2_0_0* result/schemas/include2_0_0* result/schemas/include3_0_0* result/schemas/restriction-attr1_0_0* result/schemas/seq-dubl-elem1_0_0* result/schemas/xsd-list-itemType_0_0*: Added new rest results. test/schemas/bug145246.xsd.imp test/schemas/ct-sc-nobase_0* test/schemas/facet-whiteSpace_0* test/schemas/import1_0* test/schemas/import2_0* test/schemas/include2_0* test/schemas/include3_0* test/schemas/restriction-attr1_0* test/schemas/seq-dubl-elem1_0* test/schemas/xml.xsd test/schemas/xsd-list-itemType_0*: Added new tests and missing files.
Daniel Veillard 259f0dfa 2004-08-18T09:13:18 Applied patch from Torkel Lyng to add Schemas support to the Python * xmlschemas.c include/libxml/xmlschemas.h python/generator.py python/libxml.c python/libxml_wrap.h python/types.c python/tests/schema.py python/tests/Makefile.am: Applied patch from Torkel Lyng to add Schemas support to the Python bindings and extend the schemas error API, registered a new test. * doc/* elfgcchack.h: rebuilt to regenerate the bindings Daniel
Daniel Veillard 1f8658a7 2004-08-14T21:46:31 Dodji pointed out a bug in xmlGetNodePath() applied patch from Albert Chin * tree.c: Dodji pointed out a bug in xmlGetNodePath() * xmlcatalog.c: applied patch from Albert Chin to add a --no-super-update option to xmlcatalog see #145461 and another patch also from Albert Chin to not crash on -sgml --del without args see #145462 * Makefile.am: applied another patch from Albert Chin to fix a problem with diff on Solaris #145511 * xmlstring.c: fix xmlCheckUTF8() according to the suggestion in bug #148115 * python/libxml.py: apply fix from Marc-Antoine Parent about the errors in libxml(2).py on the node wrapper #135547 Daniel
Daniel Veillard c0826a77 2004-08-10T14:17:33 applied Schemas patches from Kasimier Buchcik lot of new tests for things * configure.in xmlregexp.c xmlschemas.c xmlschemastypes.c include/libxml/schemasInternals.h include/libxml/xmlerror.h include/libxml/xmlschemastypes.h: applied Schemas patches from Kasimier Buchcik * test/ result/ bug141333* annot-err* any[1-4]* bug145246* element-err* element-minmax-err* include1* restrict-CT-attr-ref*: lot of new tests for things fixed by the patch Daniel
Daniel Veillard d392ba7e 2004-08-04T14:56:45 applied a patch from Gerrit P. Haase to get python bindings on Cygwin * Makefile.am config.h.in configure.in python/Makefile.am: applied a patch from Gerrit P. Haase to get python bindings on Cygwin Daniel
William M. Brack 4e3a9fa1 2004-08-03T22:41:11 elaborated on description of xmlValidityWarningFunc and * include/libxml/valid.h: elaborated on description of xmlValidityWarningFunc and xmlValidityErrorFunc (bug 144760) * xmlIO.c, xmlschemastypes.c, include/libxml/schemasinternals.h: minor fixes to comments for doc rebuilding errors. * doc/*.html: rebuilt the docs
Daniel Veillard 7cc23572 2004-07-29T11:20:30 1 line patch, apparently htmlNewDoc() was not setting doc->charset. Daniel * HTMLparser.c: 1 line patch, apparently htmlNewDoc() was not setting doc->charset. Daniel
William M. Brack c68d78d2 2004-07-16T10:39:30 added a check on the argument for some classes (e.g. xmlDoc and xmlNode) * python/generator.py: added a check on the argument for some classes (e.g. xmlDoc and xmlNode) to prevent a segfault (as reported on the list). Further enhancement should be done to auto-create the appropriate object. * python/libxml.c: minor fix for a warning message; added a routine, currently not used, to report the description of a PyCObject. * python/libxml2class.txt: regenerated
William M. Brack 37e63946 2004-07-12T16:27:37 ran 'expand' on the file to get rid of mixture of tabs and spaces (bug * python/libxml.py: ran 'expand' on the file to get rid of mixture of tabs and spaces (bug 147424)
William M. Brack e9449c5d 2004-07-11T14:41:20 added an encoding "special comment" to avoid warning message in python2.3 * python/drv_libxml.py: added an encoding "special comment" to avoid warning message in python2.3 (bug 146889) * Makefile.am, python/Makefile.am, python/tests/Makefile.am: small change to make "make tests" a little quieter (MAKEFLAGS+=--silent) * xpath.c: enhanced to take advantage of current libxslt handling of tmpRVT. Fixes bug 145547.
Daniel Veillard eb70f93f 2004-07-05T16:46:09 make the push interfaces synchronous added a specific test added the new * parser.c: make the push interfaces synchronous * python/tests/sync.py: added a specific test * python/tests/Makefile.am doc/examples/Makefile.am doc/examples/index.py: added the new test, cleaning up "make tests" output Daniel
William M. Brack 8e2cc6f2 2004-07-03T23:28:52 Changed the number of XPath extension functions allowed to be * python/libxml.c: Changed the number of XPath extension functions allowed to be variable-length (patch supplied by Marc-Antoine Parent, bug 143805). Added code to "unregister" the functions when the parser cleanup takes place.
Daniel Veillard 529233cc 2004-07-02T12:23:44 some updates with memory debugging facilities while messing with libxslt * xmlmemory.c python/libxml.c python/libxml2-python-api.xml: some updates with memory debugging facilities while messing with libxslt python bindings Daniel
Daniel Veillard f93a8660 2004-07-01T12:56:30 applied patch from Stéphane Bidoul to fix some Python bindings * 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 initialization, then had to change the parserCleanup() to handle memory released there. * xmlmemory.c: added more debugging comments. Daniel
Daniel Veillard d69cc817 2004-07-01T09:36:26 do not provide functions used as destructor of classes as public methods * python/generator.py: do not provide functions used as destructor of classes as public methods to avoid double-free problem like in bug #145185 Daniel
William M. Brack 96d2effc 2004-06-30T11:48:47 warning message cleanup. Now compiles warning-free, all tests passed. * xmlschemas.c, xmlschemastypes.c: warning message cleanup. Now compiles warning-free, all tests passed. * SAX2.c: small change to comments for documentation. No change to logic.
Daniel Veillard 01fa6156 2004-06-29T17:04:39 applied Schemas patches from Kasimier Buchcik, there is still one open * xmlschemas.c xmlschemastypes.c include/libxml/xmlerror.h include/libxml/schemasInternals.h include/libxml/xmlschemastypes.h: applied Schemas patches from Kasimier Buchcik, there is still one open issue about referencing freed memory. * test/schemas/* result/schemas/*: updated with new tests from Kasimier Daniel
Daniel Veillard a2351322 2004-06-27T12:08:10 hack based on Arjan van de Ven suggestion to reduce ELF footprint and * elfgcchack.h doc/elfgcchack.xsl libxml.h: hack based on Arjan van de Ven suggestion to reduce ELF footprint and generated code. Based on aliasing of libraries function to generate direct call instead of indirect ones * doc/libxml2-api.xml doc/Makefile.am doc/apibuild.py: added automatic generation of elfgcchack.h based on the API description, extended the API description to show the conditionals configuration flags required for symbols. * nanohttp.c parser.c xmlsave.c include/libxml/*.h: lot of cleanup * doc/*: regenerated the docs. Daniel
Daniel Veillard f0552936 2004-05-16T01:20:17 a couple of large static variable which should really not be declared as * catalog.c: a couple of large static variable which should really not be declared as such cluttered the .bss section. Daniel
Daniel Veillard b3ac18dc 2004-05-11T13:06:29 better portability fix for f(*args), use apply(f, args) as Stephane Bidoul * python/tests/tstLastError.py: better portability fix for f(*args), use apply(f, args) as Stephane Bidoul suggested Daniel
Daniel Veillard 6d38c750 2004-05-10T00:40:51 applied patch from Ed Davis to allow "make tests" to work with Python 1.5 * Makefile.am python/tests/Makefile.am python/tests/tstLastError.py: applied patch from Ed Davis to allow "make tests" to work with Python 1.5 Daniel
Daniel Veillard 656ce948 2004-04-30T23:11:45 Fixed bug #141529 i.e. various problems when building with --without-html * xmllint.c xmlsave.c python/generator.py python/libxml.c: Fixed bug #141529 i.e. various problems when building with --without-html Daniel
Daniel Veillard ee1d6926 2004-04-18T14:58:57 keep the ChangeLog compressed fix a segfault when using Close() test for * libxml.spec.in: keep the ChangeLog compressed * xmlreader.c: fix a segfault when using Close() * python/tests/Makefile.am python/tests/reader8.py: test for the Close() reader API. Daniel
Daniel Veillard 377e1a90 2004-04-16T16:30:05 move the TODO as comments as the function while not finished are usable * xmlsave.c: move the TODO as comments as the function while not finished are usable as-is * xmlschemas.c include/libxml/xmlerror.h: patch from Kasimier Buchcik implementing union * test/schemas/union_0_0.x* result/schemas/union_0_0*: added example * python/Makefile.am: applied fix from Mike Hommey Daniel
Johan Dahlin 1f093e0c 2004-04-01T14:17:33 Add generated files, to make cvs silent. * python/.cvsignore: Add generated files, to make cvs silent.