python


Log

Author Commit Date CI Message
Daniel Veillard cd6ff282 2003-10-08T22:38:13 final error handling cleanup converted XInclude to the new error handling * xmlIO.c: final error handling cleanup * xinclude.c error.c: converted XInclude to the new error handling * include/libxml/xmlerror.h: added XInclude errors Daniel
Daniel Veillard 4c004147 2003-10-07T11:33:24 switched Relax-NG module to teh new error reporting. Better default * error.c relaxng.c include/libxml/xmlerror.h: switched Relax-NG module to teh new error reporting. Better default report, adds the element associated if found, context and node are included in the xmlError * python/tests/reader2.py: the error messages changed. * result/relaxng/*: error message changed too. Daniel
Daniel Veillard bb5ababa 2003-10-03T22:21:51 more cleanup in make tests more work in the transition to the new error * Makefile.am: more cleanup in make tests * error.c valid.c parser.c include/libxml/xmlerror.h: more work in the transition to the new error reporting strategy. * python/tests/reader2.py result/VC/* result/valid/*: few changes in the strings generated by the validation output Daniel
Daniel Veillard 2b8c4a15 2003-10-02T22:28:19 changed 'make tests' to use a concise output, scrolling to see where thing * Makefile.am: changed 'make tests' to use a concise output, scrolling to see where thing broke wasn't pleasant * configure.in: some beta4 preparation, but not ready yet * error.c globals.c include/libxml/globals.h include/libxml/xmlerror.h: new error handling code, last error informations are stored in the parsing context or a global variable, new APIs to handle the xmlErrorPtr type. * parser.c parserInternals.c valid.c : started migrating to the new error handling code, it's a royal pain. * include/libxml/parser.h include/libxml/parserInternals.h: moved the definition of xmlNewParserCtxt() * parser.c: small potential buffer access problem in push code provided by Justin Fletcher * result/*.sax result/VC/PENesting* result/namespaces/* result/valid/*.err: some error messages were sligthly changed. Daniel
Daniel Veillard a9cce9cd 2003-09-29T13:20:24 Okay this is scary but it is just adding a configure option to disable * HTMLtree.c SAX2.c c14n.c catalog.c configure.in debugXML.c encoding.c entities.c nanoftp.c nanohttp.c parser.c relaxng.c testAutomata.c testC14N.c testHTML.c testRegexp.c testRelax.c testSchemas.c testXPath.c threads.c tree.c valid.c xmlIO.c xmlcatalog.c xmllint.c xmlmemory.c xmlreader.c xmlschemas.c example/gjobread.c include/libxml/HTMLtree.h include/libxml/c14n.h include/libxml/catalog.h include/libxml/debugXML.h include/libxml/entities.h include/libxml/nanohttp.h include/libxml/relaxng.h include/libxml/tree.h include/libxml/valid.h include/libxml/xmlIO.h include/libxml/xmlschemas.h include/libxml/xmlversion.h.in include/libxml/xpathInternals.h python/libxml.c: Okay this is scary but it is just adding a configure option to disable output, this touches most of the files. Daniel
Daniel Veillard 4432df23 2003-09-28T18:58:27 cleanup, creating a new legacy.c module, made sure make tests ran in * Makefile.am: cleanup, creating a new legacy.c module, made sure make tests ran in reduced conditions * SAX.c SAX2.c configure.in entities.c globals.c parser.c parserInternals.c tree.c valid.c xlink.c xmlIO.c xmlcatalog.c xmlmemory.c xpath.c xmlmemory.c include/libxml/xmlversion.h.in: increased the modularization, allow to configure out validation code and legacy code, added a configuration option --with-minimum compiling only the mandatory code which then shrink to 200KB. Daniel
Daniel Veillard dca8cc79 2003-09-26T13:53:14 rebuilt the API added the new options --nocdata and --nsclean to remove * doc/libxml2-api.xml: rebuilt the API * xmllint.c doc/xmllint.1 doc/xmllint.xml: added the new options --nocdata and --nsclean to remove CDATA section and surperfluous namespace declarations * parser.c SAX2.c: implementation of the 2 new options Daniel
Daniel Veillard e96a2a4b 2003-09-24T21:23:56 adding repeated parsing and validating tests make the new DOM tree * Makefile.am: adding repeated parsing and validating tests * SAX2.c parser.c tree.c include/libxml/parser.h: make the new DOM tree building interfaces use the dictionary from the parsing context to build the element and attributes names as well as formatting spaces and short text nodes * include/libxml/dict.h dict.c: added some reference counting for xmlDictPtr because they can be shared by documents and a parser context. * xmlreader.c: a bit of cleanup, remove the specific tree freeing functions and use the standard ones now. * xmllint.c: add --nodict * python/libxml.c: fix a stupid bug so that ns() works on attribute nodes. Daniel
Daniel Veillard 16fa96c5 2003-09-23T21:50:54 adding a new set of API for parsing xmlReadDoc() xmlReadFile() ... * parser.c include/libxml/parser.h: adding a new set of API for parsing xmlReadDoc() xmlReadFile() ... xmlReadIO() and xmlCtxtReadDoc() ... xmlCtxtReadIO(). That with a clear define of xmlParserOption, xmlCtxtUseOptions() should simplify custom parsing without being tempted to use global variables, and xmlCtxtReset() should allow reuse of a context for multiple parsing. * xmllint.c: switched to use xmlReadXXX, allow options to be used simultaneously with less troubles. * tree.c: simple warning removal * doc/apibuild.py: small fix * doc/libxml2-api.xml win32/libxml2.def.src: updated Daniel
Daniel Veillard e72c508c 2003-09-19T12:44:05 preparing a 2.6.0-beta2 release avoid a warning avoid duplicate code in * configure.in: preparing a 2.6.0-beta2 release * xmlIO.c: avoid a warning * tree.c: avoid duplicate code in xmlReplaceNode as pointed out by Chris Ryland * include/libxml/dict.h: add a QName access lookup to the dictionary. * xmlreader.c include/libxml/xmlreader.h: adding const access based on the dictionary interface for string read from the reader, the node content access is still TODO, it's too different Daniel
Daniel Veillard 007d51eb 2003-09-17T20:07:28 use stderr and not stdout for default errors in python environment bug * python/libxml.c: use stderr and not stdout for default errors in python environment bug #122552 Daniel
Daniel Veillard bdbe0d4e 2003-09-14T19:56:14 factoring of more error handling code, serious size reduction and more * parser.c include/libxml/xmlerror.h: factoring of more error handling code, serious size reduction and more lisibility of the resulting code. * parserInternals.c parser.c include/libxml/parserInternals.h include/libxml/parser.h: changing the way VC:Proper Group/PE Nesting checks are done, use a counter for entities. Entities where freed and reallocated at the same address failing the check. * tree.c: avoid a warning * result/valid/* result/VC/*: this slightly changes some validation error messages. Daniel
Daniel Veillard 5f1e1f8a 2003-09-11T23:35:09 backport of a thread bugfix from 2_5_X branch Daniel * threads.c: backport of a thread bugfix from 2_5_X branch Daniel
Daniel Veillard f2a941fc 2003-09-07T20:54:29 2.6.0beta1 changes Fixing attribute normalization, might not be totally * configure.in doc/* : 2.6.0beta1 changes * SAX2.c hash.c parser.c parserInternals.c: Fixing attribute normalization, might not be totally fixed but this should make sure SAX event provide the right strings for attributes except entities for which libxml2 is different by default This should fix #109564 * result/attrib.xml.sax result/ent3.sax result/p3p.sax: minor changes in attribute callback values * result/c14n/with-comments/example-4 result/c14n/without-comments/example-4: this also fixes a subtle bug in the canonicalization tests. Daniel
Daniel Veillard bbeb9f9e 2003-09-07T20:54:29 try to cope with the fact that apps may still have allocated smaller SAX * parser.c: try to cope with the fact that apps may still have allocated smaller SAX callbak block Daniel
Daniel Veillard e8553730 2003-09-01T20:33:14 Applied a patch from Kevin P. Fleming to add --libtool-libs option to * configure.in xml2-config.in: Applied a patch from Kevin P. Fleming to add --libtool-libs option to xml2-config script. Daniel
William M. Brack a71a8ef1 2003-08-06T04:43:55 further small changes to elminate most of the remaining warnings. * error.c trionan.[ch] testThreads.c python/generator.py: further small changes to elminate most of the remaining warnings.
William M. Brack c193956e 2003-08-05T15:52:22 small changes to syntax to get rid of compiler warnings. No changes to * error.c HTMLparser.c testC14N.c testHTML.c testURI.c xmlcatalog.c xmlmemory.c xmlreader.c xmlschemastypes.c python/libxml.c include/libxml/xmlmemory.h: small changes to syntax to get rid of compiler warnings. No changes to logic.
Daniel Veillard c758c229 2003-08-04T20:42:34 rebuilt the API and docs. Daniel * doc/libxml2-api.xml doc/html/*: rebuilt the API and docs. Daniel
Daniel Veillard 8d73bcb5 2003-08-04T01:06:15 added a new API to split a QName without generating any memory allocation * tree.c include/libxml/tree.h: added a new API to split a QName without generating any memory allocation * valid.c: fixed another problem with namespaces on element in mixed content case * python/tests/reader2.py: updated the testcase with Bjorn Reese fix to reader for unsignificant white space * parser.c HTMLparser.c: cleanup. Daniel
Daniel Veillard c2664641 2003-07-29T20:44:53 patch from Joachim Bauch + cleanup for Relax NG error callbacks in python * python/generator.py python/libxml.c python/libxml2class.txt: patch from Joachim Bauch + cleanup for Relax NG error callbacks in python Daniel
Daniel Veillard 781ac8b1 2003-05-15T22:11:36 patch from Stéphane Bidoul for setting up threads global defaults. this * build_glob.py global.data globals.c parser.c 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 python/tests/thread2.py: integrated the associated testcase and fixed the error string used in reader2 Daniel
Daniel Veillard 38b80a8f 2003-05-14T18:59:00 trying to conciliate --with-python= requirements and RPM builds, a PITA * configure.in libxml.spec.in python/Makefile.am: trying to conciliate --with-python= requirements and RPM builds, a PITA really... Daniel
Daniel Veillard 61c52202 2003-04-30T12:20:34 try to fix Red hat bug #89957, do not output -L/usr/lib64 fixed a typo in * xml2-config.in: try to fix Red hat bug #89957, do not output -L/usr/lib64 * xmlreader.c: fixed a typo in a comment Daniel
Daniel Veillard 94bb2f1c 2003-04-27T22:14:07 applied patch from Stéphane Bidoul for the Python bindings on the new * win32/configure.js python/setup.py.in: applied patch from Stéphane Bidoul for the Python bindings on the new release. Daniel
Daniel Veillard 2b32e6f3 2003-04-26T12:03:54 fixed a problem in the generator where the way functions are remapped as * 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 Daniel
Daniel Veillard 92fc02cc 2003-04-24T23:12:35 preparing release 2.5.7 updated and rebuilt the docs fixed the script * NEWS configure.in: preparing release 2.5.7 * doc/*: updated and rebuilt the docs * doc/apibuild.py: fixed the script Daniel
Daniel Veillard de0a0a5a 2003-04-24T17:12:57 make sure the OOM code don't get in the way of the builds automatic update * Makefile.am doc/apibuild.py: make sure the OOM code don't get in the way of the builds * doc/libxml2-api.xml python/libxml2class.txt: automatic update Daniel
Daniel Veillard 5439624b 2003-04-23T07:36:50 applied patch from Brent M Hendricks adding binding for xmlCatalogAddLocal * python/libxml.c python/libxml.py: applied patch from Brent M Hendricks adding binding for xmlCatalogAddLocal Daniel
Daniel Veillard a880b124 2003-04-21T21:36:41 a lot of performance work especially the speed of streaming through the * globals.c libxml.h parser.c parserInternals.c tree.c xmllint.c xmlreader.c include/libxml/parser.h: a lot of performance work especially the speed of streaming through the reader and push interface. Some thread related optimizations. Nearly doubled the speed of parsing through the reader. Daniel
Daniel Veillard ac297930 2003-04-17T12:55:35 some cleanups extended the document to cover RelaxNG and tree operations * relaxng.c: some cleanups * doc/xmlreader.html: extended the document to cover RelaxNG and tree operations * python/tests/Makefile.am python/tests/reader[46].py: added some xmlReader example/regression tests * result/relaxng/tutor*.err: updated the output of a number of tests Daniel
Daniel Veillard 33300b49 2003-04-17T09:09:19 augnemting the APIs, cleanups. cleanup bug #111005 added some missing * include/libxml/relaxng.h relaxng.c include/libxml/xmlreader.h xmlreader.c: augnemting the APIs, cleanups. * parser.c: cleanup bug #111005 * xmlIO.c: added some missing comments Daniel
Daniel Veillard c6cae7b6 2003-04-11T09:02:11 Added the Expand() and Next() operation to work on subtrees within the * xmlreader.c include/libxml/xmlreader.h: Added the Expand() and Next() operation to work on subtrees within the reader framework. * doc/libxml2-api.xml python/libxml2class.txt: resulting updates * python/tests/reader5.py: added an example for those new functions of the reader. Daniel
Daniel Veillard c2d4a93d 2003-04-01T11:13:05 preparing release 2.5.6 updated and rebuilt the docs Daniel * configure.in NEWS: preparing release 2.5.6 * doc/*: updated and rebuilt the docs Daniel
Daniel Veillard 6c5b2d3f 2003-03-27T14:55:52 fixing #109227 providing more context in case of start/end tag mismatch * parser.c: fixing #109227 providing more context in case of start/end tag mismatch * python/tests/ctxterror.py python/tests/readererr.py: update the tests accordingly Daniel
Daniel Veillard e4fa2932 2003-03-26T00:38:10 first part of the fix to performance bug #108905, adds * xpath.c include/libxml/xpath.h: first part of the fix to performance bug #108905, adds xmlXPathOrderDocElems() providing document order for nodes. * python/libxml.c: Python may require TRIO as Albert Chin pointed out Daniel
Daniel Veillard 2032d294 2003-03-25T11:09:40 was missing "drv_libxml2.py" Daniel * python/setup.py.in : was missing "drv_libxml2.py" Daniel
Daniel Veillard 48ef4c98 2003-03-22T12:38:15 fixed bug #108801 reported by Malcolm Tredinnick about the DocType node * xmlreader.c: fixed bug #108801 reported by Malcolm Tredinnick about the DocType node not being reported sometimes. * python/tests/reader.py: added to test to the regression checks Daniel
Daniel Veillard 17bed981 2003-02-24T20:11:43 preparing release 2.5.4 updated and rebuilt the docs removed warnings * configure.in: preparing release 2.5.4 * doc/*: updated and rebuilt the docs * relaxng.c: removed warnings * result/relaxng/*: updated the results Daniel
Daniel Veillard c64b8e98 2003-02-24T11:47:13 some warning removal on Igor's patch seems I messed up with #106788 fix * uri.c parser.c: some warning removal on Igor's patch * tree.c: seems I messed up with #106788 fix * python/libxml.c: fixed some base problems when Python provides the resolver. * relaxng.c: fixed the interleave algorithm found 373 test schemas: 364 success 9 failures found 529 test instances: 525 success 4 failures the resulting failures are bug in the algorithm from 7.3 and lack of support for params Daniel
Daniel Veillard febcca40 2003-02-16T15:44:18 more bug-hunting added --tree to dump the intermediate rng tree patch from * 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 on python < 2.2 Daniel
Daniel Veillard 591b4be0 2003-02-09T23:33:36 fixed doc comment problems adding RelaxNG wrappers added a specific test * xpath.c: fixed doc comment problems * python/generator.py python/libxml_wrap.h python/types.c: adding RelaxNG wrappers * python/tests/Makefile.am python/tests/relaxng.py: added a specific test of those early Python RelaxNG bindings Daniel
Daniel Veillard 71531f33 2003-02-05T13:19:53 comments cleanups use xmllint for doing the RelaxNG tests preparing 2.5.2 * HTMLparser.c tree.c xmlIO.c: comments cleanups * Makefile.am: use xmllint for doing the RelaxNG tests * configure.in: preparing 2.5.2 made schemas support default to on instead of off * relaxng.c: removed the verbosity * xmllint.c: added --relaxng option * python/generator.py python/libxml_wrap.h: prepared the integration of the new RelaxNG module and schemas * result/relaxng/*: less verbose output Daniel
Daniel Veillard 0e298ad2 2003-02-04T16:14:33 fixing #104096 to compile without regexps Daniel * configure.in valid.c xmlreader.c python/libxml_wrap.h python/types.c: fixing #104096 to compile without regexps Daniel
Daniel Veillard 3b2e4e1c 2003-02-03T08:52:58 removed an unprotedted debug message Aleksi Suhonen put a guard against * python/libxml.c: removed an unprotedted debug message Aleksi Suhonen * parser.c: put a guard against infinite document depth, basically trying to avoid another kind of DoS attack. * relaxng.c: some code w.r.t. nameClasses Daniel
Daniel Veillard ff12c494 2003-01-23T16:42:55 seems there is no good reasons to not generate bindings for XPointer * python/generator.py: seems there is no good reasons to not generate bindings for XPointer Daniel
Daniel Veillard 540a31a3 2003-01-21T11:21:07 applied a new patch from Stéphane Bidoul for cleanups rebuilt the API * xmlreader.c doc/apibuild.py: applied a new patch from Stéphane Bidoul for cleanups * doc/libxml2-api.xml: rebuilt the API description with new entry points Daniel
Daniel Veillard 417be3ae 2003-01-20T21:26:34 patch from Stéphane Bidoul for better per context error message APIs * 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 context error message APIs * python/tests/ctxterror.py python/tests/readererr.py: update of the tests Daniel
Daniel Veillard 1aaae654 2003-01-17T10:48:04 Forgot to add readererr.py, oops, Daniel
Daniel Veillard 26f70269 2003-01-16T22:45:08 applied a patch from Stéphane Bidoul to allow per XMLtextReader error and * 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 and warning handling * python/tests/Makefile.am python/tests/readererr.py: adding the specific regression test Daniel
Daniel Veillard e4a07e7b 2003-01-14T14:40:25 cleanup patch from Stéphane Bidoul Daniel * python/libxml.c: cleanup patch from Stéphane Bidoul Daniel
Daniel Veillard e6227e05 2003-01-14T11:42:39 applied and fixed a patch from Stephane Bibould to provide per parser * python/generator.py python/libxml.c python/libxml.py python/libxml_wrap.h python/types.c: applied and fixed a patch from Stephane Bibould to provide per parser error handlers at the Python level. * python/tests/Makefile.am python/tests/ctxterror.py: added a regression test for it. Daniel
Daniel Veillard 3b87b6b3 2003-01-10T15:21:50 fixed a bug raised by Raymond Wiker, docSetRootElement() should not raise * python/generator.py: fixed a bug raised by Raymond Wiker, docSetRootElement() should not raise an exception if the return is None Daniel
Daniel Veillard 3e20a292 2003-01-10T13:14:40 fixed bug #102181 by applying the suggested change and fixing the * python/libxml.py python/libxml.c python/libxml2-python-api.xml: fixed bug #102181 by applying the suggested change and fixing the generation/registration problem. Daniel
Daniel Veillard 8f872442 2003-01-09T23:19:02 one more IsEmptyElement crazyness, that time in external parsed entities * parser.c: one more IsEmptyElement crazyness, that time in external parsed entities if substitution is asked. * python/tests/reader3.py: added a specific test. Daniel
Daniel Veillard e329fc24 2003-01-09T21:36:42 update from Stéphane Bidoul: python 2.1 support and improved error handler * python/drv_libxml2.py: update from Stéphane Bidoul: python 2.1 support and improved error handler registration Daniel
Daniel Veillard 7b4b2f9d 2003-01-06T13:11:20 preparing 2.5.0 release only warn in pedantic mode about namespace name * configure.in NEWS: preparing 2.5.0 release * SAX.c: only warn in pedantic mode about namespace name brokeness * globals.c: fix a doc generation problem * uri.c: fix #101520 * doc/*: updated and rebuilt the doc for the release, includuding stylesheet update * python/Makefile.am: fix a filename bug Daniel
Daniel Veillard 067bae5f 2003-01-05T01:27:54 seriously changed the way data are pushed to the underlying parser, go by * xmlreader.c: seriously changed the way data are pushed to the underlying parser, go by block of 512 bytes instead of tryng to detect tag boundaries at that level. Changed the way empty element are detected and tagged. * python/tests/reader.py python/tests/reader2.py python/tests/reader3.py: small changes mostly due to context reporting being different and DTD node being reported. Some errors previously undetected are now caught and fixed. * doc/xmlreader.html: flagged last section as TODO Daniel
Daniel Veillard 51a447a5 2003-01-04T19:42:46 integrated the Python 2.2 optimizations from Hannu Krosing, while * python/libxml.py: integrated the Python 2.2 optimizations from Hannu Krosing, while maintaining compatibility with 1.5 and 2.1 Daniel
Daniel Veillard 2bc13cac 2003-01-04T19:06:55 fixed a small problem related to order of files in dir, Daniel
Daniel Veillard e59494fa 2003-01-04T16:35:29 a bit of cleanup small fix more work on the XmlTextReader tutorial a few * xmllint.c: a bit of cleanup * xmlreader.c: small fix * doc/xmlreader.html: more work on the XmlTextReader tutorial * python/libxml.py: a few fixes pointed out by Hannu Krosing Daniel
Daniel Veillard 623a9eb2 2003-01-04T12:47:20 patch from Stéphane Bidoul to include drv_libxml2.py in setup.py Daniel * python/setup.py.in: patch from Stéphane Bidoul to include drv_libxml2.py in setup.py Daniel
Daniel Veillard a80ff6ec 2003-01-03T12:52:08 okay the DTD validation code on top of the XMLTextParser API should be * xmlreader.c python/tests/reader2py: okay the DTD validation code on top of the XMLTextParser API should be solid now. Daniel
Daniel Veillard 1fdfd115 2003-01-03T01:18:43 Fixing some more mess with validation and recursive entities while using * xmlreader.c python/tests/reader2py: Fixing some more mess with validation and recursive entities while using the reader interface, it's getting a bit messy... Daniel
Daniel Veillard dab8ea9b 2003-01-02T14:16:45 another couple of problem related to IsEmptyElement reported by Stéphane * xmlreader.c python/tests/reader.py: another couple of problem related to IsEmptyElement reported by Stéphane Bidoul needed some fixes. Daniel
Daniel Veillard 4f860202 2003-01-02T13:00:02 integrated drv_libxml2.py Python xml.sax driver from Stéphane Bidoul based * libxml.spec.in python/Makefile.am python/drv_libxml2.py: integrated drv_libxml2.py Python xml.sax driver from Stéphane Bidoul based on the python XmlTextReader interface. Daniel
Daniel Veillard e3c036ee 2003-01-01T15:11:05 fixed another couple of xmlreader bugs reported by Stéphane Bidoul and * xmlreader.c python/tests/reader.py: fixed another couple of xmlreader bugs reported by Stéphane Bidoul and added tests. Daniel
Daniel Veillard 9e395c28 2003-01-01T14:50:44 fixed another validity checking in external parsed entities raised by * xmlreader.c python/tests/reader2.py: fixed another validity checking in external parsed entities raised by Stéphane Bidoul and added a specific regression test. * python/tests/reader3.py: cleanup Daniel
Daniel Veillard d5896140 2002-12-31T14:45:26 fixed a problem with validation within entities pointed by Stéphane * xmlreader.c python/tests/reader2.py: fixed a problem with validation within entities pointed by Stéphane Bidoul, augmented the tests to catch those. Daniel
Daniel Veillard dc85f28f 2002-12-31T11:18:37 modified the generator to allow keeping class references when creating new * 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 xmlTextReader instance gets destroyed if the python wrapper for the input is not referenced anymore. Daniel
Daniel Veillard 4d8db8a2 2002-12-30T18:40:42 fixed another pair of problem pointed by Stéphane Bidoul: depth start at 0 * xmlreader.c python/tests/reader.py: fixed another pair of problem pointed by Stéphane Bidoul: depth start at 0 and a parse problem. Daniel
Daniel Veillard 571b889b 2002-12-30T12:37:59 fixed another problem pointed by Stéphane Bidoul Daniel * xmlreader.c python/tests/reader.py: fixed another problem pointed by Stéphane Bidoul Daniel
Daniel Veillard aaa105b5 2002-12-30T11:42:17 fixed a limit case problem with "<a/>" Daniel * xmlreader.c python/tests/reader.py: fixed a limit case problem with "<a/>" Daniel
Daniel Veillard ecaba49a 2002-12-30T10:55:29 warn on xmlns:prefix="foo" fixed a couple of problem for namespace * SAX.c: warn on xmlns:prefix="foo" * xmlreader.c python/tests/reader.py: fixed a couple of problem for namespace attributes handling. Daniel
Daniel Veillard 29b3e285 2002-12-29T11:14:41 fixed a bug pointed out by Stéphane Bidoul and integrated it into the * xmlreader.c python/tests/reader.py: fixed a bug pointed out by Stéphane Bidoul and integrated it into the tests Daniel
Daniel Veillard e18fc185 2002-12-28T22:56:33 extended the XmlTextReader API a bit, addding accessors for the current * xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml: extended the XmlTextReader API a bit, addding accessors for the current doc and node, and an entity substitution mode for the parser. * python/libxml.py python/libxml2class.txt: related updates * python/tests/Makefile.am python/tests/reader.py python/tests/reader2.py python/tests/reader3.py: updated a bit the old tests and added a new one to test the entities handling Daniel
Daniel Veillard aba976d8 2002-12-28T21:14:18 changed the generator to provide casing for the XmlTextReader similar to * python/generator.py python/libxml2class.txt python/tests/reader.py python/tests/reader2.py: changed the generator to provide casing for the XmlTextReader similar to C# so that examples and documentation are more directly transposable. Fixed the couple of tests in the suite. Daniel
Jose Maria Celorio d7046d17 2002-12-28T04:48:15 quiet down cvs somewhat
Daniel Veillard 336fc7d3 2002-12-27T19:37:04 final touch running DTD validation on the XmlTextReader added a specific * valid.c xmlreader.c: final touch running DTD validation on the XmlTextReader * python/tests/Makefile.am python/tests/reader2.py: added a specific run based on the examples from test/valid/*.xml Daniel
Daniel Veillard f25b4cab 2002-12-27T15:18:35 added a few predefined xmlTextReader parser configuration values. Daniel * python/libxml.py: added a few predefined xmlTextReader parser configuration values. Daniel
Daniel Veillard 0e9dafad 2002-12-27T11:58:25 trying to fix #102037 Daniel * python/libxml_wrap.h: trying to fix #102037 Daniel
Daniel Veillard 0d132cff 2002-12-23T14:43:32 patch from Stéphane Bidoul for Python 2.1 Daniel * python/libxml.c python/setup.py.in: patch from Stéphane Bidoul for Python 2.1 Daniel
Daniel Veillard 4258b9c8 2002-12-20T10:29:40 one really need to provide the base URI information when creating a reader * doc/libxml2-api.xml python/tests/reader.py: one really need to provide the base URI information when creating a reader parser from an input stream. Updated the API and the example using it. Daniel
Daniel Veillard beb70bd3 2002-12-18T14:53:54 more work on the xml reader interfaces. updated Igor's mail and the Web * xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml: more work on the xml reader interfaces. * AUTHORS MAINTAINERS doc/* win32/*: updated Igor's mail and the Web page for the Windows binaries. Daniel
Daniel Veillard 67df809c 2002-12-16T22:04:11 Vyacheslav Pindyura managed to trigger a bug in parseStartTag, fixing it. * parser.c: Vyacheslav Pindyura managed to trigger a bug in parseStartTag, fixing it. * test/att4 result/att4 result/noent/att4: adding the test * xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml: added more methods to XmlTextReader. Daniel
Daniel Veillard da46d2d3 2002-12-15T23:36:49 added more methods of XmlTextReader. this increased the methods in the * xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml: added more methods of XmlTextReader. * python/libxml2class.txt python/tests/reader.py: this increased the methods in the bndings, augmented the test to check those new functions. Daniel
Daniel Veillard 0eb38c72 2002-12-14T23:00:35 added the close and getattribute methods of XmlTextReader. added the * xmlreader.c doc/libxml2-api.xml: added the close and getattribute methods of XmlTextReader. * python/generator.py python/libxml_wrap.h python/types.c python/libxml2class.txt: added the reader to the Python bindings * python/tests/Makefile.am python/tests/reader.py: added a specific test for the Python bindings of the Reader APIs * parser.c: small cleanup. Daniel
Daniel Veillard c1eed320 2002-12-12T11:01:32 preparing release of 2.4.30 fixups to the api builder, gives enum values, * configure.in: preparing release of 2.4.30 * doc/apibuild.py doc/libxml2-api.xml: fixups to the api builder, gives enum values, fix functype return type, put back fields in structs * doc/*: updated the docs rebuilt Daniel
Daniel Veillard 024b5701 2002-12-12T00:15:55 patch from Mark Vadok about htmlNodeDumpOutput location. removed an * HTMLtree.c include/libxml/HTMLtree.h: patch from Mark Vadok about htmlNodeDumpOutput location. * xpath.c: removed an undefined function signature * doc/apibuild.py doc/libxml2-api.xml: the script was exporting too many symbols in the API breaking the python bindings. Updated with the libxslt/libexslt changes. Daniel
Daniel Veillard a9b66d00 2002-12-11T14:23:49 new API building Python script, does the C parsing directly, generates a * doc/apibuild.py doc/libxml2-api.xml doc/Makefile.am: new API building Python script, does the C parsing directly, generates a better API description including structure fieds defs and enums. Still a couple of bugs, but good enough for the python wrappers now. * DOCBparser.c SAX.c nanohttp.c parser.c parserInternals.c tree.c valid.c xmlIO.c xmlmemory.c xmlreader.c xmlregexp.c xmlschemas.c include/libxml/schemasInternals.h include/libxml/tree.h: more cleanup based on the python analysis script reports. * libxml.spec.in: make sure the API XML description is part of the devel package. Daniel
Daniel Veillard 9d5ea17e 2002-11-27T08:02:06 another patch from Stéphane Bidoul for Python bindings on Windows small * python/setup.py.in: another patch from Stéphane Bidoul for Python bindings on Windows * doc/parsedecl.py: small cleanup Daniel
Daniel Veillard faa35ff3 2002-11-24T13:53:43 Return the previous as opposed to the next node (I guess this is the * python/libxml.c (libxml_prev): Return the previous as opposed to the next node (I guess this is the result of some cut & paste programming:) Daniel
Daniel Veillard a1196ed4 2002-11-23T11:22:49 trying to fix the Python bindings build on Windows (Stéphane Bidoul) * python/generator.py python/libxml.c python/setup.py.in: trying to fix the Python bindings build on Windows (Stéphane Bidoul) Daniel
Daniel Veillard fee408f5 2002-11-22T13:18:30 final touch at closing #87235 </p> end tags need to be generated. this * HTMLparser.c: final touch at closing #87235 </p> end tags need to be generated. * result/HTML/cf_128.html result/HTML/test2.html result/HTML/test3.html: this change slightly the output of a few tests * doc/*: regenerated Daniel
Daniel Veillard d076a20e 2002-11-20T13:28:31 fixed #99082 for xi:include encoding="..." support on text includes. added * xinclude.c parserInternals.c encoding.c: fixed #99082 for xi:include encoding="..." support on text includes. * result/XInclude/tstencoding.xml test/XInclude/docs/tstencoding.xml test/XInclude/ents/isolatin.txt : added a specific regression test * python/generator.py python/libxml2class.txt: fixed the generator the new set of comments generated for doc/libxml2-api.xml were breaking the python generation. Daniel
Daniel Veillard a8c0adbc 2002-11-17T22:37:35 fixing bug #98792 , node may have no doc and dereferencing without * python/libxml.c: fixing bug #98792 , node may have no doc and dereferencing without checking ain't good ... Daniel
Daniel Veillard 66651aa8 2002-11-15T11:21:43 trying to fix bug #98517 about building outside the source tree fixed the * Makefile.am python/Makefile.am python/tests/Makefile.am: trying to fix bug #98517 about building outside the source tree * doc/xml.html doc/FAQ.html: fixed the link to libiconv #94585 Daniel
Daniel Veillard e645e8c1 2002-10-22T17:35:37 Applied the VMS update patch from Craig A. Berry update Daniel * vms/build_libxml.com vms/config.vms vms/readme.vms include/libxml/parser.h include/libxml/parserInternals.h include/libxml/tree.h include/libxml/xmlIO.h HTMLparser.c catalog.c debugXML.c parser.c parserInternals.c tree.c triodef.h trionan.c uri.c xmlIO.c xpath.c: Applied the VMS update patch from Craig A. Berry * doc/*.html: update Daniel
Daniel Veillard c0ac0699 2002-10-20T21:31:50 fixed bugs when passing result value tree to Python functions. Daniel * python/types.c: fixed bugs when passing result value tree to Python functions. Daniel
Daniel Veillard d4cb1e8a 2002-09-26T09:34:23 fixed a stupid error breaking the python API Daniel * python/generator.py python/libxml2class.txt: fixed a stupid error breaking the python API Daniel