parser.c


Log

Author Commit Date CI Message
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
Daniel Veillard ce2c2f09 2001-10-18T14:57:24 fixed a very serious (looping) validation bug Daniel * parser.c valid.c result/valid/rss.xml result/valid/rss.xml.err: fixed a very serious (looping) validation bug Daniel
Daniel Veillard 3c01b1d8 2001-10-17T15:58:35 - include/libxml/globals.h include/libxml/threads.h threads.c testThreads.c: far more testing, cleaning up bugs - *.c : make sure globals.h is always included. Daniel
Daniel Veillard 6f350291 2001-10-14T09:56:15 debugged and fixed initialization problems which were giving troubles on * parser.c parserInternals.c threads.c: debugged and fixed initialization problems which were giving troubles on SMP boxes. Daniel
Daniel Veillard d0463560 2001-10-13T09:15:48 Applied the last patches from Gary, cleanup, activated threading all user * include/libxml/SAX.h include/libxml/globals.h include/libxml/parser.h include/libxml/parserInternals.h include/libxml/tree.h include/libxml/xmlerror.h HTMLparser.c SAX.c error.c globals.c nanoftp.c nanohttp.c parser.c parserInternals.c testDocbook.c testHTML.c testSAX.c tree.c uri.c xlink.c xmlmemory.c: Applied the last patches from Gary, cleanup, activated threading all user accessible global variables are now handled in globals.[ch] Still a bit rought but make tests passes with either --with-threads defined at configure time or not. * Makefile.am example/Makefile.am: added globals.[ch] and threads linking options Daniel
Daniel Veillard b44025c7 2001-10-11T22:55:55 started integrating the non-controversial parts of Gary Pennington * HTMLtree.c catalog.c debugXML.c entities.c nanoftp.c parser.c valid.c xmlmemory.c xpath.c xpointer.c: started integrating the non-controversial parts of Gary Pennington multithread patches * catalog.c: corrected a small bug introduced Daniel
Daniel Veillard a293c323 2001-10-02T13:54:14 adding xmlSAXParseFileWithData following Marco Stipek suggestion Daniel * win32/dsp/libxml2.def.src include/libxml/parser.h parser.c: adding xmlSAXParseFileWithData following Marco Stipek suggestion Daniel
Daniel Veillard f6ed8bc7 2001-10-02T09:22:47 Igor Zlatkovic patches fixed typos Daniel * win32/dsp/libxml2.def.src: Igor Zlatkovic patches * DOCBparser.c HTMLparser.c parser.c: fixed typos Daniel
Daniel Veillard 319a742a 2001-09-11T09:27:09 fixed bug #59981 related to handling of '&' in attributes when entities * parser.c result/noent/wml.xml: fixed bug #59981 related to handling of '&' in attributes when entities are substitued Daniel
Daniel Veillard 05c13a20 2001-09-09T08:38:09 John Fleck fixed typos in the options output fix ignorable white space SAX * xmllint.c: John Fleck fixed typos in the options output * parser.c SAX.c: fix ignorable white space SAX selection * entities.c: Steve Underwood found the possibility of an ininite loop in case of error. Daniel
Daniel Veillard a050d230 2001-09-05T15:51:05 warn if version is not 1.0 but it's not strictly speaking an error after * parser.c: warn if version is not 1.0 but it's not strictly speaking an error after analyzing the spec Daniel
Daniel Veillard 5d96fff0 2001-08-31T14:55:30 doc updates from Heiko Rupp 2 sanity checks from Heiko Rupp Daniel * libxml.4 parser.c: doc updates from Heiko Rupp * parserInternals.c: 2 sanity checks from Heiko Rupp Daniel
Daniel Veillard 9f7b84bb 2001-08-23T15:31:19 preparing for a 2.4.3 release even if it may not be ready yet redirected * Makefile.am configure.in include/libxml/xmlwin32version.h: preparing for a 2.4.3 release even if it may not be ready yet * catalog.c parser.c xmlIO.c include/libxml/catalog.h: redirected all file parsing lookup to go through the entity resolver, add to add an API to bypass it (needed to load catalogs themselves), some cleanup on the catalog code too. * nanoftp.c: small cleanup * doc/catalog.html: small update Daniel
Daniel Veillard 5d90b6c9 2001-08-22T14:29:45 added support and APIs needed for the catalog PI cleanup Daniel * include/libxml/catalog.h include/libxml/parser.h include/libxml/xmlerror.h catalog.c parser.c parserInternals.c xmlIO.c: added support and APIs needed for the catalog PI * include/libxml/xmlIO.h: cleanup Daniel
Daniel Veillard e2940ddb 2001-08-22T00:06:49 starts to look okay, really plugged the new framework, cleaned a lot of * catalog.c parser.c xmlIO.c xmlcatalog.c xmllint.c include/libxml/catalog.h: starts to look okay, really plugged the new framework, cleaned a lot of stuff, added some APIs, except the PI's support missing this should be mostly complete * result/catalogs/* test/catalogs/*: added new test, enriched the existing one with URN ID tests Daniel
Daniel Veillard cda96921 2001-08-21T10:56:31 more work on the XML catalog support. small cleanup seems using list as a * Makefile.am catalog.c xmlcatalog.c include/libxml/catalog.h: more work on the XML catalog support. * parser.c include/libxml/parser.h: small cleanup seems using list as a public parameter name can give portability troubles * trionan.c trionan.h xpath.c include/libxml/trionan.h include/libxml/xpath.h include/libxml/Makefile.am: removed trionan from the libxml API, added xmlXPathIsInf and xmlXPathIsNaN wrappers Daniel
Daniel Veillard f300b7e7 2001-08-13T10:43:15 small fix fixing bug #58539 reported by coolo, in entity substitution mode * SAX.c: small fix fixing bug #58539 reported by coolo, in entity substitution mode text at the end of the entity might be added due to text coalescing. * nanoftp.c parser.c: small cleanup Daniel
Daniel Veillard 50f34371 2001-08-03T12:06:36 applied Win32 Facelift No.2 patches from Igor Zlatkovic for Windows/MSC * DOCBparser.c Makefile.am nanohttp.c parser.c testHTML.c testSAX.c xmlIO.c xmllint.c include/win32config.h include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h include/libxml/xmlwin32version.h.in win32/README.MSDev win32/dsp/*: applied Win32 Facelift No.2 patches from Igor Zlatkovic for Windows/MSC Daniel
Daniel Veillard 5e3eecb1 2001-07-31T15:10:53 when the internal subset uses a PE, then the included entity can use * parser.c: when the internal subset uses a PE, then the included entity can use conditional sections. daniel
Daniel Veillard 4aafa790 2001-07-28T17:21:12 don't override existing encoding specified before starting * parser.c: don't override existing encoding specified before starting xmlParseDocument() Daniel
Daniel Veillard 50822cb6 2001-07-26T20:05:51 applied const patches from Tom Moog #58002 Daniel * parser.c include/libxml/parser.h: applied const patches from Tom Moog #58002 Daniel
Daniel Veillard 6dd398f6 2001-07-25T22:41:03 fixed bugs #58073 reported by Greg Shtilman Daniel * parser.c: fixed bugs #58073 reported by Greg Shtilman Daniel
Daniel Veillard 2454ab9e 2001-07-25T21:39:46 fixes bug #57652 reported by Morus Walter Daniel * parser.c: fixes bug #57652 reported by Morus Walter Daniel
Daniel Veillard a53c688b 2001-07-25T17:18:57 fixed the xmlLineNumbersDefault() errors, lesson don't add new functions * parser.c parserInternals.c: fixed the xmlLineNumbersDefault() errors, lesson don't add new functions at 1am before a release * xpath.c: integrated fix from Bjorn to avoid divide by zero from XPath initialization when possible. Daniel
Daniel Veillard d9bad13b 2001-07-23T19:39:43 removing history/readline changed this slightly make element content line * result/scripts/base*: removing history/readline changed this slightly * include/libxml/parser.h SAX.c parser.c parserInternals.c xmllint.c: make element content line number generation optionnal to avoid breaking old apps added interface to switch Daniel
Daniel Veillard 5e2dace1 2001-07-18T19:30:27 Cleanup, cleanup .. removed libxml softlink for good cleanup to get 100% Cleanup, cleanup .. * configure.in Makefile.am: removed libxml softlink for good * include/libxml/*.h *.c doc/Makefile.am: cleanup to get 100% coverage by gtk-doc Daniel
Daniel Veillard 7db3773a 2001-07-12T01:20:08 store the line numbder in element->content, may break some software, need * DOCBparser.c HTMLparser.c HTMLtree.c SAX.c debugXML.c parser.c tree.c xpointer.c: store the line numbder in element->content, may break some software, need a configuration mechanism Daniel
Daniel Veillard 7583a59b 2001-07-08T13:15:55 trying to fix #56948, this led to an XPath fix, improvements of SAX * SAX.c parser.c testXPath.c xpath.c: trying to fix #56948, this led to an XPath fix, improvements of SAX initialization, and an added option --nocdata to testXPath Daniel
Daniel Veillard 62f313ba 2001-07-04T19:49:14 - SAX.c entities.c parser.c: changed completely the way entities are handled when running the parser in entity substitution mode. This fixes a bug reported by Stephan Kulow and nearly divides by 3 the amount of memory required by libxslt to load and process DocBook TDG. Daniel
Daniel Veillard 77044731 2001-06-29T21:31:07 xmlStrstr args are both const small cleanup reformated, fixed problems if * include/libxml/parser.h parser.c: xmlStrstr args are both const * xpath.c: small cleanup * xmlGetNsList: reformated, fixed problems if used on Entities Daniel
Daniel Veillard 0e4cd17b 2001-06-28T12:13:56 - parser.c: fixed UTF8 BOM support in push mode - test/utf8bom.xml result/utf8bom.xml result/noent/utf8bom.xml: added a specific testcase Daniel
Daniel Veillard 1164810d 2001-06-26T16:08:24 - configure.in doc/xml.html include/libxml/xmlwin32version.h: release of 2.3.12 - parser.c: make an error message if unknow entities in all cases Daniel
Daniel Veillard c5d64345 2001-06-24T12:13:24 Summer's cleanup, a really big one: * AUTHORS: added William and Bjorn * include/libxml/*.h *.c README doc/*.html etc.: changed old email to daniel@veillard.com hopefully I won't have to do this again * doc/Makefile.am doc/html/*.html: cleanup makefile, checked that docs can be rebuilt cleanly now * include/libxml/xml*version.h*: removed include/libxml/xmlversion.h from CVs it's generated, added include/libxml/xmlwin32version.h also generated but which should change far less frequently. * catalog.c nanoftp.c: made sure to include libxml.h not libxml/xmlversion.h directly * include/libxml/*.h: include xmlwin32version.h instead of xmlversion.h when compiling on WIN32 and MSC Daniel
Daniel Veillard 87a764ed 2001-06-20T17:41:10 - parser.c parserInternals.c encoding.c: Since Notepad on Win2k outputs a BOM in UTF8, an errata has been issued to avoid the problem, that was the most reasonable solution... Add support for a leading UTF8 BOM in entities. Daniel