parser.c


Log

Author Commit Date CI Message
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
William M. Brack 78637da0 2003-07-31T14:47:38 fixing bug 118559
Daniel Veillard a6874ca4 2003-07-29T16:47:24 applied Peter Jacobi encoding cleanup patch, and also avoided a possible * parser.c parserInternals.c tree.c: applied Peter Jacobi encoding cleanup patch, and also avoided a possible memory leak Daniel
Daniel Veillard 597bc48b 2003-07-24T16:08:28 fixing a bug about a special case of namespace handling, this closes bug * SAX.c parser.c: fixing a bug about a special case of namespace handling, this closes bug #116841 Daniel
Daniel Veillard 34ba3879 2003-07-15T13:34:05 removed some warnings by casting xmlChar to unsigned int and a couple of * DOCBparser.c HTMLparser.c entities.c parser.c relaxng.c xmlschemas.c xpath.c: removed some warnings by casting xmlChar to unsigned int and a couple of others. * xmlschemastypes.c: fixes a segfault on empty hexBinary strings Daniel
Daniel Veillard d9d32aeb 2003-07-05T20:32:43 use the character() SAX callback if the cdataBlock ain't defined. fix bug * parser.c HTMLparser.c: use the character() SAX callback if the cdataBlock ain't defined. * xpath.c: fix bug #115349 allowing compilation when configured with --without-xpath since the Schemas code needs NAN and co. Daniel
Daniel Veillard 4e9b1bc2 2003-06-09T10:30:33 trying to fix #114277 about when file remapping and escaping should really * parser.c xmlIO.c: trying to fix #114277 about when file remapping and escaping should really be attempted. 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 c3ca5ba4 2003-05-09T22:26:28 removed multiple warning, this fixed a bug and should close #111574 Daniel * DOCBparser.c catalog.c parser.c relaxng.c: removed multiple warning, this fixed a bug and should close #111574 Daniel
Daniel Veillard 329456ab 2003-04-26T21:21:00 fix for xmlIOParseDTD same as previous and reported by Petr Pajas Daniel * parser.c: fix for xmlIOParseDTD same as previous and reported by Petr Pajas Daniel
Daniel Veillard c6abc3d8 2003-04-26T13:27:30 applied fix to xmlSAXParseDTD from Malcolm Tredinnick closing #111638 * parser.c: applied fix to xmlSAXParseDTD from Malcolm Tredinnick closing #111638 Daniel
Daniel Veillard c5573464 2003-04-25T16:43:49 fixing an xmlParseDTD bug raised by Petr Pajas Daniel * parser.c: fixing an xmlParseDTD bug raised by Petr Pajas Daniel
Daniel Veillard a76fe5ca 2003-04-24T16:06:47 integrated the Out Of Memory test from Havoc Pennington #109368 a lot of * Makefile.am testOOM.c testOOMlib.[ch] : integrated the Out Of Memory test from Havoc Pennington #109368 * SAX.c parser.c parserInternals.c tree.c uri.c valid.c xmlmemory.c xmlreader.c xmlregexp.c include/libxml/tree.h include/libxml/parser.h: a lot of memory allocation cleanups based on the results of the OOM testing * check-relaxng-test-suite2.py: seems I forgot to commit the script. Daniel
Daniel Veillard 85095e2c 2003-04-23T13:56:44 try to find more places where xmlCanonicPath() must be used to convert * DOCBparser.c SAX.c catalog.c debugXML.c parser.c: try to find more places where xmlCanonicPath() must be used to convert filenames to URLs, trying to fix #111088 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 3c908dca 2003-04-19T00:07:51 added xmlMallocAtomic() to be used when allocating blocks which do not * DOCBparser.c HTMLparser.c c14n.c catalog.c encoding.c globals.c nanohttp.c parser.c parserInternals.c relaxng.c tree.c uri.c xmlmemory.c xmlreader.c xmlregexp.c xpath.c xpointer.c include/libxml/globals.h include/libxml/xmlmemory.h: added xmlMallocAtomic() to be used when allocating blocks which do not contains pointers, add xmlGcMemSetup() and xmlGcMemGet() to allow registering the full set of functions needed by a garbage collecting allocator like libgc, ref #109944 Daniel
Daniel Veillard 3e59fc52 2003-04-18T12:34:58 added support for large file, tested with a 3+GB instance, and some * libxml.h include/libxml/parser.h parser.c xmlIO.c DOCBparser.c: added support for large file, tested with a 3+GB instance, and some cleanup. * catalog.c: added a TODO * Makefile.am: added some "make tests" comments 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 adba5f1b 2003-04-04T16:09:01 fixed a possible problem with xmlRecoverMemory() Daniel * parser.c: fixed a possible problem with xmlRecoverMemory() 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 642104e1 2003-03-26T16:32:05 Norm suggested a nicer error message for xml:space values errors Daniel * parser.c: Norm suggested a nicer error message for xml:space values errors Daniel
Daniel Veillard 5f8d1a35 2003-03-23T21:02:00 validity status was not passed back when validating in entities, but * parser.c: validity status was not passed back when validating in entities, but raised by Oliver Fischer Daniel
Daniel Veillard ef8dd7be 2003-03-23T12:02:56 fixing bug #108976 get the ID/REFs to reference the ID in the document * parser.c: fixing bug #108976 get the ID/REFs to reference the ID in the document content and not in the entity copy * SAX.c include/libxml/parser.h: more checking of the ID/REF stuff, better solution for #107208 * xmlregexp.c: removed a direct printf, dohhh * xmlreader.c: fixed a bug on streaming validation of empty elements in entities * result/VC/ElementValid8 test/VCM/v20.xml result/valid/xhtml1.xhtml: cleanup of the validation tests * test/valid/id* test/valid/dtds/destfoo.ent result/valid/id*: added more ID/IDREF tests to the suite Daniel
Daniel Veillard 77a90a7f 2003-03-22T00:04:05 patch from johan@evenhuis.nl for #107937 fixing some line counting * HTMLparser.c parser.c parserInternals.c: patch from johan@evenhuis.nl for #107937 fixing some line counting problems, and some other cleanups. * result/HTML/: this result in some line number changes Daniel
Daniel Veillard 39eb88b4 2003-03-11T11:21:28 fix some recursion problems introduced in the last release. more debugging * SAX.c parser.c: fix some recursion problems introduced in the last release. * relaxng.c: more debugging of the RNG validation engine, still problems though. Daniel
Daniel Veillard 02111c1d 2003-02-24T19:14:52 fixes bug #105998 about false detection of attribute consumption loop. * parser.c: fixes bug #105998 about false detection of attribute consumption loop. 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 0046c0fe 2003-02-23T13:52:30 another fix for nodeinfo in entities problem fixed bug #106788 from James * parser.c: another fix for nodeinfo in entities problem * tree.c entities.c: fixed bug #106788 from James Clark some spaces need to be serialized as character references. Daniel
Igor Zlatkovic ce07616c 2003-02-23T13:39:39 path handling bug introduced by my recent machinations fixed
Daniel Veillard 44e1dd00 2003-02-21T23:23:28 fixing some nodeinfo in entities problem raised by Glenn W. Bach * parser.c: fixing some nodeinfo in entities problem raised by Glenn W. Bach * relaxng.c: implemented the first section 7.3 check * result/relaxng/*: updated the results Daniel
Igor Zlatkovic 5f9fada3 2003-02-19T14:51:00 obsoleted xmlNormalizeWindowsPath
Daniel Veillard 8d589046 2003-02-04T15:07:21 fixing bug 105049 for validity checking of content within recursive * parser.c: fixing bug 105049 for validity checking of content within recursive entities. 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 7424eb60 2003-01-24T14:14:52 applied a documentation patch from Stefan Kost Daniel * error.c parser.c tree.c: applied a documentation patch from Stefan Kost 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 e2830f1e 2003-01-08T17:47:49 preparing 2.5.1 release fixing XmlTextReader bug Daniel * configure.in doc/* NEWS: preparing 2.5.1 release * SAX.c parser.c: fixing XmlTextReader bug Daniel
Daniel Veillard 2d84a894 2002-12-30T00:01:08 Fixed a really nasty problem raised by a DocBook XSLT transform provided * entities.c parser.c tree.c include/libxml/entities.h: Fixed a really nasty problem raised by a DocBook XSLT transform provided by Sebastian Bergmann Daniel
Daniel Veillard 3772de37 2002-12-17T10:31:45 the parseStartTag bug fix wasn't complete. Daniel * parser.c: the parseStartTag bug fix wasn't complete. 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 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 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 01c13b5b 2002-12-10T15:19:08 code cleanup, especially the function comments. fixed a small bug when * DOCBparser.c HTMLparser.c c14n.c debugXML.c encoding.c hash.c nanoftp.c nanohttp.c parser.c parserInternals.c testC14N.c testDocbook.c threads.c tree.c valid.c xmlIO.c xmllint.c xmlmemory.c xmlreader.c xmlregexp.c xmlschemas.c xmlschemastypes.c xpath.c: code cleanup, especially the function comments. * tree.c: fixed a small bug when freeing nodes which are XInclude ones. Daniel
Daniel Veillard e1ca5033 2002-12-09T14:13:43 Adding a new set of APIs based on the C# TextXmlReader API but converted * Makefile.am xmlreader.c include/libxml/Makefile.am include/libxml/xmlreader.h: Adding a new set of APIs based on the C# TextXmlReader API but converted to C. Allow to parse in constant memory usage, far simpler to program and explain than the SAX like APIs, unfinished but working. * testReader.c: test program Daniel
Daniel Veillard 1c732d2e 2002-11-30T11:22:59 code cleanup Daniel * DOCBparser.c HTMLparser.c parser.c valid.c xpath.c: code cleanup Daniel
Daniel Veillard 9bc53109 2002-11-25T13:20:04 patch from Marcus Clarke fixing a problem in entities parsing that was * parser.c: patch from Marcus Clarke fixing a problem in entities parsing that was detected in KDe documentations environment. Daniel
Daniel Veillard a7e05b4f 2002-11-19T08:11:14 Martin Stoilov pointed out a potential leak in xmlCreateMemoryParserCtxt * parser.c: Martin Stoilov pointed out a potential leak in xmlCreateMemoryParserCtxt Daniel
Daniel Veillard dad3f680 2002-11-17T16:47:27 preparing release 2.4.27 updated and rebuilt the docs try to make sure the * configure.in: preparing release 2.4.27 * doc/* : updated and rebuilt the docs * doc/Makefile.am libxml.spec.in: try to make sure the tutorial and all the docs are actually packaged and in the final RPMs * parser.c parserInternals.c include/libxml/parser.h: restore xmllint --recover feature. Daniel
Daniel Veillard 68e9e74a 2002-11-16T15:35:11 fixing #96925 wich was also dependant on the processing of parsed * parser.c xpath.c: fixing #96925 wich was also dependant on the processing of parsed entities, and XPath computation on sustitued entities. * testXPath.c: make sure entities are substitued. Daniel
Daniel Veillard 328f48c1 2002-11-15T15:24:34 fixed #96594, which was totally dependant on the processing of internal * parser.c: fixed #96594, which was totally dependant on the processing of internal parsed entities, which had to be changed. Daniel
Daniel Veillard 8606bbbc 2002-11-12T12:36:52 fixed the initialization of the SAX structure which was breaking xsltproc * parserInternals.c: fixed the initialization of the SAX structure which was breaking xsltproc * xpath.c: patch from Petr Pajas for CDATA nodes * tree.c: patch from Petr Pajas improving xmlGetNodePath() * parser.c include/libxml/parser.h: patch from Peter Jones removing a leak in xmlSAXParseMemory() and adding the function xmlSAXParseMemoryWithData() Daniel
Daniel Veillard b39bc393 2002-10-26T19:29:51 Christian Glahn found a problem with a recent patch to * parser.c: Christian Glahn found a problem with a recent patch to xmlParseBalancedChunkMemoryRecover() * xmlschemas.c: Charles Bozeman fixed some Schemas validation problems * result/schemas/elem* result/schemas/seq* test/schemas.elem* test/schemas/seq*: added the test cases from Charles 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 935494a1 2002-10-22T14:22:46 tried to fix bug #91500 where doc->children may be overriden by a call to * parser.c: tried to fix bug #91500 where doc->children may be overriden by a call to xmlParseBalancedChunkMemory() * catalog.c: tried to fix bug #90945 w.r.t. parsing of system identifiers in SGML catalogs containing '&' Daniel
Daniel Veillard bb284f44 2002-10-16T18:02:47 fixed a XML Namespace compliance bug reported by Alexander Grimalovsky * parser.c: fixed a XML Namespace compliance bug reported by Alexander Grimalovsky Daniel
Daniel Veillard 819d5cb8 2002-10-14T11:15:18 Christian Glahn found a small bug in the push parser. cleaned up and made * parser.c: Christian Glahn found a small bug in the push parser. * xmlIO.c include/libxml/xmlIO.h: cleaned up and made xmlCheckFilename public Daniel
Daniel Veillard f4862f0f 2002-09-10T11:13:43 messing around with support for Windows path, cleanups, trying to identify * include/libxml/xmlIO.h xmlIO.c parser.c HTMLparser.c DOCBparser.c: messing around with support for Windows path, cleanups, trying to identify and fix the various code path to the filename access. Added xmlNormalizeWindowsPath() Daniel
Daniel Veillard 3487c8d9 2002-09-05T11:33:25 get rid of all the perror() calls made in the library execution paths. * DOCBparser.c HTMLparser.c c14n.c entities.c list.c parser.c parserInternals.c xmlIO.c: get rid of all the perror() calls made in the library execution paths. This should fix both #92059 and #92385 Daniel
Daniel Veillard 42766c0e 2002-08-22T20:52:17 possible mem leak patch from Jason Adams integrated xf:escape-uri() from * xpath.c: possible mem leak patch from Jason Adams * xpath.c: integrated xf:escape-uri() from Wesley Terpstra in the XQuery namespace * configure.in: preparing 2.4.24 * doc/*.html: updated the web pages * python/generator.py: closing bug #85258 by generating conditional compile check to avoid linking to routines not configured in. Daniel
Daniel Veillard 9e92351e 2002-08-14T08:48:52 xmlSAXUserParseMemory() really ought to fail if the caller don't pass a * parser.c: xmlSAXUserParseMemory() really ought to fail if the caller don't pass a SAX callback block. Daniel
Daniel Veillard 58e44c9d 2002-08-02T22:19:49 adding a new API for Christian Glahn: xmlParseBalancedChunkMemoryRecover * parser.c include/libxml/parser.h: adding a new API for Christian Glahn: xmlParseBalancedChunkMemoryRecover * valid.c: patch from Rick Jones for some grammar cleanup in validation messages * result/VC/* result/valid/*: this slightly change some of the regression tests outputs Daniel
Daniel Veillard 176d99f4 2002-07-06T19:22:28 fixing bug #84169 by fixing the comment of xmlCreatePushParserCtxt to * parser.c: fixing bug #84169 by fixing the comment of xmlCreatePushParserCtxt to describe the encoding detection parameters better. Daniel
Daniel Veillard fdc9156a 2002-07-01T21:52:03 applied patch from Richard Jinks for the namespace axis + fixed a memory * xpath.c: applied patch from Richard Jinks for the namespace axis + fixed a memory error. * parser.c parserInternals.c: applied patches from Peter Jacobi removing ctxt->token for good. * xmlschemas.c xmlschemastypes.c: fixed a few memory leaks popped out by the regression tests. * Makefile.am: patch for threads makefile from Gary Pennington Daniel
Aleksey Sanin 49cc9756 2002-06-14T17:07:10 replaced sprintf() with snprintf() to prevent possible buffer overflow * DOCBparser.c HTMLparser.c debugXML.c encoding.c nanoftp.c nanohttp.c parser.c tree.c uri.c xmlIO.c xmllint.c xpath.c: replaced sprintf() with snprintf() to prevent possible buffer overflow (the bug was pointed out by Anju Premachandran)
Daniel Veillard e059b891 2002-06-13T15:32:10 removed an uninitialized data error popped by valgrind on PE references * parser.c: removed an uninitialized data error popped by valgrind on PE references Daniel
Daniel Veillard f5582f15 2002-06-11T10:08:16 applied a couple of patches from Peter Jacobi to start to get rid of * parser.c: applied a couple of patches from Peter Jacobi to start to get rid of ctxt->token, with a possible significant speed improvement to be gained once done. Better compliance with PE references constructs in DTDs too. * test/valid/t[0-9]* result/valid/t[0-9]*: added a set of tests from Peter too Daniel
Daniel Veillard 38d80e25 2002-06-11T07:24:56 Babak Vahedipour-Kunze reported that openTag in xmlParseElement was likely * parser.c: Babak Vahedipour-Kunze reported that openTag in xmlParseElement was likely to have been deallocated at the time of the report, possibly leading to segfault. Just report the tag name now. Daniel
Daniel Veillard e72c7563 2002-05-31T09:47:30 another peroformance patch from Peter Jacobi, that time on parsing * parser.c: another peroformance patch from Peter Jacobi, that time on parsing attribute values. Daniel
Daniel Veillard 46de64e9 2002-05-29T08:21:33 performance patch from Peter Jacobi Daniel * SAX.c parser.c tree.c include/libxml/tree.h: performance patch from Peter Jacobi Daniel
Aleksey Sanin e48a318f 2002-05-09T18:20:01 fixed bug #81159 (memory growth in SAX)
Daniel Veillard e19fc23b 2002-04-22T16:01:24 updated a bit made a comment more specific more work on the Schemas * TODO: updated a bit * parser.c: made a comment more specific * xmlregexp.c xmlschemas.c xmlschemastypes.c: more work on the Schemas conformance. * test/schemas result/schemas: updated the test list Daniel
Daniel Veillard 46d6c44c 2002-04-09T16:10:39 patch from Markus Henke when an encoding ain't recognized Daniel * parser.c: patch from Markus Henke when an encoding ain't recognized Daniel
Daniel Veillard 561b7f88 2002-03-20T21:55:57 dohh I really didn't intended to commit this test version :-( Daniel * HTMLparser.c error.c parser.c parserInternals.c tree.c xmlIO.c include/libxml/tree.h: dohh I really didn't intended to commit this test version :-( Daniel
Daniel Veillard e50f3b5d 2002-03-20T19:24:21 I wanted to see the real speed at the SAX interface after a little too * testSAX.c: I wanted to see the real speed at the SAX interface after a little too many Ximianer started complaining about the parser speed. added a --quiet option: paphio:~/XML -> ls -l db100000.xml -rw-rw-r-- 1 veillard www 20182040 Mar 20 10:30 db100000.xml paphio:~/XML -> time ./testSAX --quiet db100000.xml 3200006 callbacks generated real 0m1.270s Which means 16MBytes/s and 3Mcallback/s Daniel
Daniel Veillard 34ce8bec 2002-03-18T19:37:11 preparing 2.4.18 updated and rebuilt the web site implement the new * configure.in: preparing 2.4.18 * doc/*: updated and rebuilt the web site * *.c libxml.h: implement the new IN_LIBXML scheme discussed with the Windows and Cygwin maintainers. * parser.c: humm, changed the way the SAX parser work when xmlSubstituteEntitiesDefault(1) is set, it will then do the entity registration and loading by itself in case the user provided SAX getEntity() returns NULL. * testSAX.c: added --noent to test the behaviour. Daniel
Daniel Veillard 5997aca8 2002-03-18T18:36:20 humm, changed the way the SAX parser work when * parser.c: humm, changed the way the SAX parser work when xmlSubstituteEntitiesDefault(1) is set, it will then do the entity registration and loading by itself in case the user provided SAX getEntity() returns NULL. * testSAX.c: added --noent to test the behaviour. Daniel
Daniel Veillard b5a60ecc 2002-03-18T11:45:56 Wilfried Teiken provided a hackish but working way to get context reported * parser.c: Wilfried Teiken provided a hackish but working way to get context reported back on entities when parsing with SAX and without breaking the DOM build. Daniel
Daniel Veillard 8d24cc18 2002-03-05T15:41:29 make sure SAX endDocument is always called as this could result in a * parser.c: make sure SAX endDocument is always called as this could result in a Python memory leak otherwise (it's used to decrement ref-counting) * python/generator.py python/libxml.c python/libxml.py python/libxml2-python-api.xml python/libxml2class.txt python/tests/error.py python/tests/xpath.py: implemented the suggestions made by Gary Benson and extended the tests to match it. Daniel
Daniel Veillard 158a4d27 2002-02-20T22:17:58 fixed a push/encoding bug reported by Michael on librsvg Daniel * parser.c: fixed a push/encoding bug reported by Michael on librsvg Daniel
Daniel Veillard d54fa3ef 2002-02-20T16:48:52 found and fixed a couple of allocation bugs Daniel * parser.c valid.c: found and fixed a couple of allocation bugs Daniel
Daniel Veillard 8dc16a64 2002-02-19T21:08:48 had to change 2 internal parsing API when processing document content to * include/libxml/parserInternals.h parser.c: had to change 2 internal parsing API when processing document content to check the start and end of element content are defined in the same entity * valid.c include/libxml/valid.h: attribute normalization can generate a validity error added xmlValidCtxtNormalizeAttributeValue() with the context to report it. * SAX.c: fixed the last known bugs, crazy validation constraints when a document is standalone seems correctly handled. There is a couple of open issues left which need consideration especially PE93 on external unparsed entities and standalone status. Ran 1819 tests: 1817 suceeded, 2 failed and 0 generated an error in 8.26 s. The 2 tests left failing are actually in error. Cleanup done. Daniel
Daniel Veillard 878eab04 2002-02-19T13:46:09 more validation test fixups added duration info for the tests Daniel * SAX.c parser.c valid.c: more validation test fixups * check-xml-test-suite.py: added duration info for the tests Daniel
Daniel Veillard d01fd3ed 2002-02-18T22:27:47 a couple of errors were reported but not saved back as such in the parsing * parser.c valid.c: a couple of errors were reported but not saved back as such in the parsing context. Down to 1% failure rate Ran 1819 tests: 1801 suceeded, 18 failed and 0 generated an error Daniel
Daniel Veillard 4a7ae503 2002-02-18T19:18:17 isExtender was missing a char % are acceptable in the internal subset if * xmlInternald.c: isExtender was missing a char * parser.c include/libxml/parser.h: % are acceptable in the internal subset if within a PUBLIC ID Daniel
Daniel Veillard 82ac6b02 2002-02-17T23:18:55 fixed #71741 supid typo an a bug about encoding parsing stayed there for * parser.c: fixed #71741 supid typo an a bug about encoding parsing stayed there for years ! Daniel
Daniel Veillard c7612996 2002-02-17T22:47:37 improved the behaviour a bit as well as the logs fixed a few more bugs * check-xml-test-suite.py: improved the behaviour a bit as well as the logs * parser.c valid.c SAX.c: fixed a few more bugs "Ran 1819 tests: 1778 suceeded, 41 failed, and 0 generated an error" Daniel
Daniel Veillard bb7ddb34 2002-02-17T21:26:33 python script to run regression tests against the XML Test suite of * check-xml-test-suite.py: python script to run regression tests against the XML Test suite of W3C/OASis * SAX.c: fixed a validation bug * parser.c: fixed 3 errors pointed by the test suite * doc/buildDocBookCatalog: fixed a typo pointed by drake * python/Makefile.am: fixed a dependendy Daniel
Daniel Veillard 0ba59239 2002-02-10T13:20:39 Tentatively fixed #69655 , make compiling with -Wredundant-decls clean. * HTMLtree.c Makefile.am build_glob.py configure.in debugXML.c globals.c parser.c threads.c tree.c valid.c xmlmemory.c xpath.c xpointer.c include/libxml/globals.h include/libxml/parser.h include/libxml/parserInternals.h include/libxml/tree.h include/libxml/xmlmemory.h include/libxml/xpathInternals.h: Tentatively fixed #69655 , make compiling with -Wredundant-decls clean. * python/libxml.c: fixed a warning. Daniel
Daniel Veillard 9d06d300 2002-01-22T18:15:52 Build a new version hopefully near complete and fully documented of the * doc/libxml2-api.xml doc/parsedecl.py: Build a new version hopefully near complete and fully documented of the API in XML * HTMLtree.c SAX.c debugXML.c error.c globals.c parser.c tree.c xmlIO.c xmlmemory.c include/libxml/catalog.h include/libxml/hash.h include/libxml/list.h include/libxml/parser.h include/libxml/tree.h include/libxml/parserInternals.h include/libxml/valid.hi include/libxml/xmlIO.h include/libxml/xmlerror.hi include/libxml/xmlmemory.h include/libxml/xmlversion.h.ini include/libxml/xpath.h include/libxml/xpathInternals.h: Cleaned up the doc comments a lot in the process, the interface coverage is now 100% Daniel
Daniel Veillard db5850a2 2002-01-18T11:49:26 Keith Isdale complained rightly that xmlInitParser() did not preserve * parser.c error.c: Keith Isdale complained rightly that xmlInitParser() did not preserve value set by xmlSetGenericErrorFunc Daniel
Daniel Veillard 8107a22f 2002-01-13T14:10:10 integrated a couple of fixes and a new API function * parser.c include/libxml/parserInternals.h tree.c: integrated a couple of fixes and a new API function xmlSetEntityReferenceFunc() from Keith Isdale and dedicated to xsldbg the XSLT debugger. Daniel
Daniel Veillard 3c5ed91a 2002-01-08T10:36:16 Applied following patches from Robert Collins and make sure IN_LIBXML is * libxml.h: Applied following patches from Robert Collins and make sure IN_LIBXML is defined when compiling it ------- * include/libxml/xmlversion.h.in (LIBXML_DLL_IMPORT): Use on Cygwin as well as Visual C. * parser.c (XML_DIR_SEP): Don't use '\\' for Cygwin. * parserInternals.c (XML_DIR_SEP): Don't use '\\' for Cygwin. * strio.c (PLATFORM_UNIX): Define for Cygwin. * triodef.h (TRIO_PLATFORM_UNIX): Define for Cygwin. * xmlIO.c (xmlFileOpen): Use unix behaviour for Cygwin. Use binary mode opens for Cygwin (xmlFileOpenW xmlParserGetDirectory xmlSysIDExists xmlNoNetExists). * xmllint.c: Don't include winsock2.h for Cygwin. Daniel
Daniel Veillard 401c2114 2002-01-07T16:54:10 Jirka Kosek pointer out a bug in xmlParseTextDecl() when the version info * parser.c: Jirka Kosek pointer out a bug in xmlParseTextDecl() when the version info is not present. Daniel
Daniel Veillard aa39a0fb 2002-01-06T12:47:22 patch from Jack J Franklin to remove a bug in xmlCreatePushParserCtxt() * parser.c: patch from Jack J Franklin to remove a bug in xmlCreatePushParserCtxt() when the initial buffer passed is large. Daniel
Daniel Veillard 5344c60d 2001-12-31T16:37:34 Fixed a few other problems raised by Charlie Bozeman. fixed the output * DOCBparser.c parser.c valid.c include/libxml/parserInternals.h include/libxml/xmlerror.h include/libxml/xpathInternals.h: Fixed a few other problems raised by Charlie Bozeman. * result/VC/ElementValid[5-7]: fixed the output Daniel
Daniel Veillard cbaf3995 2001-12-31T16:16:02 applied 42 documentation patches from Charlie Bozeman. Regenerated the * *.c include/libxml/*.h doc/html/*: applied 42 documentation patches from Charlie Bozeman. Regenerated the HTML docs. Daniel
Daniel Veillard d3b08826 2001-12-05T12:03:33 integrated Eric Lavigne (sp???) contribution to build libxml2 on MacOS * configure.in libxml.h parser.c testThreads.c macos/: integrated Eric Lavigne (sp???) contribution to build libxml2 on MacOS using CodeWarrior. Daniel
Daniel Veillard 1984094c 2001-11-29T16:11:38 Robin Berjon <robin@knowscape.com> found a case where non-wellformed XML * parser.c: Robin Berjon <robin@knowscape.com> found a case where non-wellformed XML declaractions were not detected. Daniel
CET 2001 Daniel Veillard 5a37bde3 2001-11-01T14:31:22 more include cleanups, export cleanly one html output + format function. Thu Nov 1 15:29:31 CET 2001 Daniel Veillard <daniel@veillard.com> * HTMLtree.c tree.c include/libxml/HTMLtree.h include/libxml/tree.h include/libxml/xmlIO.h: more include cleanups, export cleanly one html output + format function. Thu Nov 1 14:12:12 CET 2001 Daniel Veillard <daniel@veillard.com> * parser.c: removed initGenericErrorDefaultFunc call from xmlInitParser() since it could destroy previous calls to xsltSetGenericErrorFunc() effects Daniel
Daniel Veillard 635ef72a 2001-10-29T11:48:19 apply fixes to close #63271 and avoid segfaults when the error routine * parser.c globals.c DOCBparser.c HTMLparser.c error.c: apply fixes to close #63271 and avoid segfaults when the error routine gets callbed before xmlInitParser() get called. * nanoftp.c error.c: Applied patches from Justin Fletcher correcting some xmlGenericError misuses. Daniel
Daniel Veillard 5151c06f 2001-10-23T13:10:19 fixed an erroneous validation bug when PE refs occurs in external parsed * parser.c: fixed an erroneous validation bug when PE refs occurs in external parsed entities referenced from the internals subset * test/valid/index.xml test/valid/dtds/nitf-2-5.dtd test/valid/dtds/NewsMLv1.0.dtd result/valid/index.xml*: added the associated testcase, it's a nice one. * HTMLparser.c: generate the DTD node as HTML still ... * HTMLtree.c: fixed errors in Set/GetMetaEncoding Daniel