parser.c


Log

Author Commit Date CI Message
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
Daniel Veillard a9142e74 2001-06-19T11:07:54 - valid.c tree.c parserInternals.c parser.c: Stephan Kulow provided another failing case found in KDE, the way the ctxt->vctxt.nodeTab was allocated and freed changed over time but it wasn't completely cleaned up. This should fix it. Daniel
Daniel Veillard 3ed27bde 2001-06-17T17:58:17 - parser.c: Stephan Kulow also raised the fact that line number could get miscounted making debug harder, fixed the problem in xmlParseCharData() Daniel
Daniel Veillard a97a19b6 2001-05-20T13:19:52 - parser.c: fixed propagation context info when parsing an external entity. - doc/html/*.html: regenerated a couple of docs Daniel
Daniel Veillard 76d66f41 2001-05-16T21:05:17 - xpath.c tree.c parser.c: speed optimizations at the parser level document tree freeing and xpath evaluation Daniel
Daniel Veillard fd7ddca8 2001-05-16T10:57:35 - parser.c parser.h parserInternals.h: fixed a couple of interfaces for handling memory buffer input to const char * upon suggestion of JamesH. Daniel
Daniel Veillard a737459b 2001-05-10T14:17:55 - Makefile.am xmlversion.h.in configure.in include/Makefile.am: integrating catalogs - catalog.[ch] testCatalog.c: adding a small catalo API (only SGML catalog support). - parser.c: restaured xmlKeepBlanksDefault(0) API Daniel
Daniel Veillard 257d9107 2001-05-08T10:41:44 - parser.c: added xmlParseExternalEntityPrivate() to allow propagation of ctxt->_private when parsing external entities Daniel
Daniel Veillard 02141eab 2001-04-30T11:46:40 - tree.c parser.c encoding.c: spent a bit more time looking at the parsing speed and DOM handling. Added a few more speedups. Daniel
Daniel Veillard 3ed155fc 2001-04-29T19:56:59 How to bump raw SAX parsing speed from 5.8M/s to 7.4M/s in 4 lines of code: - parser.c: small but effective parsing speed improvement Daniel
Daniel Veillard 30211a0e 2001-04-26T09:33:18 - parser.c: applied fixes from Christian Glahn bug report #53391 Daniel
Bjorn Reese 70a9da54 2001-04-21T16:57:29 trio upgrade and integration
Daniel Veillard dab4cb37 2001-04-20T13:03:48 Geez, this one was painful ! I still need to handle entities references for the validation step but I have a clean way to add this without touching the algorithm: - valid.[ch] tree.h: worked *hard* to get non-determinist content validation without using an ugly NFA -> DFA algo in the source. Made a specific algorithm easier to maintain, using a single stack and without recursion. - Makefile.am test/VCM/*.xml: added more tests to "make Validtests" - hash.c: made the growing routine static - tree.h parser.c: added the parent information to an xmlElementContent node. Daniel
Daniel Veillard e470df7f 2001-04-18T21:41:07 3 hours of debug, this was hell: - SAX.c parser.c xpath.c: generating IDs when not validating from an external parsed entity was poisoning the ID has table with removed values. This was killing XSLT on the KDE help browser. Daniel
Daniel Veillard 50582114 2001-03-26T22:52:16 parser.c: fixed line number reporting on error Daniel
Daniel Veillard 04be4f51 2001-03-26T21:23:53 - parser.c: Sullivan and Darin found a parser bug, applied the patch. Daniel
Daniel Veillard 56a4cb8c 2001-03-24T17:00:36 Huge cleanup, I switched to compile with -Wall -g -O -ansi -pedantic -W -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline - HTMLparser.[ch] HTMLtree.c SAX.c debugXML.c encoding.[ch] encoding.h entities.c error.c list.[ch] nanoftp.c nanohttp.c parser.[ch] parserInternals.[ch] testHTML.c testSAX.c testURI.c testXPath.c tree.[ch] uri.c valid.[ch] xinclude.c xmlIO.[ch] xmllint.c xmlmemory.c xpath.c xpathInternals.h xpointer.[ch] example/gjobread.c: Cleanup, staticfied a number of non-exported functions, detected and cleaned up a dozen of problem found this way, avoided a lot of public function name/typedef/system names clashes - doc/xml.html: updated - configure.in: switched private flags to the really pedantic ones. Daniel
Daniel Veillard 146c9120 2001-03-22T15:22:27 - parser.c: fixed a reported bug in NOTATION parsing - uri.c: accepted but not fixed bug 51876, added TODO - Makefile.am: fixed bug 51876 Daniel
Daniel Veillard e020c3a7 2001-03-21T18:06:15 A typo and an obscure bug fix: - parser.c: fixed a function name header typo - SAX.c: notations can also occur in external subset. Daniel
Daniel Veillard 0b6b55b0 2001-03-20T11:27:34 Someone found a bug hiding in a corner, caught it ! - parser.c: fixing bug 52299 strange condition leading to a parser crash due to a buffer overflow - result/noent/attrib.xml result/attrib.xml test/attrib.xml: added the specific test case Daniel
Daniel Veillard 82ab81e9 2001-03-12T21:11:21 - parser.c: and Matt Sergeant found one in the XML push parser (erroneous check I forgot to remove when I fixed the main parser). Daniel
Daniel Veillard 80f32571 2001-03-07T19:45:40 - parser.c SAX.c: the new content parsing code raised an ugly bug in the characters() SAX callback. Found it just because of strangeness in XSLT XML Rec ouptut :-( Daniel
Daniel Veillard 29631a89 2001-03-05T09:49:20 10 mn hacking while waiting for doctor appointment: - parser.c: trying to fix the Dtd parsing problem reported by Gary, side effect of last week speed optimizations. Daniel
Daniel Veillard 2f36224e 2001-03-02T17:36:21 - parser.c: one must report spaces even if the Dtd element content proves that this is not part of the element content. - result/valid/*.xml: this changed the ouptu slightly Daniel
Daniel Veillard 21a0f918 2001-02-25T19:54:14 - parser.c: more work on increasing parsing ferformances Daniel
Daniel Veillard 48b2f896 2001-02-25T16:11:03 Okay time to improve performances, gprof session: before real 0m2.483s (2.3.2 release yesterday) current real 0m1.763s when parsing (with tree build/freeing) db10000.xml from XSLTMark: - xmlmemory.h HTMLparser.c HTMLtree.c entities.c parser.c xpath.c xpointer.c tree.c uri.c valid.c xinclude.c xmlIO.c: avoiding memcpy in production builds MEM_CLEANUP macro use - parser.[ch] parserInternals.c: optimizations of the tightest internal loops inside the parser. Better checking of I/O flushing/loading conditions - xmllint.c : added --timing Daniel
Owen Taylor 3473f88a 2001-02-23T17:55:21 Revert directory structure changes
CET 2001 Tomasz Kłoczko 64636e7f 2001-02-23T01:37:32 moved to libxml directory - this allow simplify automake/autoconf. Now Thu Feb 23 02:03:56 CET 2001 Tomasz Kłoczko <kloczek@pld.org.pl> * *.c *.h libxml files: moved to libxml directory - this allow simplify automake/autoconf. Now isn't neccessary hack on am/ac level for make and remove libxml symlink (modified for this also configure.in and main Makefile.am). Now automake abilities are used in best way (like in many other projects with libraries). * include/win32config.h: moved to libxml directory (now include directory isn't neccessary). * Makefile.am, examples/Makefile.am, libxml/Makefile.am: added empty DEFS and in INCLUDES rest only -I$(top_builddir) - this allow minimize parameters count passed to libtool script (now compilation is also slyghtly more quiet). * configure.in: simplifies libzdetestion - prepare separated variables for keep libz name and path to libz header files isn't realy neccessary (if someone have libz installed in non standard prefix path to header files ald library can be passed as: $ CFALGS="-I</libz.h/path>" LDFLAGS="-L</libz/path>" ./configure * autogen.sh: check now for libxml/entities.h. After above building libxml pass correctly and also pass "make install DESTDIR=</install/prefix>" from tar ball generated by "make dist". Seems ac/am reorganization is finished. This changes not touches any other things on *.{c,h} files level.
Daniel Veillard 142adbfa 2001-02-17T13:21:05 More bugfixes due to DocBook: - xpath.c: bug fix when context size is 0 - parser.c: I like Norm's Dtd because they still manage to break the parser occasionally Daniel
Daniel Veillard e0e26513 2001-02-16T00:11:46 - tree.[ch] parser.c xpath.c: fixed the problem of addressing attributes within the XML-1.0 namespace Daniel
Daniel Veillard 0f2a53cc 2001-02-05T17:57:33 Bug fixes and an extension found and required by XSLT: - xpath.c: bug fixes found from XSLT - tree.c: preserve node->name special values when copying nodes. - parserInternals.[ch] parser.[ch] SAX.c : added a mode where external subset are fetched when available but without full validation. Added xmlLoadExtDtdDefaultValue, need a function. - HTMLtree.c: add support for xmlStringTextNoenc for XSLt HTML output with encoding disabled. Daniel
Daniel Veillard de55cf62 2001-01-31T15:53:13 First libxml head patch from the Gnome community since a looong time :-) - parser.c: fixed xmlStrcat doc - tree.c: 2 fixes form Anders Carlson for copying nodes and trees. Daniel
Daniel Veillard 167bd531 2001-01-06T21:09:34 Old but effective optimization patch: - parser.c parserInternals.c: applied Bjorn Reese optimization patch Daniel
Daniel Veillard a6d8eb62 2000-12-27T10:46:47 Finally had a bit of time to resynch both trees: - HTMLparser.[ch]: added a way to avoid adding automatically omitted tags. htmlHandleOmittedElem() allows to change the default handling. - tree.[ch] xmllint.c: added xmlDocDumpFormatMemory() and xmlDocDumpFormatMemoryEnc(), uses memory functions for output of xmllint too when using --memory flag, added a memory test suite at the Makefile level. - xpathInternals.h xpath.[ch] xpointer.c: fixed problems with namespace use when encountering QNames in XPath evalation, added xmlns() scheme in XPointer. - nanoftp.c : incorporated a fix - parser.c xmlIO.c: fixed problems raised with encoding when using the memory I/O - parserInternals.c: closed bug 25934 reported by torsten.landschoff@innominate.de - TODO: updated Daniel