|
c794eb5b
|
2011-02-18T12:17:17
|
|
Fix memory corruption
when xmlParseBalancedChunkMemoryInternal is called from xmlParseBalancedChunk
|
|
48f7dcb7
|
2010-11-04T17:42:42
|
|
480323 add code to plug in ICU converters by default
This is not configured in by default but after some serious massaging
incorporate that patch from Chromium/Chrome.
|
|
60587d6e
|
2010-11-04T15:16:27
|
|
606592 update language ID parser to RFC 5646
Mostly except we keep support for some older constructs and
don't implement extension or privateuse. It's messy because
it's used mostly by XSD datatype which itself reference RFC 3066
and suggests a lexical space completely different from what
5646 defines.
|
|
e6ad10a5
|
2010-11-01T11:35:14
|
|
Cleanup encoding pointer comparison
* parser.c: Compare encoding pointer with a NULL instead of
xmlCharEncoding enum value 0 then casted to char * !
|
|
e6f05099
|
2010-10-15T19:50:03
|
|
Fix a potential segfault due to weak symbols on pthreads
In xmlInitParser, both __xmlGlobalInitMutexLock and xmlInitGlobals are
called before xmlInitThreads, and both use pthread symbols.
__xmlGlobalInitMutexLock does so directly, without checking if the symbol
exists, and xmlInitGlobals calls xmlNewMutex, which correctly depends on
libxml_is_threaded... except libxml_is_threaded is still -1 by then...
And again, when releasing the global mutex in __xmlGlobalInitMutexUnlock,
the pthread function is called directly.
The patch changes the initialization order and make sure the functions
are available before calling them
|
|
ba9716a1
|
2010-03-15T10:13:29
|
|
ChunkParser: Incorrect decoding of small xml files
if encoding was autodetected, in xmlParseChunk, if initial size is 86 (a
chunk in UTF-16 encoding), the code that tries to read only the first line
will set the size to 90, which eventually leads to a memmove of 90 bytes
(in xmlBufferAdd) which will copy extra random memory bytes, which will
make the parser to fail because of these extra bytes.
|
|
47cd14e8
|
2010-02-04T18:49:01
|
|
Fix encoding selection for xmlParseInNodeContext
* parser.c: use the encoding from the document to parse the chunk
|
|
59df7834
|
2010-02-02T10:24:01
|
|
608773 add a missing check in xmlGROW
* parser.c: check that the input buffer is non null before dereferencing it
|
|
e20fb5a7
|
2010-01-29T20:47:08
|
|
Fix xmlParseInNodeContext for HTML content
xmlParseInNodeContext notices that the enclosing document is
an HTML document, so invoke the HTML parser for that fragment, and
the HTML parser finding a "<p>hello world!</p>" document automatically
augment it with defaulted <html> and <body>. This defaulting should
be turned off in the HTML parser for this to work, but there is no
such HTML parser option. There is an htmlOmittedDefaultValue global
variable that you could use, but really we should not rely on global
variable for processing options anymore, best is to add an
HTML_PARSE_NOIMPLIED.
* include/libxml/HTMLparser.h: add the HTML_PARSE_NOIMPLIED parser flag
* HTMLparser.c: do add implied element if HTML_PARSE_NOIMPLIED is set
* parser.c: add HTML_PARSE_NOIMPLIED to options for xmlParseInNodeContext
on HTML documents
|
|
73046833
|
2010-01-19T15:38:05
|
|
Correct variable type to unsigned
* parser.c: fix len sign in xmlParseChunk()
|
|
9d3d141c
|
2009-09-15T18:41:30
|
|
Fix a parsing problem with little data at startup
* parser.c: inkscape extension loader (and possibly others) feed
data to the parser very slowly, 0 at start, 4 bytes on first GROW
and this broke after the fix for
https://bugzilla.gnome.org/show_bug.cgi?id=566012
http://git.gnome.org/cgit/libxml2/commit/?id=7e385bd4e28a0cc12b6b26ed178c620e3c3ab8d8
leading to another bug
https://bugzilla.redhat.com/show_bug.cgi?id=523002
this detects the situation and GROW when needed for proper processing.
|
|
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)
|
|
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
|
|
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
|
|
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.
|
|
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()
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
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
|
|
53c32edf
|
2009-08-21T15:20:55
|
|
Rebuilt the API and regenerated docs
|
|
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
|
|
f39eafaa
|
2009-08-20T19:15:08
|
|
Make xmlRecoverDoc const (Martin Trappel)
* include/libxml/parser.h parser.c: just make the parameter a const
|
|
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
|
|
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
|
|
44af232c
|
2009-07-09T09:02:11
|
|
Fix ChangeLog merge conflict
|
|
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
|
|
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
|
|
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
|
|
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
|
|
2c8c772d
|
2009-04-29T10:09:05
|
|
* parser.c: do not set error code in xmlNsWarn
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
40e4b216
|
2007-06-12T14:46:40
|
|
Probably needed too to avoid the same problem on PIs, Daniel
svn path=/trunk/; revision=3636
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
bf9a73d2
|
2007-02-09T00:07:07
|
|
fixed mistake in previous commit (ChangeLog is correct)
svn path=/trunk/; revision=3581
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
b20c63a2
|
2006-01-04T17:08:46
|
|
tiny refactoring patch from Bjorn Reese Daniel
* parser.c: tiny refactoring patch from Bjorn Reese
Daniel
|
|
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
|