parser.c


Log

Author Commit Date CI Message
Daniel Veillard 594e5dfb 2009-09-07T14:58:47 Chasing dead assignments reported by clang-scan * SAX2.c dict.c error.c hash.c nanohttp.c parser.c python/libxml.c relaxng.c runtest.c tree.c valid.c xinclude.c xmlregexp.c xmlsave.c xmlschemas.c xpath.c xpointer.c: mostly removing unneded affectations, but this led to a few real bugs and some part not yet understood (relaxng/interleave)
Daniel Veillard d44b9364 2009-09-07T12:15:08 A few more safety cleanup raised by scan * SAX2.c encoding.c parser.c xmlschemas.c: a few more safety checks * relaxng.c: remove an unused intitialization
Daniel Veillard 76d36458 2009-09-07T11:19:33 Fixing assorted potential problems raised by scan * encoding.c parser.c relaxng.c runsuite.c tree.c xmlreader.c xmlschemas.c: nothing really serious but better safe than sorry
Daniel Veillard 15495610 2009-09-05T15:04:41 Potential uninitialized arguments raised by scan * parser.c: ctxt->sax2 is not supposed to change suring parsing but better safe than sorry and initialize prefix and URI used in SAX2 callbacks.
Daniel Veillard 13cee4e3 2009-09-05T14:52:55 Fix a bunch of scan 'dead increments' and cleanup * HTMLparser.c c14n.c debugXML.c entities.c nanohttp.c parser.c testC14N.c uri.c xmlcatalog.c xmllint.c xmlregexp.c xpath.c: fix unused variables, or unneeded increments as well as a couple of space issues * runtest.c: check for NULL before calling unlink()
Daniel Veillard 74eaec14 2009-08-26T15:57:20 502960 provide namespace stack when parsing entity * parser.c: copy the entity stack * SAX2.c: fix the warning message for default entities
Daniel Veillard a6c76a26 2009-08-26T14:37:00 566012 part 2 fix regresion tests and push mode * test/utf16bebom.xml: regression test showed that this test case was broken but previous behaviour would not detect it ! * parser.c: fix 566012 for the push mode of the parser, tricky ! * test/ebcdic_566012.xml result//ebcdic_566012.xml*: add the test to the regression suite
Daniel Veillard 7e385bd4 2009-08-26T11:38:49 566012 autodetected encoding and encoding conflict * encoding.c parser.c parserInternals.c: when we autodetect an encoding but it's actually not completely compatible with the one declared great care must be taken to not convert more than just the first line. Led to some refactoring, more private functions and a bit of cleanup.
Daniel Veillard 283d5027 2009-08-25T17:18:39 587663 Incorrect Attribute-Value Normalization * parser.c: when replacing entities and that the entity is CDATA and reference entities then white space character in replacement text need to be replaced by 0x20 * result/noent/att10: correct the output of the associated regression test
Daniel Veillard 852505b3 2009-08-23T15:44:48 583439 missing line numbers in push mode * parser.c: use the line number stored in the node itself if present for end of tag line error reports
Daniel Veillard 53c32edf 2009-08-21T15:20:55 Rebuilt the API and regenerated docs
Daniel Veillard 8ed1072c 2009-08-20T19:17:36 Add symbol versioning to libxml2 shared libs * libxml2.syms: the symbols with history, going back to 2.4.30 * Makefile.am configure.in: linking flags detection and use * parser.c tree.c valid.c xpointer.c: various cleanup of functions which could be made static or simply discarded, not that many
Daniel Veillard f39eafaa 2009-08-20T19:15:08 Make xmlRecoverDoc const (Martin Trappel) * include/libxml/parser.h parser.c: just make the parameter a const
Daniel Veillard 489f9671 2009-08-10T16:49:30 Fix a couple of problems in the parser * parser.c: a couple of nasty bugs CVE-2009-2414 and CVE-2009-2416
Daniel Veillard 48247b4f 2009-07-10T16:12:46 Fix a regression in streaming entities support * parser.c: fix a regression in entity parsing when using the reader introduced because we were not reusing _private on entities parsing context
Daniel Veillard 44af232c 2009-07-09T09:02:11 Fix ChangeLog merge conflict
Daniel Veillard ab2a763d 2009-07-09T08:45:03 A bit of cleanups * tree.c: avoid calling xmlAddID with NULL values * parser.c: add a few xmlInitParser in some entry points
Rob Richards 798743a4 2009-06-19T13:54:25 * parser.c: use options from current parser context when creating a parser context within xmlParseCtxtExternalEntity * xmlwriter.c: fix error message when unable to create output file
Daniel Veillard bccae2d2 2009-06-04T11:22:45 * c14n.c debugXML.c doc/examples/io2.c parser.c schematron.c valid.c xmlschemas.c xmlwriter.c xpath.c: use %s to printf string patch by Christian Persch, fixes #581612
Daniel Veillard 7dd7080a 2009-06-04T11:08:39 * parser.c threads.c: change the threading initialization sequence as suggested by Igor Novoseltsev to avoid crash if xmlInitParser() is called from a thread which is not the main one, should fix #584605 daniel
Rob Richards 2c8c772d 2009-04-29T10:09:05 * parser.c: do not set error code in xmlNsWarn
Rob Richards 9c0aa472 2009-03-26T18:10:19 use options from current parser context when creating an entity parser * parser.c: use options from current parser context when creating an entity parser context svn path=/trunk/; revision=3825
Daniel Veillard c6561463 2009-03-25T10:22:31 hide the nbParse* variables used for debugging as pointed by Mike Hommey * parser.c: hide the nbParse* variables used for debugging as pointed by Mike Hommey daniel svn path=/trunk/; revision=3823
Daniel Veillard 01101204 2009-02-21T09:22:04 more warnings about xmlCleanupThreads and xmlCleanupParser to avoid * threads.c parser.c: more warnings about xmlCleanupThreads and xmlCleanupParser to avoid troubles like #571409 daniel svn path=/trunk/; revision=3818
Rob Richards b9ed017d 2009-01-05T17:28:50 add XML_PARSE_OLDSAX parser option to enable pre 2.7 SAX behavior. * include/libxml/parser.h parser.c: add XML_PARSE_OLDSAX parser option to enable pre 2.7 SAX behavior. svn path=/trunk/; revision=3807
Daniel Veillard 1dc9feb0 2008-11-17T15:59:21 fix for CVE-2008-4226, a memory overflow when building gigantic text * SAX2.c parser.c: fix for CVE-2008-4226, a memory overflow when building gigantic text nodes, and a bit of cleanup to better handled out of memory problem in that code. * tree.c: fix for CVE-2008-4225, lack of testing leads to a busy loop test assuming one have enough core memory. Daniel svn path=/trunk/; revision=3803
Daniel Veillard 7f4547cd 2008-10-03T07:58:23 preparing the release of 2.7.2 fix the Solaris portability issue * configure.in doc/* NEWS: preparing the release of 2.7.2 * dict.c: fix the Solaris portability issue * parser.c: additional cleanup on #554660 fix * test/ent13 result/ent13* result/noent/ent13*: added the example in the regression test suite. * HTMLparser.c: handle leading BOM in htmlParseElement() Daniel svn path=/trunk/; revision=3799
Daniel Veillard 34a7fc38 2008-10-02T20:55:10 fix a nasty bug introduced when cleaning up entities processing in 2.7.x , * parser.c: fix a nasty bug introduced when cleaning up entities processing in 2.7.x , fixes #554660 Daniel svn path=/trunk/; revision=3798
Daniel Veillard da3fee40 2008-09-01T13:08:57 Borland C fix from Moritz Both regenerate, workaround a problem for buffer * trionan.c: Borland C fix from Moritz Both * testapi.c: regenerate, workaround a problem for buffer testing * xmlIO.c HTMLtree.c: new internal entry point to hide even better xmlAllocOutputBufferInternal * tree.c: harden the code around buffer allocation schemes * parser.c: restore the warning when namespace names are not absolute URIs * runxmlconf.c: continue regression tests if we get the expected number of errors * Makefile.am: run the python tests on make check * xmlsave.c: handle the HTML documents and trees * python/libxml.c: convert python serialization to the xmlSave APIs and avoid some horrible hacks Daniel svn path=/trunk/; revision=3790
Daniel Veillard 1572425c 2008-08-30T15:01:04 preparing 2.7.0 release remove some testing traces remove some warnings * configure.in, doc/*: preparing 2.7.0 release * tree.c: remove some testing traces * parser.c xmlIO.c xmlschemas.c: remove some warnings Daniel svn path=/trunk/; revision=3788
Daniel Veillard cba68396 2008-08-29T12:43:40 a couple more fixes patch from Andreas Färber to compile on Haiku * parser.c: a couple more fixes * nanohttp.c nanoftp.c: patch from Andreas Färber to compile on Haiku * doc/examples/*: regenerated daniel svn path=/trunk/; revision=3784
Daniel Veillard 0161e638 2008-08-28T15:36:32 completely different fix for the recursion detection based on entity * parser.c include/libxml/parser.h: completely different fix for the recursion detection based on entity density, big cleanups in the entity parsing code too * result/*.sax*: the parser should not ask for used defined versions of the predefined entities * testrecurse.c: automatic test for entity recursion checks * Makefile.am: added testrecurse * test/recurse/lol* test/recurse/good*: a first set of tests for the recursion Daniel svn path=/trunk/; revision=3783
Daniel Veillard 49d4405a 2008-08-27T19:57:06 a bit of cleanup and added checks based on the regression tests of the * include/libxml/xmlerror.h parser.c: a bit of cleanup and added checks based on the regression tests of the xmlconf suite Daniel svn path=/trunk/; revision=3782
Daniel Veillard a8f09ce8 2008-08-27T13:02:01 cleanup entity pushing error handling based on a patch from Ashwin daniel * include/libxml/parserInternals.h parser.c: cleanup entity pushing error handling based on a patch from Ashwin daniel svn path=/trunk/; revision=3779
Daniel Veillard 8915c150 2008-08-26T13:05:34 strengthen some of the internal parser limits, add an XML_PARSE_HUGE * include/libxml/parser.h parser.c xmllint.c: strengthen some of the internal parser limits, add an XML_PARSE_HUGE option to bypass them all. More internal parser limits will still need to be added. Daniel svn path=/trunk/; revision=3777
Daniel Veillard f4f4e485 2008-08-25T08:57:48 rework the patch to avoid some ABI issue with people allocating entities * include/libxml/entities.h entities.c SAX2.c parser.c: rework the patch to avoid some ABI issue with people allocating entities structure directly Daniel svn path=/trunk/; revision=3773
Daniel Veillard 4bf899bf 2008-08-20T17:04:30 fix for CVE-2008-3281 Daniel * include/libxml/parser.h include/libxml/entities.h entities.c parserInternals.c parser.c: fix for CVE-2008-3281 Daniel svn path=/trunk/; revision=3772
Daniel Veillard ae0765b6 2008-07-31T19:54:59 more progresses against the official regression tests small cleanup for * runxmlconf.c: more progresses against the official regression tests * runsuite.c: small cleanup for non-leak reports * include/libxml/tree.h: parsing flags and other properties are now added to the document node, this is generally useful and allow to make Name and NmToken validations based on the parser flags, more specifically the 5th edition of XML or not * HTMLparser.c tree.c: small side effects for the previous changes * parser.c SAX2.c valid.c: the bulk of teh changes are here, the parser and validation behaviour can be affected, parsing flags need to be copied, lot of changes. Also fixing various validation problems in the regression tests. Daniel svn path=/trunk/; revision=3762
Daniel Veillard 37334576 2008-07-31T08:20:02 added a skipped list, insert rmt-ns10-035 improve 'make check' clean up * runxmlconf.c: added a skipped list, insert rmt-ns10-035 * Makefile.am: improve 'make check' * include/libxml/xmlerror.h parser.c: clean up namespace errors checking and reporting, errors when a document is labelled as UTF-16 while it is parsed as UTF-8 and no encoding was given explicitely. * result/errors/webdav.xml.*: some warnings are no recategorized as Namespace errors Daniel svn path=/trunk/; revision=3761
Daniel Veillard 40ec29a5 2008-07-30T12:35:40 an XML-1.0 document can't load an 1.1 entity when using entities make sure * parser.c include/libxml/xmlerror.h: an XML-1.0 document can't load an 1.1 entity * runxmlconf.c: when using entities make sure we load them Daniel svn path=/trunk/; revision=3759
Daniel Veillard 051d52cb 2008-07-29T16:44:59 fix a bug not detecting cross entity comments probably when comment * parser.c: fix a bug not detecting cross entity comments probably when comment parsing got optimized. * Makefile.am: add make check * runxmlconf.c: fix the log file name Daniel svn path=/trunk/; revision=3758
Daniel Veillard 7e5c3f48 2008-07-29T16:12:31 add a C program to run the W3C test suite, work in progress add a new * runxmlconf.c Makefile.am: add a C program to run the W3C test suite, work in progress * xmllint.c: add a new option --oldxml10 to use the old parser * parser.c: fix the XML_PARSE_OLD10 processing of the new option and a bug in version parsing Daniel svn path=/trunk/; revision=3757
Daniel Veillard 34e3f641 2008-07-29T09:02:27 implement XML-1.0 5th edition, add parser option XML_PARSE_OLD10 to stick * include/libxml/parser.h include/libxml/xmlerror.h parser.c: implement XML-1.0 5th edition, add parser option XML_PARSE_OLD10 to stick to old behaviour * testapi.c gentest.py: modified slightly and regenerated * Makefile.am: add testchar Daniel svn path=/trunk/; revision=3755
Daniel Veillard 2135fc2d 2008-04-04T16:10:51 improve the *Recover* functions documentation Daniel * parser.c: improve the *Recover* functions documentation Daniel svn path=/trunk/; revision=3731
Daniel Veillard 6ccc56df 2008-04-03T12:59:06 patch from Mark Rowe fixing BOM or encoding detection in external parsed * parser.c: patch from Mark Rowe fixing BOM or encoding detection in external parsed entities, should fix #440415 Daniel svn path=/trunk/; revision=3730
Daniel Veillard a4ba09d7 2008-04-03T06:24:04 more realloc problems pointed out by Ashwin Daniel * parser.c: more realloc problems pointed out by Ashwin Daniel svn path=/trunk/; revision=3724
Daniel Veillard 68b6e02b 2008-03-31T09:26:00 lot of out of memory handling fixes from Ashwin work around a problem with * parser.c: lot of out of memory handling fixes from Ashwin * elfgcchack.h doc/elfgcchack.xsl: work around a problem with xmlDllMain * include/libxml/threads.h: indenting cleanups Daniel svn path=/trunk/; revision=3720
Daniel Veillard 05b37c68 2008-03-31T08:27:07 trying to clarify even more the xmlCleanupParser() use and the memory * parser.c docs/*: trying to clarify even more the xmlCleanupParser() use and the memory documentation Daniel svn path=/trunk/; revision=3719
Daniel Veillard dc171601 2008-03-26T17:41:38 changes based on Alex Khesin patch where xmlParseCharRef seems to not be * parser.c: changes based on Alex Khesin patch where xmlParseCharRef seems to not be checked correctly, fixes #520198 Daniel svn path=/trunk/; revision=3718
Daniel Veillard 6a31b837 2008-03-26T14:06:44 patch from Ashwin to avoid a problem of attribute redefinition in the DTD. * parser.c: patch from Ashwin to avoid a problem of attribute redefinition in the DTD. Remove a warning too. Daniel svn path=/trunk/; revision=3717
Daniel Veillard 97c9ce2e 2008-03-25T16:52:41 fix various attribute normalisation problems reported by Ashwin this * parser.c: fix various attribute normalisation problems reported by Ashwin * result/c14n/without-comments/example-4 result/c14n/with-comments/example-4: this impacted the result of two c14n tests :-\ * test/att9 test/att10 test/att11 result//att9* result//att10* result//att11*: added 3 specific regression tests coming from the XML spec revision and from Ashwin Daniel svn path=/trunk/; revision=3715
Daniel Veillard 8bf64aef 2008-03-24T20:45:21 fix a problem reported by Ashwin for system parameter entities referenced * parser.c: fix a problem reported by Ashwin for system parameter entities referenced from entities in external subset, add a specific loading routine. * test/valid/dtds/external.ent test/valid/dtds/external2.ent test/valid/t11.xml result/valid/t11.xml*: added the test to the regression suite Daniel svn path=/trunk/; revision=3713
Daniel Veillard 37d2d16c 2008-03-14T10:54:00 patch from Vasily Chekalkin fixes memory leaks, should fix 512647 Daniel * parser.c xinclude.c: patch from Vasily Chekalkin fixes memory leaks, should fix 512647 Daniel svn path=/trunk/; revision=3706
Daniel Veillard d0d2f090 2008-03-07T16:50:21 fix handling of empty CDATA nodes as reported and discussed around #514181 * xmlsave.c parser.c: fix handling of empty CDATA nodes as reported and discussed around #514181 and associated patches * test/emptycdata.xml result/emptycdata.xml* result/noent/emptycdata.xml: added a specific test in the regression suite. Daniel svn path=/trunk/; revision=3701
Daniel Veillard ccc476f1 2008-03-04T13:19:49 patch from Alex Khesin fixing CDATA output after a text node. fixed the * xmlwriter.c: patch from Alex Khesin fixing CDATA output after a text node. * parser.c: fixed the comment for xmlParserCleanup * globals.c: fixed indentation Daniel svn path=/trunk/; revision=3699
Daniel Veillard c707d0b7 2008-01-24T14:48:54 fix a memeory leak in internal subset parsing with a fix from Ashwin add * parser.c: fix a memeory leak in internal subset parsing with a fix from Ashwin * test/errors/content1.xml result/errors/content1.xml*: add test to regressions Daniel svn path=/trunk/; revision=3680
Daniel Veillard b3edafd7 2008-01-11T08:00:57 avoid a warning on 64bits introduced earlier make more checking on the * parser.c: avoid a warning on 64bits introduced earlier * parserInternals.c: make more checking on the UTF-8 input Daniel svn path=/trunk/; revision=3676
Daniel Veillard 9e264adf 2008-01-11T06:10:16 applied patch from Christian Schmidt fixing a column counter update * parser.c: applied patch from Christian Schmidt fixing a column counter update problem, fixes #472696 Daniel svn path=/trunk/; revision=3670
Daniel Veillard ac4118d5 2008-01-11T05:27:32 handle a erroneous parsing of attributes in case said attribute has been * parser.c: handle a erroneous parsing of attributes in case said attribute has been redeclared in the DTD with a different type * hash.c: fix the hash scanner to not crash if a first element from the hash list is been removed in the callback Daniel svn path=/trunk/; revision=3669
Daniel Veillard 3dcd319a 2007-08-14T13:46:54 aligned xmlSAXUserParseMemory() to match xmlSAXUserParseFile() logic based * parser.c: aligned xmlSAXUserParseMemory() to match xmlSAXUserParseFile() logic based on Ashwin post, and ifdef cleanup Daniel svn path=/trunk/; revision=3649
Daniel Veillard da629347 2007-08-01T07:49:06 fixed a parser bug where invalid char in comment may not be detected, * parser.c: fixed a parser bug where invalid char in comment may not be detected, reported by Ashwin Sinha * test/errors/comment1.xml result/errors/comment1.xml*: added the example to the regression suite Daniel svn path=/trunk/; revision=3647
Daniel Veillard 40e4b216 2007-06-12T14:46:40 Probably needed too to avoid the same problem on PIs, Daniel svn path=/trunk/; revision=3636
Daniel Veillard dfac946c 2007-06-12T14:44:32 fixed the push mode when a big comment occurs before an internal subset, * parser.c: fixed the push mode when a big comment occurs before an internal subset, should close bug #438835 * test/comment6.xml result//comment6.xml*: added a special test in the regression suite Daniel svn path=/trunk/; revision=3635
Daniel Veillard b9e5acc4 2007-06-12T13:43:00 fix bug #414846 where invalid characters in attributes would sometimes not * parser.c: fix bug #414846 where invalid characters in attributes would sometimes not be detected. * test/errors/attr4.xml result/errors/attr4.xml*: added a specific test case to the regression tests Daniel svn path=/trunk/; revision=3634
Daniel Veillard 2e620865 2007-06-12T08:18:21 fixed bug #366161, trivially added the check in xmlCtxtReset() Daniel * parser.c: fixed bug #366161, trivially added the check in xmlCtxtReset() Daniel svn path=/trunk/; revision=3626
Daniel Veillard 1ca1be2a 2007-05-02T16:50:03 tried to fix an error problem on entity content failure reported by * parser.c: tried to fix an error problem on entity content failure reported by Michael Day Daniel svn path=/trunk/; revision=3613
Daniel Veillard fde5b0b9 2007-02-12T17:31:53 small cleanup to avoid packaging .svn applied patch to avoid a problem in * Makefile.am: small cleanup to avoid packaging .svn * libxml.h threads.c parser.c: applied patch to avoid a problem in concurrent threaded initialization fix from Ted Phelps Daniel svn path=/trunk/; revision=3582
William M. Brack bf9a73d2 2007-02-09T00:07:07 fixed mistake in previous commit (ChangeLog is correct) svn path=/trunk/; revision=3581
William M. Brack d46c1ca3 2007-02-08T23:34:34 added a GROW when parsing complex comments (bug #405666) added a hack to * parser.c: added a GROW when parsing complex comments (bug #405666) * gentest.py, testapi.c: added a hack to prevent destruction of any param with 'destroy' in it's description (i.e. param destroyed by the routine under test, so shouldn't be destroyed by testapi) * xmlreader.c: added freeing of 'input' param even on error svn path=/trunk/; revision=3579
Daniel Veillard 602f2bd0 2006-12-04T09:26:04 patch from Michael Day on standalone and XML declaration detection, and * parser.c include/libxml/tree.h: patch from Michael Day on standalone and XML declaration detection, and associated documentation change Daniel
Daniel Veillard dcec6724 2006-10-15T20:32:53 fix the patch for unreproductable #343000 but also fix a line/column * parser.c: fix the patch for unreproductable #343000 but also fix a line/column keeping error * result/errors/attr1.xml.err result/errors/attr2.xml.err result/errors/name.xml.err result/errors/name2.xml.err result/schemas/anyAttr-processContents-err1_0_0.err result/schemas/bug312957_1_0.err: affected lines in error output of the regression tests Daniel
Daniel Veillard 02a49638 2006-10-13T12:42:31 fix a problem in xmlSplitQName resulting in bug #334669 Daniel * parser.c: fix a problem in xmlSplitQName resulting in bug #334669 Daniel
Daniel Veillard 402b3447 2006-10-13T10:28:21 fixed xmlIOParseDTD handling of @input in error case, Should fix #335085 * parser.c: fixed xmlIOParseDTD handling of @input in error case, Should fix #335085 * testapi.c: reset the http_proxy env variable to not waste time on regression tests Daniel
Daniel Veillard 1114d000 2006-10-12T16:24:35 fixed the heuristic used when trying to detect mixed-content elememts if * parser.c: fixed the heuristic used when trying to detect mixed-content elememts if the parser wants to treat ignorable whitespaces in a non-standard way, should fix bug #300263 Daniel
Daniel Veillard a9557952 2006-10-12T12:53:15 fix a first arg error in SAX callback pointed out by Mike Hommey, and * parser.c: fix a first arg error in SAX callback pointed out by Mike Hommey, and another one still hanging around. Should fix #342737 Daniel
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