parser.c


Log

Author Commit Date CI Message
Daniel Veillard a37a6ad9 2006-10-10T20:05:45 trying to fix entities behaviour when using SAX, had to extend entities * include/libxml/entities.h entities.c SAX2.c parser.c: trying to fix entities behaviour when using SAX, had to extend entities content and hack on the entities processing code, but that should fix the long standing bug #159219 Daniel
Daniel Veillard 2937b3ac 2006-10-10T08:52:34 applied and slightly modified a patch from Michael Day to keep _private in * parser.c: applied and slightly modified a patch from Michael Day to keep _private in the parser context when parsing external entities Daniel
Daniel Veillard 4a9fe385 2006-09-19T12:44:35 applied patch from Ben Darnell on #321545, I could not reproduce the * parser.c: applied patch from Ben Darnell on #321545, I could not reproduce the problem but 1/ this is safe 2/ it's better to be safe. Daniel
Rob Richards a02f199d 2006-09-16T14:04:26 xmlTextConcat works with comments and PI nodes (bug #355962). fix * tree.c: xmlTextConcat works with comments and PI nodes (bug #355962). * parser.c: fix resulting tree corruption when using XML namespace with existing doc in xmlParseBalancedChunkMemoryRecover.
Daniel Veillard 75acfeea 2006-07-13T06:29:56 applied patch from Andrew W. Nosenko to expose if zlib support was * configure.in parser.c xmllint.c include/libxml/parser.h include/libxml/xmlversion.h.in: applied patch from Andrew W. Nosenko to expose if zlib support was compiled in, in the header, in the feature API and in the xmllint --version output. Daniel
Daniel Veillard dbcbbd26 2006-06-18T19:55:20 try to fix the crash raised by the parser in recover mode as pointed by * parser.c: try to fix the crash raised by the parser in recover mode as pointed by Ryan Phillips Daniel
Daniel Veillard 3b1478b7 2006-04-24T08:50:10 fix the error message for invalid code point in content c.f. bug #339311 * parser.c: fix the error message for invalid code point in content c.f. bug #339311 Daniel
Daniel Veillard 30e7607b 2006-03-09T14:13:55 a bunch of small cleanups based on coverity reports. Daniel * HTMLparser.c parser.c parserInternals.c pattern.c uri.c: a bunch of small cleanups based on coverity reports. Daniel
Daniel Veillard 9b528c75 2006-02-05T03:06:15 bill pointed out a missing block in xmlParseComment trying to fill with a * parser.c: bill pointed out a missing block in xmlParseComment trying to fill with a normal processing of the given character. Daniel
Daniel Veillard 6974feb0 2006-02-05T02:43:36 fixed the comment streaming bug raised by Graham Bennett added to the * parser.c: fixed the comment streaming bug raised by Graham Bennett * test/badcomment.xml result//badcomment.xml*: added to the regression suite. Daniel
Daniel Veillard 499cc920 2006-01-18T17:22:35 try to fix xmlParseInNodeContext when operating on an HTML document. * HTMLparser.c libxml.h parser.c: try to fix xmlParseInNodeContext when operating on an HTML document. Daniel
Daniel Veillard a617e24f 2006-01-09T14:38:44 reverted first patches for #319279 which led to #326295 and fixed the * parser.c: reverted first patches for #319279 which led to #326295 and fixed the problem in xmlParseChunk() instead * test/ent11 result//ent11*: added test for #326295 to the regression suite Daniel
Daniel Veillard b20c63a2 2006-01-04T17:08:46 tiny refactoring patch from Bjorn Reese Daniel * parser.c: tiny refactoring patch from Bjorn Reese Daniel
Daniel Veillard ae487ba0 2005-11-17T07:25:52 use ctxt->standalone = -2 to indicate that the XMLDecl was parsed but no * parser.c: use ctxt->standalone = -2 to indicate that the XMLDecl was parsed but no standalone attribute was found, suggested by Michael Day to detect if an XMLDecl was found. Daniel
William M. Brack dc904f1f 2005-10-22T02:04:26 fixed second spot where CRLF split between chunks could cause trouble (bug * parser.c: fixed second spot where CRLF split between chunks could cause trouble (bug #319279) * gentest.py, testapi.c: fixed two problems involved with --with-minimum compilation (compilation errors with schematron and formal expressions tests)
William M. Brack f4caa5e6 2005-10-20T09:04:05 fixed problem in xmlTextWriterVSprintf caused by misuse of vsnprintf added * xmlwriter.c: fixed problem in xmlTextWriterVSprintf caused by misuse of vsnprintf * configure.in, config.h.in: added a configuration check for va_copy and added a define for VA_COPY for xmlwriter.c fix * parser.c: fixed problem with CRLF split between chunks (bug #319279) (fix provided by Brion Vibber)
Daniel Veillard bedc9771 2005-09-28T21:42:15 applied patch from Massimo Morara fixing bug #317447 about risk of invalid * parser.c: applied patch from Massimo Morara fixing bug #317447 about risk of invalid write in xmlStringLenDecodeEntities Daniel
Daniel Veillard 602434de 2005-09-12T09:20:31 damn XML_FEATURE_UNICODE clashes with Expat headers rename to XML_WITH_ to * include/libxml/parser.h parser.c xmllint.c: damn XML_FEATURE_UNICODE clashes with Expat headers rename to XML_WITH_ to fix bug #316053. * doc/Makefile.am: build devhelp before the examples. * doc/*: regenerated the API Daniel
Daniel Veillard eca59a25 2005-09-09T10:56:28 fixes bug #315617 when using push CDATA in some cases. Daniel * parser.c: fixes bug #315617 when using push CDATA in some cases. Daniel
Daniel Veillard 0bcc7f6a 2005-09-04T21:39:03 updated the docs and rebuild releasing 2.6.21 removed * NEWS elfgcchack.h testapi.c doc/*: updated the docs and rebuild releasing 2.6.21 * include/libxml/threads.h threads.c: removed xmlIsThreadsEnabled() * threads.c include/libxml/threads.h xmllint.c: added the more generic xmlHasFeature() as suggested by Bjorn Reese, xmllint uses it. Daniel
Daniel Veillard 8874b94c 2005-08-25T13:19:21 added a parser XML_PARSE_COMPACT option to allocate small text nodes (less * HTMLparser.c parser.c SAX2.c debugXML.c tree.c valid.c xmlreader.c xmllint.c include/libxml/HTMLparser.h include/libxml/parser.h: added a parser XML_PARSE_COMPACT option to allocate small text nodes (less than 8 bytes on 32bits, less than 16bytes on 64bits) directly within the node, various changes to cope with this. * result/XPath/tests/* result/XPath/xptr/* result/xmlid/*: this slightly change the output Daniel
Daniel Veillard 53bd1f3c 2005-08-24T14:46:07 found another bug while looking at #309616 on missing entities. this * parser.c: found another bug while looking at #309616 on missing entities. * result/ent2.sax* result/ent7.sax* result/xml2.sax*: this changed the SAX stream in missing conditions for a few tests Daniel
Daniel Veillard 96688263 2005-08-23T18:14:12 fixed bug #170489 reported by Jirka Kosek added the test to the regression * parser.c: fixed bug #170489 reported by Jirka Kosek * test/valid/objednavka.xml test/valid/dtds/objednavka.dtd result/valid/objednavka*: added the test to the regression suite. Daniel
Daniel Veillard 24505b0f 2005-07-28T23:49:35 a lot of small cleanups based on Linus' sparse check output. Daniel * HTMLparser.c SAX2.c encoding.c globals.c parser.c relaxng.c runsuite.c runtest.c schematron.c testHTML.c testReader.c testRegexp.c testSAX.c testThreads.c valid.c xinclude.c xmlIO.c xmllint.c xmlmodule.c xmlschemas.c xpath.c xpointer.c: a lot of small cleanups based on Linus' sparse check output. Daniel
Daniel Veillard ffa3c749 2005-07-21T13:24:09 applied a patch from Marcus Boerger to fix problems with calling * error.c globals.c parser.c runtest.c testHTML.c testSAX.c threads.c valid.c xmllint.c xmlreader.c xmlschemas.c xmlstring.c xmlwriter.c include/libxml/parser.h include/libxml/relaxng.h include/libxml/valid.h include/libxml/xmlIO.h include/libxml/xmlerror.h include/libxml/xmlexports.h include/libxml/xmlschemas.h: applied a patch from Marcus Boerger to fix problems with calling conventions on Windows this should fix #309757 Daniel
Daniel Veillard 0a119ebe 2005-07-20T13:46:00 an optimization of the char data inner loop, can gain up to 10% in pure * parser.c: an optimization of the char data inner loop, can gain up to 10% in pure SAX2 parsing speed * xmlschemas.c: applied patch from Kupriyanov Anatolij fixing a bug in XML Schemas facet comparison #310893 Daniel
Daniel Veillard 971771ef 2005-07-09T17:32:57 fix for #309761 from Dylan Shell added xmlSchemaSAXPlug and * parser.c: fix for #309761 from Dylan Shell * xmlschemas.c include/libxml/xmlschemas.h: added xmlSchemaSAXPlug and xmlSchemaSAXUnplug generic APIs for SAX Schemas validation. * xmllint.c: couple of fixes plus added descriptions for --sax and --sax1 Daniel
Daniel Veillard f0af8ec6 2005-07-08T17:27:33 fix some potential leaks in error cases. added --sax, to allow testing of * parser.c: fix some potential leaks in error cases. * xmllint.c: added --sax, to allow testing of --schemas --sax and various other combinations. * xmlschemas.c: fix a couple of tiny problems in xmlSchemaValidateStream() Daniel
Daniel Veillard abac41e8 2005-07-06T15:17:38 fixing bug #166777 (and #169838), it was an heuristic in areBlanks which * parser.c: fixing bug #166777 (and #169838), it was an heuristic in areBlanks which failed. * result/winblanks.xml* result/noent/winblanks.xml test/winblanks.xml: added the input file to the regression tests Daniel
Daniel Veillard 3fa5e7e4 2005-07-04T11:12:25 fixed a bug failing to detect UTF-8 violations in CData in push mode. * parser.c: fixed a bug failing to detect UTF-8 violations in CData in push mode. * result/errors/cdata.xml* test/errors/cdata.xml: added the test to the regressions Daniel
Daniel Veillard 39e5c890 2005-07-03T22:48:50 fixing a leak detected by testapi in xmlDOMWrapAdoptNode, and fixing * testapi.c tree.c: fixing a leak detected by testapi in xmlDOMWrapAdoptNode, and fixing another side effect in testapi seems to pass tests fine now. * include/libxml/parser.h parser.c: xmlStopParser() is no more limited to push mode * error.c: remove a warning * runtest.c xmllint.c: avoid compilation errors if only some parts of the library are compiled in. Daniel
Daniel Veillard 365cf67f 2005-06-09T08:18:24 applied patch from Malcolm Rowe to avoid namespace troubles on rollback * parser.c: applied patch from Malcolm Rowe to avoid namespace troubles on rollback parsing of elements start #304761 * test/nsclean.xml result/noent/nsclean.xml result/nsclean.xml*: added it to the regression tests. Daniel
Daniel Veillard d892557d 2005-06-08T22:34:55 applied patch from Rob Richards for xml:space and xml:lang handling with * parser.c include/libxml/xmlerror.h: applied patch from Rob Richards for xml:space and xml:lang handling with SAX2 api. Daniel
Kasimier T. Buchcik 455472f2 2005-04-29T10:04:43 Fixed a test for duplicate attributes: Non-prefixed attributes were * parser.c: Fixed a test for duplicate attributes: Non-prefixed attributes were treated as being bound to the default namespace.
Daniel Veillard 5d4644ef 2005-04-01T13:11:58 revamped the elfgcchack.h format to cope with gcc4 change of aliasing * doc/apibuild.py doc/elfgcchack.xsl: revamped the elfgcchack.h format to cope with gcc4 change of aliasing allowed scopes, had to add extra informations to doc/libxml2-api.xml to separate the header from the c module source. * *.c: updated all c library files to add a #define bottom_xxx and reimport elfgcchack.h thereafter, and a bit of cleanups. * doc//* testapi.c: regenerated when rebuilding the API Daniel
Daniel Veillard 7331e5ca 2005-03-31T14:59:00 fixed #172260 redundant assignment. fixed xmlSAXParseDoc() and * SAX.c: fixed #172260 redundant assignment. * parser.c include/libxml/parser.h: fixed xmlSAXParseDoc() and xmlParseDoc() signatures #172257. Daniel
Daniel Veillard 32acf0c3 2005-03-31T14:12:37 fix potential crash if ctxt->sax->ignorableWhitespace is NULL as reported * parser.c: fix potential crash if ctxt->sax->ignorableWhitespace is NULL as reported by bug #172255 Daniel
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