parser.c


Log

Author Commit Date CI Message
William M. Brack 3a1cd21d 2005-02-11T14:35:54 fixed problem when no initial "chunk" was given to xmlCreatePushParser * parser.c: fixed problem when no initial "chunk" was given to xmlCreatePushParser (bug 162613)
William M. Brack 4e1c2db8 2005-02-11T10:58:55 fixed compilation warning changed xmlWarningMsg so ctxt->errNo is not set * dict.c: fixed compilation warning * parser.c: changed xmlWarningMsg so ctxt->errNo is not set * xmllint.c: changed to return non-zero status if error on xinclude processing * xmlsave.c: minor deletion of a redundant condition statement
Daniel Veillard 8f8a9dd7 2005-01-25T21:41:42 found and fixed 2 problems in the internal subset scanning code affecting * parser.c: found and fixed 2 problems in the internal subset scanning code affecting the push parser (and the reader), fixes #165126 * test/intsubset2.xml result//intsubset2.xml*: added the test case to the regression tests. Daniel
Daniel Veillard cee2b3a5 2005-01-25T00:22:52 warning patches from Peter Breitenlohner serious DTD parsing speedups, * testdso.c xmlregexp.c: warning patches from Peter Breitenlohner * include/libxml/valid.h valid.c parser.c: serious DTD parsing speedups, start to deprecate 3 ElementDef related entry point and replace them with better ones. Daniel
Daniel Veillard 316a5c39 2005-01-23T22:56:39 added xmlHashCreateDict where the hash reuses the dictionnary for internal * hash.c include/libxml/hash.h: added xmlHashCreateDict where the hash reuses the dictionnary for internal strings * entities.c valid.c parser.c: reuse that new API, leads to a decent speedup when parsing for example DocBook documents. Daniel
Daniel Veillard 7da92709 2005-01-23T20:15:53 small speedup in skipping blanks characters interning the entities strings * parser.c: small speedup in skipping blanks characters * entities.c: interning the entities strings Daniel
Daniel Veillard 4c778d8b 2005-01-23T17:37:44 boosting common commnent parsing code, it was really slow. added sprecific * parser.c: boosting common commnent parsing code, it was really slow. * test/comment[3-5].xml result//comment[3-5].xml*: added sprecific regression tests Daniel
Daniel Veillard 0714c5bf 2005-01-23T00:01:01 small optimization back. Daniel * parser.c: small optimization back. Daniel
Daniel Veillard 1441251f 2005-01-21T23:53:26 a single lock version mostly avoid the cost penalty of the lock in case of * dict.c parser.c include/libxml/dict.h: a single lock version mostly avoid the cost penalty of the lock in case of low parallelism, so applying that version instead. Daniel
Daniel Veillard b8590d4c 2005-01-21T15:10:23 fixed bug #164556 where non-fatal errors stopped push parsing and * parser.c: fixed bug #164556 where non-fatal errors stopped push parsing and xmlreader. * Makefile.am: fixup * test/errors/webdav.xml result/errors/webdav*: adding regression test for this problem. Daniel
Daniel Veillard df292f7a 2005-01-16T19:00:15 better fix for #151694 not killing c14n regression tests fixing bug * parser.c: better fix for #151694 not killing c14n regression tests * xmlschemastypes.c: fixing bug #157653 Daniel
Daniel Veillard e3740edc 2005-01-16T18:02:13 fixing bug #151694, line should always be set in the elements. Daniel * parser.c: fixing bug #151694, line should always be set in the elements. Daniel
Aleksey Sanin 8fdc32ab 2005-01-05T15:37:55 fixing col information in xmlParserInput and propagating column into xmlError
Daniel Veillard 48df9613 2005-01-04T21:50:05 fixed namespace bug in push mode reported by Rob Richards added it to the * parser.c: fixed namespace bug in push mode reported by Rob Richards * test/ns6 result//ns6*: added it to the regression tests * xmlmodule.c testModule.c include/libxml/xmlmodule.h: added an extra option argument to module opening and defined a couple of flags to the API. Daniel
William M. Brack 1d8c9b29 2004-12-25T10:14:57 fixed to skip (if necessary) the BOM for encoding 'utf-16'. Completes the * parserInternals.c: fixed to skip (if necessary) the BOM for encoding 'utf-16'. Completes the fix for bug #152286. * tree.c, parser.c: minor warning cleanup, no change to logic
William M. Brack 230c5504 2004-12-20T16:18:49 reset input->base within xmlStopParser removed call to xmlUTF8Strlen from * parser.c: reset input->base within xmlStopParser * xmlstring.c: removed call to xmlUTF8Strlen from within xmlUTF8Strpos (Bill Moseley pointed out it was not useful)
Daniel Veillard 29614c70 2004-11-26T10:47:26 make sure xmlCtxtReadFile and htmlCtxtReadFile go through the catalog * HTMLparser.c parser.c: make sure xmlCtxtReadFile and htmlCtxtReadFile go through the catalog resolution. * gentest.py testapi.c: fix a side effect wrning of the change Daniel
Daniel Veillard d0cf7f6e 2004-11-09T16:17:02 integrated in "make tests" added -q option, and more conditional features * Makefile.am gentest.py testapi.c: integrated in "make tests" added -q option, and more conditional features fixes * catalog.c debugXML.c parser.c testThreads.c xmllint.c xmlschemastypes.c xmlwriter.cinclude/libxml/catalog.h include/libxml/debugXML.h: various compilation and conditional cleanups. * doc/*: regenerated Daniel
Daniel Veillard a82b1826 2004-11-08T16:24:57 more coverage more fixes Daniel * gentest.py testapi.c: more coverage * debugXML.c parser.c xmlregexp.c xpath.c: more fixes Daniel
Daniel Veillard 2a4fb5ac 2004-11-08T14:02:18 more coverage more fixes Daniel * gentest.py testapi.c: more coverage * SAX2.c parser.c parserInternals.c: more fixes Daniel
Daniel Veillard 5ea30d7f 2004-11-08T11:54:28 more fixes. Daniel * parser.c testapi.c xmlIO.c xmlstring.c: more fixes. Daniel
Daniel Veillard 42595323 2004-11-08T10:52:06 more types, more coverage more problems fixed Daniel * gentest.py testapi.c: more types, more coverage * parser.c parserInternals.c relaxng.c valid.c xmlIO.c xmlschemastypes.c: more problems fixed Daniel
Daniel Veillard ce682bc2 2004-11-05T17:22:25 autogenerate a minimal NULL value sequence for unknown pointer types This * gentest.py testapi.c: autogenerate a minimal NULL value sequence for unknown pointer types * HTMLparser.c SAX2.c chvalid.c encoding.c entities.c parser.c parserInternals.c relaxng.c valid.c xmlIO.c xmlreader.c xmlsave.c xmlschemas.c xmlschemastypes.c xmlstring.c xpath.c xpointer.c: This uncovered an impressive amount of entry points not checking for NULL pointers when they ought to, closing all the open gaps. Daniel
Daniel Veillard 38936066 2004-11-04T17:45:11 dohh ... stupid change killing xmlParseDoc() Daniel * parser.c: dohh ... stupid change killing xmlParseDoc() Daniel
Daniel Veillard 34099b40 2004-11-04T17:34:35 changing the way the .c is generated, extending the tests coverage fixing * gentest.py testapi.c: changing the way the .c is generated, extending the tests coverage * include/libxml/nanoftp.h nanoftp.c elfgcchack.h doc/*: fixing some function signatures, regenerating stuff * SAX2.c parser.c xmlIO.c: another set of bug fixes and API hardening Daniel
Daniel Veillard dd6d3008 2004-11-03T14:20:29 more fixes and extending the tests coverage adding a type init interface * gentest.py testapi.c: more fixes and extending the tests coverage * relaxng.c include/libxml/relaxng.h: adding a type init interface * include/libxml/xmlerror.h parser.c xmlreader.c xmlwriter.c: more cleanups and bug fixes raised by the regression tests Daniel
Daniel Veillard 36e5cd50 2004-11-02T14:52:23 adding xmlMemBlocks() work on generator of an automatic API regression * xmlmemory.c include/libxml/xmlmemory.h: adding xmlMemBlocks() * Makefile.am gentest.py testapi.c: work on generator of an automatic API regression test tool. * SAX2.c nanoftp.c parser.c parserInternals.c tree.c xmlIO.c xmlstring.c: various API hardeing changes as a result of running teh first set of automatic API regression tests. * test/slashdot16.xml: apparently missing from CVS, commited it Daniel
Daniel Veillard acbe6cfd 2004-10-31T21:04:50 fixed a bug reported by Petr Pajas on the list and affecting XML::Libxml * parser.c: fixed a bug reported by Petr Pajas on the list and affecting XML::Libxml Daniel
Daniel Veillard 03a53c34 2004-10-26T16:06:51 added checking for names values and dictionnaries generates a tons of * debugXML.c include/libxml/xmlerror.h: added checking for names values and dictionnaries generates a tons of errors * SAX2.ccatalog.c parser.c relaxng.c tree.c xinclude.c xmlwriter.c include/libxml/tree.h: fixing the errors in the regression tests Daniel
William M. Brack 1227fb3c 2004-10-25T23:17:53 modified the handling of _private for entity expansion (bug 155816) * parser.c: modified the handling of _private for entity expansion (bug 155816)
Daniel Veillard 370ba3d2 2004-10-25T16:23:56 fixed the leak reported by Volker Roth on the list added a specific test * parser.c: fixed the leak reported by Volker Roth on the list * test/ent10 result//ent10*: added a specific test for the problem Daniel
Daniel Veillard 8de5c0bd 2004-10-07T13:14:19 adding the tree debug mode fixing various problems reported by the debug * debugXML.c include/libxml/debugXML.h include/libxml/xmlerror.h: adding the tree debug mode * parser.c relaxng.c tree.c xpath.c: fixing various problems reported by the debug mode. * SAX2.c: another tree fix from Rob Richards Daniel
William M. Brack b7b54de6 2004-10-06T16:38:01 added code to handle <group>, including dumping to output (bug 151924). * catalog.c: added code to handle <group>, including dumping to output (bug 151924). * xmlcatalog.c, xmlstring.c, parser.c: minor compiler warning cleanup (no change to logic)
Daniel Veillard c93a19fc 2004-10-04T11:53:20 applied patch from Malcolm Tredinnick fixing bug #152426 Daniel * parser.c: applied patch from Malcolm Tredinnick fixing bug #152426 Daniel
William M. Brack c3f81345 2004-10-03T01:22:44 fixed problem with dictionary handling within xmlParseInNodeContext (bug * parser.c: fixed problem with dictionary handling within xmlParseInNodeContext (bug 153175)
Daniel Veillard 807b4de2 2004-09-26T14:42:56 applied patch from Malcolm Tredinnick fixing errata E20 concerning * valid.c TODO: applied patch from Malcolm Tredinnick fixing errata E20 concerning NMTOKENS and co. validation #153722 * result/VC/AttributeNmtokens test/VC/AttributeNmtokens test/VCM/AttributeNmtokens.xml: also added tests from Malcolm Daniel
Daniel Veillard 079f6a75 2004-09-23T13:15:03 more memory related code cleanups. Daniel * HTMLparser.c parser.c relaxng.c xmlschemas.c: more memory related code cleanups. Daniel
Daniel Veillard 2248ff17 2004-09-22T23:05:14 fixed a bunch of errors when realloc failed. Daniel * parser.c: fixed a bunch of errors when realloc failed. Daniel
William M. Brack 13dfa87e 2004-09-18T04:52:08 added the routine xmlNanoHTTPContentLength to the external API * nanohttp.c, include/libxml/nanohttp.h: added the routine xmlNanoHTTPContentLength to the external API (bug151968). * parser.c: fixed unnecessary internal error message (bug152060); also changed call to strncmp over to xmlStrncmp. * encoding.c: fixed compilation warning (bug152307). * tree.c: fixed segfault in xmlCopyPropList (bug152368); fixed a couple of compilation warnings. * HTMLtree.c, debugXML.c, xmlmemory.c: fixed a few compilation warnings; no change to logic.
Daniel Veillard 7a5e0dd1 2004-09-17T08:45:25 removed some extern before function code reported by Kjartan Maraas on IRC * parser.c: removed some extern before function code reported by Kjartan Maraas on IRC * legacy.c: fixed compiling when configuring out the HTML parser * Makefile.am: added a declaration for CVS_EXTRA_DIST * HTMLparser.c: beginning of an attempt at cleaning up the construction of the HTML parser data structures, current data generate a huge amount of ELF relocations at loading time. Daniel
Daniel Veillard eebd633b 2004-08-26T10:30:44 remove a warning on Solaris fix a crashing bug #151111 Daniel * parser.c: remove a warning on Solaris * xmlschemastype.c: fix a crashing bug #151111 Daniel
Igor Zlatkovic 07d5976b 2004-08-24T19:12:51 fixed DTD loading problem reported by Abhinkar, Sameer
William M. Brack 503b610a 2004-08-19T02:17:27 fixed missing line numbers on entity as reported on the list by Steve * parser.c: fixed missing line numbers on entity as reported on the list by Steve Cheng
Daniel Veillard 29b17482 2004-08-16T00:39:03 small typo pointed out by Mike Hommey slightly improved the --c14n * xmlIO.c: small typo pointed out by Mike Hommey * doc/xmllint.xml, xmllint.html, xmllint.1: slightly improved the --c14n description, c.f. #144675 . * nanohttp.c nanoftp.c: applied a first simple patch from Mike Hommey for $no_proxy, c.f. #133470 * parserInternals.c include/libxml/parserInternals.h include/libxml/xmlerror.h: cleanup to avoid 'error' identifier in includes # * parser.c SAX2.c debugXML.c include/libxml/parser.h: first version of the inplementation of parsing within the context of a node in the tree #142359, new function xmlParseInNodeContext(), added support at the xmllint --shell level as the "set" function * test/scripts/set* result/scripts/* Makefile.am: extended the script based regression tests to instrument the new function. Daniel
William M. Brack a3215c7a 2004-07-31T16:24:01 many further little changes for OOM problems. Now seems to be getting * SAX2.c, encoding.c, error.c, parser.c, tree.c, uri.c, xmlIO.c, xmlreader.c, include/libxml/tree.h: many further little changes for OOM problems. Now seems to be getting closer to "ok". * testOOM.c: added code to intercept more errors, found more problems with library. Changed method of flagging / counting errors intercepted.
William M. Brack 9f797abd 2004-07-28T07:40:12 implemented patches supplied by Olivier Andrieu (bug 148588), plus made * SAX2.c, error.c, parser.c, tree.c, xmlreader.c: implemented patches supplied by Olivier Andrieu (bug 148588), plus made some further enhancements, to correct some problems with out of memory conditions. * testOOM.c: improved with patches from Olivier Andrieu
Daniel Veillard eb70f93f 2004-07-05T16:46:09 make the push interfaces synchronous added a specific test added the new * parser.c: make the push interfaces synchronous * python/tests/sync.py: added a specific test * python/tests/Makefile.am doc/examples/Makefile.am doc/examples/index.py: added the new test, cleaning up "make tests" output Daniel
Daniel Veillard a2351322 2004-06-27T12:08:10 hack based on Arjan van de Ven suggestion to reduce ELF footprint and * elfgcchack.h doc/elfgcchack.xsl libxml.h: hack based on Arjan van de Ven suggestion to reduce ELF footprint and generated code. Based on aliasing of libraries function to generate direct call instead of indirect ones * doc/libxml2-api.xml doc/Makefile.am doc/apibuild.py: added automatic generation of elfgcchack.h based on the API description, extended the API description to show the conditionals configuration flags required for symbols. * nanohttp.c parser.c xmlsave.c include/libxml/*.h: lot of cleanup * doc/*: regenerated the docs. Daniel
Daniel Veillard 0df3bc3f 2004-06-08T12:03:41 fixed a serious problem when substituing entities using the Reader, the * parser.c xmlreader.c include/libxml/parser.h: fixed a serious problem when substituing entities using the Reader, the entities content might be freed and if rereferenced would crash * Makefile.am test/* result/*: added a new test case and a new test operation for the reader with substitution of entities. Daniel
Daniel Veillard 37fd3074 2004-06-03T11:22:31 fixed a bug where invalid charrefs may not be detected sometimes as * parser.c: fixed a bug where invalid charrefs may not be detected sometimes as pointed by Morus Walter. * test/errors/charref1.xm result/errors/charref1.xml*: added the test in the regression suite. Daniel
William M. Brack f8f2e8f6 2004-05-14T04:37:41 enhanced the enhancement, fixed another couple of special cases. * parser.c: enhanced the enhancement, fixed another couple of special cases.
William M. Brack eb8509c2 2004-05-14T03:48:02 small enhancement to dtd handling of (a?)+ (bug 142487) * parser.c: small enhancement to dtd handling of (a?)+ (bug 142487)
Daniel Veillard 453e71bf 2004-04-20T17:44:46 killing the strncmp vs. memcmp controversy and #140593 Daniel * parser.c: killing the strncmp vs. memcmp controversy and #140593 Daniel
William M. Brack a0c48add 2004-04-16T15:58:29 fixed problem with detecting external dtd encoding (bug 135229). minor * parser.c: fixed problem with detecting external dtd encoding (bug 135229). * Makefile.am: minor change to test label
Daniel Veillard 0b787f37 2004-03-26T17:29:53 applied patch from Dave Beckett to correct line number errors when using * parser.c: applied patch from Dave Beckett to correct line number errors when using push with CDATA Daniel
Daniel Veillard 766c4f9e 2004-03-26T10:48:29 apply fix for #136693 Daniel * parser.c: apply fix for #136693 Daniel
Daniel Veillard 500a1de5 2004-03-22T15:22:58 applied patch from Alfred Mickautsch for better DTD support. fixed bug * xmlwriter.c include/libxml/xmlwriter.h doc/* : applied patch from Alfred Mickautsch for better DTD support. * SAX2.c HTMLparser.c parser.c xinclude.c xmllint.c xmlreader.c xmlschemas.c: fixed bug #137867 i.e. fixed properly the way reference counting is handled in the XML parser which had the side effect of removing a lot of hazardous cruft added to try to fix the problems associated as they popped up. * xmlIO.c: FILE * close fixup for stderr/stdout Daniel
Daniel Veillard d3999c7a 2004-03-10T16:27:03 fix bug reported by Holger Rauch added the test to th regression suite * parser.c: fix bug reported by Holger Rauch * test/att8 result/noent/att8 result/att8 result/att8.rdr result/att8.sax: added the test to th regression suite Daniel
Daniel Veillard 770075b5 2004-02-25T10:44:30 fixed the main issues reported by Peter Breitenlohner cleanup speedup * catalog.c: fixed the main issues reported by Peter Breitenlohner * parser.c: cleanup * valid.c: speedup patch from Petr Pajas Daniel
Daniel Veillard b3744004 2004-02-18T14:28:22 fixed a problem in push mode when attribute contains unescaped '>' * parser.c: fixed a problem in push mode when attribute contains unescaped '>' characters, fixes bug #134566 * test/att6 result//att6*: added the test to the regression suite Daniel
Daniel Veillard 036143bb 2004-02-12T11:57:52 fixed bug #132575 about finding the end of the internal subset in push * parser.c: fixed bug #132575 about finding the end of the internal subset in push mode. * test/intsubset.xml result/intsubset.xml* result/noent/intsubset.xml: added the test to the regression suite Daniel
Daniel Veillard 5bb9ccd5 2004-02-09T12:39:02 remove the warning on the 2001 namespace remove some warnings when * xinclude.c: remove the warning on the 2001 namespace * parser.c parserInternals.c xpath.c: remove some warnings when compiling with MSVC6 * nanohttp.c: applied a patch when using _WINSOCKAPI_ Daniel
Daniel Veillard ae28918b 2004-01-21T16:00:43 fixed bug #131745 raised by Shaun McCance with the suggested patch Daniel * parser.c: fixed bug #131745 raised by Shaun McCance with the suggested patch Daniel
Daniel Veillard c82c57e6 2004-01-12T16:24:34 some parser optimizations, xmllint --memory --timing --repeat --stream * dict.c parser.c xmlstring.c: some parser optimizations, xmllint --memory --timing --repeat --stream ./db10000.xml went down from 16.5 secs to 15.5 secs. Daniel
William M. Brack a2e844a3 2004-01-06T11:52:13 moved string and UTF8 routines out of parser.c and encoding.c into a new * encoding.c, parser.c, xmlstring.c, Makefile.am, include/libxml/Makefile.am, include/libxml/catalog.c, include/libxml/chvalid.h, include/libxml/encoding.h, include/libxml/parser.h, include/libxml/relaxng.h, include/libxml/tree.h, include/libxml/xmlwriter.h, include/libxml/xmlstring.h: moved string and UTF8 routines out of parser.c and encoding.c into a new module xmlstring.c with include file include/libxml/xmlstring.h mostly using patches from Reid Spencer. Since xmlChar now defined in xmlstring.h, several include files needed to have a #include added for safety. * doc/apibuild.py: added some additional sorting for various references displayed in the APIxxx.html files. Rebuilt the docs, and also added new file for xmlstring module. * configure.in: small addition to help my testing; no effect on normal usage. * doc/search.php: added $_GET[query] so that persistent globals can be disabled (for recent versions of PHP)
William M. Brack 7762bb15 2004-01-04T14:49:01 added a routine xmlStrncatNew to create a new string from 2 frags. added * parser.c, include/libxml/parser.h: added a routine xmlStrncatNew to create a new string from 2 frags. * tree.c: added code to check if node content is from dictionary before trying to change or concatenate.
William M. Brack 72ee48d5 2003-12-30T08:30:19 Fixed memory leak reported by Dave Beckett Removed spurious comment * parser.c, xmlmemory.c, include/libxml/xmlmemory.h: Fixed memory leak reported by Dave Beckett * xmlschemas.c: Removed spurious comment reported on the mailing list * xinclude.c, xpath.c, xpointer.c, libxml/include/xpointer.h: Further work on Bug 129967 concerning xpointer range handling and range-to function; much better, but still not complete
Daniel Veillard 4bc5f430 2003-12-22T18:13:12 change xmlReadFd() xmlCtxtReadFd() xmlReaderNewFd() xmlReaderForFd(), * parser.c xmlreader.c: change xmlReadFd() xmlCtxtReadFd() xmlReaderNewFd() xmlReaderForFd(), change those to not close the file descriptor. Updated the comment, should close #129683 Daniel
Daniel Veillard 87ab1c12 2003-12-21T13:01:56 fixed bug #129489, propagation of parsing flags in entities. improved the * parser.c: fixed bug #129489, propagation of parsing flags in entities. * parser.c xmlreader.c: improved the comments of parsing options Daniel
Daniel Veillard f88d8cf9 2003-12-08T10:25:02 tried to fix the problems reported in bug #126735 fixed again some problem * python/libxml.py: tried to fix the problems reported in bug #126735 * xpath.c SAX2.c error.c parser.c valid.c include/libxml/xmlerror.h: fixed again some problem trying to use the structured error handlers, c.f. bug #126735 * result/VC/ElementValid: tiny change due to the fix Daniel
Daniel Veillard 43caefb3 2003-12-07T19:32:22 attempt to fix #126211 ... Daniel * parser.c: attempt to fix #126211 ... Daniel
Daniel Veillard e70c877c 2003-11-25T07:21:18 swapped the attribute defaulting and attribute checking parts of parsing a * parser.c: swapped the attribute defaulting and attribute checking parts of parsing a new element start, fixes bug #127772 * result/valid/127772.* test/valid/127772.xml test/valid/dtds/127772.dtd: added the example in the regression tests Daniel
Daniel Veillard 74c0e594 2003-11-25T07:01:38 moved xmlCleanupThreads() to the end of xmlCleanupParser() to avoid bug * parser.c: moved xmlCleanupThreads() to the end of xmlCleanupParser() to avoid bug #127851 Daniel
Daniel Veillard d8cf9061 2003-11-11T21:12:36 less verbose on difference cleanup fixed xmlCleanupParser() doc work on * check-xinclude-test-suite.py: less verbose on difference * libxml.spec.in: cleanup * parser.c: fixed xmlCleanupParser() doc * doc/Makefile.am doc/apibuild.py doc/libxml2-api.xml doc/examples/Makefile.am doc/examples/example1.c doc/examples/examples.xml doc/examples/index.py doc/examples/test1.xml: work on adding C examples and generating automated information about those. examples.xml is autogenerated describing the examples. * example/Makefile.am: cleanup Daniel
Daniel Veillard 61b9338c 2003-11-03T14:28:31 implemented the XML_PARSE_NONET parser option. converted xmllint.c to use * parser.c xmlIO.c include/libxml/parserInternals.h: implemented the XML_PARSE_NONET parser option. * xmllint.c: converted xmllint.c to use the option instead of relying on the global resolver variable. Daniel
Daniel Veillard 7ec29978 2003-10-31T14:36:36 always generate line numbers Daniel * parser.c: always generate line numbers Daniel
Daniel Veillard fd343dc3 2003-10-31T10:55:22 fixed another regression introduced in fixing #125823 Daniel * parser.c: fixed another regression introduced in fixing #125823 Daniel
Daniel Veillard 157fee01 2003-10-31T10:36:03 previous fix for #124044 was broken, correct fix provided. fix * python/libxml.c: previous fix for #124044 was broken, correct fix provided. * HTMLparser.c parser.c parserInternals.c xmlIO.c: fix xmlStopParser() and the error handlers to address #125877 Daniel
Daniel Veillard 8a0a633c 2003-10-30T22:13:02 side effect of #123105 patch, namespace resolution would fail when defined * parser.c: side effect of #123105 patch, namespace resolution would fail when defined in internal entities, fixes #125823 Daniel
Aleksey Sanin b5a46da4 2003-10-29T15:51:17 added xmlStrVPrintf function
Daniel Veillard e4e3f5d8 2003-10-28T23:06:32 preparing release 2.6.1, updated and regenerated docs and APIs cleanup and * configure.in NEWS doc/*: preparing release 2.6.1, updated and regenerated docs and APIs * parser.c: cleanup and last change to fix #123105 Daniel
Daniel Veillard 9ba8e389 2003-10-28T21:31:45 included a new function to reuse a Push parser context, based on Graham * parser.c include/libxml/parser.h: included a new function to reuse a Push parser context, based on Graham Bennett original code * valid.c: in HTML, a name in an input is not an ID * TODO: bug list update Daniel
Daniel Veillard f5cb3cd9 2003-10-28T13:58:13 fixed #123263, the encoding is mandatory in a textdecl. Daniel * parser.c: fixed #123263, the encoding is mandatory in a textdecl. Daniel
Daniel Veillard 95d2d5b1 2003-10-27T14:54:49 applied patch from #123105 about defaulted attributes from element coming * parser.c: applied patch from #123105 about defaulted attributes from element coming from an entity Daniel
Daniel Veillard cc199e0e 2003-10-24T21:11:48 applied patch from Patrick Welche provided in bug #125432 , future * libxml.m4: applied patch from Patrick Welche provided in bug #125432 , future proofing the .m4 file. * parser.c: resetting the context should also reset the error * TODO: problem of conformance w.r.t. E20 was raised in the XML Core telconf and libxml2 isn't conformant there. Daniel
Daniel Veillard 198c1bfc 2003-10-20T17:07:41 removing xmldwalk module since it got merged with the xmlreader. cleanup * Makefile.am configure.in xmldwalk.c xmlreader.c include/libxml/Makefile.am include/libxml/xmldwalk.h include/libxml/xmlversion.h.in: removing xmldwalk module since it got merged with the xmlreader. * parser.c: cleanup * win32/libxml2.def.src python/libxml2class.txt doc/libxml2-api.xml: rebuilt the API * python/tests/Makefile.am python/tests/reader7.py python/tests/walker.py: adding regression testing for the new xmlreader APIs, new APIs for reader creation, including makeing reader "walker" operating on preparsed document trees. Daniel
Daniel Veillard a07050dd 2003-10-19T14:46:32 applied patch from Chris Anderson to change back memcmp with CMPx() Daniel * parser.c: applied patch from Chris Anderson to change back memcmp with CMPx() Daniel
William M. Brack 76e95df0 2003-10-18T16:20:14 Changed all (?) occurences where validation macros (IS_xxx) had * include/libxml/parserInternals.h HTMLparser.c HTMLtree.c SAX2.c catalog.c debugXML.c entities.c parser.c relaxng.c testSAX.c tree.c valid.c xmlschemas.c xmlschemastypes.c xpath.c: Changed all (?) occurences where validation macros (IS_xxx) had single-byte arguments to use IS_xxx_CH instead (e.g. IS_BLANK changed to IS_BLANK_CH). This gets rid of many warning messages on certain platforms, and also high- lights places in the library which may need to be enhanced for proper UTF8 handling.
William M. Brack 871611bb 2003-10-18T04:53:14 enhanced macros to avoid breaking ABI from previous versions. modified to * genChRanges.py, chvalid.c, include/libxml/chvalid.h, include/libxml/parserInternals.h: enhanced macros to avoid breaking ABI from previous versions. * catalog.c, parser.c, tree.c: modified to use IS_* macros defined in parserInternals.h. Makes maintenance much easier. * testHTML.c, testSAX.c, python/libxml.c: minor fixes to avoid compilation warnings * configuration.in: fixed pushHTML test error; enhanced for better devel (me) testing
Daniel Veillard 4aede2e6 2003-10-17T12:43:59 remove the warning for startDocument(), as it is used by glade (or * legacy.c: remove the warning for startDocument(), as it is used by glade (or glade-python) * parser.c relaxng.c xmlschemastypes.c: fixed an assorted set of invalid accesses found by running some Python based regression tests under valgrind. There is still a few leaks reported by the relaxng regressions which need some attention. * doc/Makefile.am: fixed a make install problem c.f. #124539 * include/libxml/parserInternals.h: addition of xmlParserMaxDepth patch from crutcher Daniel
Daniel Veillard 04054bec 2003-10-15T10:48:54 Marc Liyanage pointed out that xmlCleanupParser() was missing * parser.c: Marc Liyanage pointed out that xmlCleanupParser() was missing xmlCleanupInputCallbacks and xmlCleanupOutputCallbacks calls. Daniel
Daniel Veillard 9bcc7c5a 2003-10-11T10:57:05 Dohhh ! Daniel Dohhh ! Daniel
Daniel Veillard c790bf4b 2003-10-11T10:50:10 patch from Mike Hommey applied Windows patch from Jesse Pelton and * configure.in: patch from Mike Hommey * threads.c: applied Windows patch from Jesse Pelton and Stephane Bidoul * parser.c: fix the potentially nasty access to ctxt->serror without checking first that the SAX block is version 2 Daniel
Daniel Veillard 2b0f8799 2003-10-10T19:36:36 fixed a nasty bug with interning some text strings prepare for beta5 of * SAX2.c: fixed a nasty bug with interning some text strings * configure.in: prepare for beta5 of 2.6.0 * libxml.h nanoftp.c nanohttp.c xmlIO.c include/libxml/xmlerror.h: better error handling for I/O and converted FTP and HTTP * parser.c: fixed another bug Daniel
Daniel Veillard 659e71ec 2003-10-10T14:10:40 Setting up the framework for structured error reporting, touches a lot of * HTMLparser.c c14n.c catalog.c error.c globals.c parser.c parserInternals.c relaxng.c valid.c xinclude.c xmlIO.c xmlregexp.c xmlschemas.c xpath.c xpointer.c include/libxml/globals.h include/libxml/parser.h include/libxml/valid.h include/libxml/xmlerror.h: Setting up the framework for structured error reporting, touches a lot of modules, but little code now the error handling trail has been cleaned up. Daniel
Daniel Veillard b65e12e3 2003-10-08T21:33:28 bug in compression saving was crashing galeon, reported by teuf Daniel * parser.c: bug in compression saving was crashing galeon, reported by teuf Daniel
Daniel Veillard d96f6d34 2003-10-07T21:25:12 cleaning up XPath error reporting that time. applied the two patches for * error.c include/libxml/xmlerror.h include/libxml/xpath.h include/libxml/xpathInternals.h xpath.c: cleaning up XPath error reporting that time. * threads.c: applied the two patches for TLS threads on Windows from Jesse Pelton * parser.c: tiny safety patch for xmlStrPrintf() make sure the return is always zero terminated. Should also help detecting passing wrong buffer size easilly. * result/VC/* result/valid/rss.xml.err result/valid/xlink.xml.err: updated the results to follow the errors string generated by last commit. Daniel
Daniel Veillard 8f597c3b 2003-10-06T08:19:27 fixing the script replace sequences of RAW && NXT(.) == '.' with memcmp * check-xml-test-suite.py: fixing the script * parser.c: replace sequences of RAW && NXT(.) == '.' with memcmp calls, seems to not break conformance, slightly inflate the size of the gcc generated code though. Daniel
Daniel Veillard ce9457f3 2003-10-05T21:33:18 more cleanup of error handling in parserInternals, sharing the routine for * parserInternals.c parser.c valid.c include/libxml/parserInternals.h: more cleanup of error handling in parserInternals, sharing the routine for memory errors. Daniel
Daniel Veillard f403d298 2003-10-05T13:51:35 more code cleanup, especially around error messages, the HTML parser has * HTMLparser.c Makefile.am legacy.c parser.c parserInternals.c include/libxml/xmlerror.h: more code cleanup, especially around error messages, the HTML parser has now been upgraded to the new handling. * result/HTML/*: a few changes in the resulting error messages Daniel