|
2af3c2a8
|
2020-06-08T12:49:51
|
|
Fix use-after-free with validating reader
Just like IDs, IDREF attributes must be removed from the document's
refs table when they're freed by a reader. This bug is often hidden
because xmlAttr structs are reused and strings are stored in a
dictionary unless XML_PARSE_NODICT is specified.
Found by OSS-Fuzz.
|
|
106757e8
|
2020-04-10T14:52:03
|
|
Guard new calls to xmlValidatePopElement in xml_reader.c
Closes #154.
|
|
386fb276
|
2020-04-28T17:00:37
|
|
Add LIBXML_VALID_ENABLED to xmlreader
There are already LIBXML_VALID_ENABLED in this file to guard against
"--without-valid" at "./configure" step, but here they were missing.
|
|
20c60886
|
2020-03-08T17:19:42
|
|
Fix typos
Resolves #133.
|
|
c005c7a0
|
2020-02-11T16:35:20
|
|
Stop calling SAX getEntity handler from XMLReader
The getEntity handler was already invoked by xmlParseReference, so it's
useless to call it again. After the recent change, xmlSAX2GetEntity
won't load any kind of entities anyway.
|
|
5c7e0a9a
|
2020-02-11T16:29:30
|
|
Copy some XMLReader option flags to parser context
The parser context stores some options both in the "options" bits and
extra members like "validate" or "replaceEntities". Which of these
are actually read is inconsistent, so make sure to also update the
bit field.
|
|
2a350ee9
|
2019-09-30T17:04:54
|
|
Large batch of typo fixes
Closes #109.
|
|
664f8810
|
2019-09-26T11:01:58
|
|
Fix use-after-free in xmlTextReaderFreeNodeList
Recent commit 1fbcf40 caused a use-after-free read because it didn't
account for the fact that xmlTextReaderFreeDoc frees entities before
freeing entity references via xmlTextReaderFreeNodeList.
Found by OSS-Fuzz.
|
|
1fbcf409
|
2019-09-23T17:13:05
|
|
Make xmlTextReaderFreeNodeList non-recursive
Avoid call stack overflow when freeing deeply nested documents.
Found by OSS-Fuzz.
|
|
6705f4d2
|
2019-09-16T15:45:27
|
|
Remove executable bit from non-executable files
|
|
0571b4e6
|
2019-08-09T15:39:17
|
|
Fix null deref in xmlreader buffer
|
|
8161b463
|
2019-02-28T12:25:05
|
|
Remove debug printf in xmlreader.c
Fixes #46.
|
|
2c8dc715
|
2019-02-25T12:00:50
|
|
Fix null pointer dereference in xmlTextReaderReadOuterXml
Fix a regression caused by commit 39fbfb4f. If xmlTextReaderReadOuterXml
is called on a pristine xmlReader, the current node is NULL and must not
be dereferenced. Move the call to xmlTextReaderExpand to the start of
the function to make sure that we have a valid node.
Fixes #43.
|
|
26828cb3
|
2019-01-07T16:52:42
|
|
Fix commit "Memory leak in xmlFreeID (xmlreader.c)"
The recent commit "Memory leak in xmlFreeID (xmlreader.c)" introduced
a double-free.
|
|
157cd3ae
|
2018-11-24T15:46:00
|
|
Fix NULL pointer deref in xmlTextReaderValidateEntity
Found by OSS-Fuzz.
|
|
57a3af56
|
2018-11-24T12:14:55
|
|
Memory leak in xmlFreeTextReader
In error cases, there might still be elements in the vstate table.
Since vstateVPop in valid.c is private, we have to pop the elements
with xmlValidatePopElement. This inspects nodes of the document, so
the reader doc must be freed after the clearing the vstate table.
Found by OSS-Fuzz.
|
|
efe8c093
|
2018-11-24T11:39:32
|
|
Memory leak in xmlFreeID (xmlreader.c)
Fix a memory leak in xmlReader's private copy of xmlFreeID. Only
affects validation with NODICT.
Found by OSS-Fuzz.
|
|
6fc04d71
|
2018-11-23T22:56:03
|
|
Revert "Support xmlTextReaderNextSibling w/o preparsed doc"
This reverts commit bfec41b3de1cbd35e547b57c80ae3a5101f8891c which
caused problems with the XML::LibXML Perl bindings.
https://mail.gnome.org/archives/xml/2018-November/msg00010.html
|
|
c7461f65
|
2018-11-03T21:19:13
|
|
reader: Fix documentation comment
|
|
39fbfb4f
|
2018-09-25T12:57:04
|
|
Use actual doc in xmlTextReaderRead*Xml
Otherwise the encoding of the document is ignored and non-ASCII
characters are serialized as numeric references even if the encoding
is specified as UTF-8.
|
|
bfec41b3
|
2018-06-23T12:14:28
|
|
Support xmlTextReaderNextSibling w/o preparsed doc
This implements missing support for readers that are not based on a
preparsed document in xmlTextReaderNextSibling.
|
|
d2ef114c
|
2018-06-23T13:08:46
|
|
Fix xmlTextReaderNext with preparsed document
This fixes the traversal of parent nodes using xmlTextReaderNext()
when the reader is based on a preparsed document (created using
xmlReaderWalker(doc)).
Without this fix the parser will abort even though there are parent
nodes it should traverse to, if it is not currently on an element or
attribute node. This is incorrect, since it can be for example on a
text node when it needs to enter backtracking.
|
|
e03f0a19
|
2017-11-09T16:42:47
|
|
Fix hash callback signatures
Make sure that all parameters and return values of hash callback
functions exactly match the callback function type. This is required
to pass clang's Control Flow Integrity checks and to allow compilation
to asm.js with Emscripten.
Fixes bug 784861.
|
|
5a0ae66d
|
2017-06-17T23:20:38
|
|
Documentation fixes
Fixes bug 347465, bug 599433, bug 624550, bug 698253.
|
|
4472c3a5
|
2016-05-13T15:13:17
|
|
Fix some format string warnings with possible format string vulnerability
For https://bugzilla.gnome.org/show_bug.cgi?id=761029
Decorate every method in libxml2 with the appropriate
LIBXML_ATTR_FORMAT(fmt,args) macro and add some cleanups
following the reports.
|
|
bb654feb
|
2016-04-13T16:56:07
|
|
Fix typos: dictio{ nn -> n }ar{y,ies}
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
213f1fe0
|
2015-04-14T17:41:48
|
|
CVE-2015-1819 Enforce the reader to run in constant memory
One of the operation on the reader could resolve entities
leading to the classic expansion issue. Make sure the
buffer used for xmlreader operation is bounded.
Introduce a new allocation type for the buffers for this effect.
|
|
91309d3a
|
2014-10-06T20:07:19
|
|
Pointer dereferenced before null check
For https://bugzilla.gnome.org/show_bug.cgi?id=707027
A few pointer dereference before NULL check fixed.
Removed a useless test
|
|
d319eb92
|
2014-10-06T12:24:17
|
|
Fix Enum check and missing break
for https://bugzilla.gnome.org/show_bug.cgi?id=737403
In file xmlreader.c
1. An enum is checked to proper value instead of checking like a boolean.
2. Missing break statement added.
|
|
0f7a26d8
|
2013-12-12T15:04:43
|
|
Improve va_list portability
Support for va_list declared as an array (cannot be referenced
explicitly)
|
|
eea38159
|
2013-01-28T16:55:30
|
|
Cleanup on duplicate test expressions
As pointed out by Thomas Jarosch <thomas.jarosch@intra2net.com>
Daniel
|
|
fb27e2cd
|
2012-09-28T08:59:33
|
|
Fix spelling of "length".
|
|
f8e3db04
|
2012-09-11T13:26:36
|
|
Big space and tab cleanup
Remove all space before tabs and space and tabs at end of lines.
|
|
97fa5b3c
|
2012-08-14T11:01:07
|
|
Fix file and line report for XSD SAX and reader streaming validation
Things now work correctly at the xmllint level:
thinkpad:~/XML -> xmllint --sax --noout --schema test_schema.xsd
test_xml.xml
test_xml.xml:72721: Schemas validity error : Element 'level1': Missing
child element(s). Expected is ( level2 ).
test_xml.xml fails to validate
thinkpad:~/XML -> xmllint --stream --schema test_schema.xsd test_xml.xml
test_xml.xml:72721: Schemas validity error : Element 'level1': Missing
child element(s). Expected is ( level2 ).
test_xml.xml fails to validate
thinkpad:~/XML ->
* error.c: fix a corner case of not reporting lines when we should
* include/libxml/xmlschemas.h doc/symbols.xml: had to add new entry
points to set the filename on a validation context and a locator
callback used to fetch the line and file from the context
* xmlschemas.c: add the new entry points xmlSchemaValidateSetFilename()
and xmlSchemaValidateSetLocator(), plus make sure the error reporting
routine gets the information if available. Add a locator for SAX.
* xmlreader.c: add and plug a locator for readers.
|
|
3e62adbe
|
2012-08-09T14:24:02
|
|
Adding various checks on node type though the API
Specifially checking against namespace nodes before accessing node
pointers
|
|
61551a1e
|
2012-07-16T16:28:47
|
|
Cleanup function xmlBufResetInput() to set input from Buffer
This was scattered in a number of modules, xmlParserInputPtr
have usually their base, cur and end pointer set from an
xmlBuf used as input.
* buf.c buf.h: add a new function implementing this setup
* parser.c HTMLparser.c catalog.c parserInternals.c xmlreader.c
use the new function instead of digging into the buffer in
all those modules
|
|
8aebce3e
|
2012-07-16T14:42:31
|
|
Convert XMLReader to the new input buffers
A few direct access were replaced, and also one internal
xmlBuffer structure is converted to use xmlBuf instead
|
|
c508fa3f
|
2012-07-18T17:39:56
|
|
Fix a failure to report xmlreader parsing failures
Related to https://bugzilla.gnome.org/show_bug.cgi?id=654567
the problem is that the provided patch failed to raise an error
on xmlTextReaderRead() return when an actual parsing error occured
|
|
9d9685ad
|
2012-05-15T20:10:25
|
|
xmlTextReader bails too quickly on error
For https://bugzilla.gnome.org/show_bug.cgi?id=654567
I use xmlTextReader to parse failed that might be incomplete. These files are
the beginning of a well-formed file, but the end is missing so the file as a
whole is not well-formed.
The problem is that xmlTextReader starts returning errors when it encounters
the early EOF, even though I haven't finished reading all of the valid data in
the file. It would be helpful if xmlTextReader kept working until the very
end.
|
|
2c437da7
|
2012-05-11T12:08:15
|
|
Fix a wrong return value in previous patch
|
|
24464be6
|
2012-05-10T16:14:55
|
|
Avoid memory leak if xmlParserInputBufferCreateIO fails
For https://bugzilla.gnome.org/show_bug.cgi?id=643949
In case of error on an IO creation input the given context
is terminated with the given close function, except if the
error happened in xmlParserInputBufferCreateIO. This can
lead to a resource leak which is fixed by this patch.
|
|
15794990
|
2012-03-19T16:08:16
|
|
add function xmlTextReaderRelaxNGValidateCtxt()
Since there is xmlTextReaderSchemaValidateCtxt() it seems like there
should be an equivalent RelaxNG function. The attached patch adds it.
The code is essentially the same as Schema implementation, but I'm
uncertain as to how to add things to the documentation and test suite:
there seems to be a lot of auto-generation going on.
|
|
5b9dde3e
|
2010-05-05T07:59:44
|
|
xmlTextReaderReadOuterXml should handle DTD
* xmlreader.c: fix description of xmlTextReaderReadOuterXml and support DTD
|
|
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
|
|
f4653dcd
|
2009-08-21T18:40:50
|
|
447899 potential double free in xmlFreeTextReader
* xmlreader.c: a document may still be referenced by fakenode,
just free fakenode before freeing the document.
|
|
aacc2a24
|
2009-08-11T18:31:42
|
|
560524 – xmlTextReaderLocalName description
* xmlreader.c: document all functions returning xmlChar * that they
need to free the result, and some space/tabs cleanups
|
|
7e65fad1
|
2008-09-25T14:55:21
|
|
patch from Riccardo Scussat fixing custom error handlers problems. daniel
* xmlreader.c: patch from Riccardo Scussat fixing custom error
handlers problems.
daniel
svn path=/trunk/; revision=3795
|
|
bfa5cf1c
|
2008-08-27T15:33:28
|
|
add an --with-coverage configure option and a 'make cov' target based on
* configure.in Makefile.am: add an --with-coverage configure option
and a 'make cov' target based on gcc profiling and the lcov
tool. Currently at 68.9% coverage out of 'make check' and
runsuite executions.
* xmlreader.c: remove warnings due to C++ comments
Daniel
svn path=/trunk/; revision=3780
|
|
aa6de47e
|
2008-08-25T14:53:31
|
|
applied patch from Aswin to fix tree skipping fixed a comment and added a
* xmlreader.c: applied patch from Aswin to fix tree skipping
* include/libxml/entities.h entities.c: fixed a comment and
added a new xmlNewEntity() entry point
* runtest.c: be less verbose
* tree.c: space and tabs cleanups
daniel
svn path=/trunk/; revision=3774
|
|
354cf5c7
|
2008-04-07T12:46:48
|
|
fix a link to XmlNodeType doc reported by Martijn Arts rebuilt Daniel
* xmlreader.c: fix a link to XmlNodeType doc reported by Martijn Arts
* docs/*: rebuilt
Daniel
svn path=/trunk/; revision=3732
|
|
14dad705
|
2008-03-14T14:29:40
|
|
patch from Ashwin removing duplicate tests Daniel
* xmlreader.c: patch from Ashwin removing duplicate tests
Daniel
svn path=/trunk/; revision=3708
|
|
0c1e3011
|
2007-03-14T12:40:21
|
|
corrected small error in last commit corrected small typo in last commit
* configure.in: corrected small error in last commit
* xmlreader.c: corrected small typo in last commit
svn path=/trunk/; revision=3591
|
|
a9c5677c
|
2007-03-09T16:59:05
|
|
applied patch from Julien Reichel cleaning up mode and state internal
* xmlreader.c: applied patch from Julien Reichel cleaning up mode
and state internal flags mixups
Daniel
svn path=/trunk/; revision=3588
|
|
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
|
|
e96b47fd
|
2007-01-04T17:28:35
|
|
fix xmlTextReaderSetup() description tests which were apparently never
* xmlreader.c: fix xmlTextReaderSetup() description
* test/relaxng/empty1.rng test/relaxng/comps_0.xml
test/relaxng/empty1_0.xml test/relaxng/comps.rng
test/relaxng/empty0.rng test/relaxng/empty0_0.xml
test/relaxng/empty1_1.xml: tests which were apparently
never commited to CVS
Daniel
svn path=/trunk/; revision=3572
|
|
d8377640
|
2007-01-03T23:13:12
|
|
expose xmlTextReaderSetup function
svn path=/trunk/; revision=3571
|
|
11ce4004
|
2006-03-10T00:36:23
|
|
end of first pass on coverity reports. Daniel
* runtest.c schematron.c testAutomata.c tree.c valid.c xinclude.c
xmlcatalog.c xmlreader.c xmlregexp.c xpath.c: end of first
pass on coverity reports.
Daniel
|
|
d0271473
|
2006-01-02T10:22:02
|
|
compilation and doc build fixes from Michael Day Daniel
* xmlreader.c include/libxml/xmlreader.h xmlschemas.c: compilation
and doc build fixes from Michael Day
Daniel
|
|
bc4cc9da
|
2005-12-12T13:26:56
|
|
Gary Coady pointed a memory leak in xmlTextReaderReadInnerXml() applied
* xmlreader.c: Gary Coady pointed a memory leak in
xmlTextReaderReadInnerXml() applied patch fixing #323864
Daniel
|
|
bdadaedd
|
2005-12-07T14:02:42
|
|
Added xmlTextReaderSchemaValidateCtxt() to the API.
* xmlreader.c include/libxml/xmlreader.h: Added
xmlTextReaderSchemaValidateCtxt() to the API.
|
|
42ca6734
|
2005-12-06T22:21:46
|
|
small doc patch from Aron Stansvik another doc patch for a deprecated API
* xmlreader.c: small doc patch from Aron Stansvik
* legacy.c: another doc patch for a deprecated API
Daniel
|
|
47fffb40
|
2005-09-22T11:14:43
|
|
fixing leak in xmlTextReaderReadString() #316924 daniel
* xmlreader.c: fixing leak in xmlTextReaderReadString() #316924
daniel
|
|
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
|
|
45b97e72
|
2005-08-20T21:14:28
|
|
applied another patch from Rob Richards to fix xmlTextReaderGetAttributeNs
* xmlreader.c: applied another patch from Rob Richards to fix
xmlTextReaderGetAttributeNs and xmlTextReaderMoveToAttributeNs
Daniel
|
|
3c40e61b
|
2005-08-17T07:07:44
|
|
applied patch from Rob Richards to fix xmlTextReaderGetAttribute behaviour
* xmlreader.c: applied patch from Rob Richards to fix
xmlTextReaderGetAttribute behaviour with namespace declarations
Daniel
|
|
c4ff8327
|
2005-08-08T07:45:23
|
|
applied patch from Rob Richards fixing xmlTextReaderGetAttribute Daniel
* xmlreader.c: applied patch from Rob Richards fixing
xmlTextReaderGetAttribute
Daniel
|
|
75e389d4
|
2005-07-29T22:02:24
|
|
more cleanups based on sparse reports, added "make sparse" Daniel
* Makefile.am globals.c parserInternals.c xmlreader.c xmlunicode.c
xmlwriter.c: more cleanups based on sparse reports, added
"make sparse"
Daniel
|
|
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
|
|
da0aa4cf
|
2005-07-13T23:07:49
|
|
applied patch from Marcus Boerger to route relaxng and schemas error
* error.c relaxng.c xmlreader.c xmlschemas.c include/libxml/relaxng.h
include/libxml/xmlschemas.h: applied patch from Marcus Boerger
to route relaxng and schemas error messages when using the reader
through the structured interface if activated.
* elfgcchack.h doc/* testapi.c: rebuilt since this add new APIs
to test.
Daniel
|
|
f10ae12c
|
2005-07-10T19:03:16
|
|
fixed a typo pointed by Jeroen Ruigrok increased the APIs for xmlReader
* doc/xmllint.1 doc/xmllint.html doc/xmllint.xml: fixed a typo
pointed by Jeroen Ruigrok
* include/libxml/xmlreader.h include/libxml/xmlschemas.h: increased
the APIs for xmlReader schemas validation support
* xmllint.c xmlreader.c xmlschemas.c: xmlReader schemas validation
implementation and testing as xmllint --stream --schema ...
Daniel
|
|
da6f4af3
|
2005-06-20T17:17:54
|
|
applied patch from Rob Richards for removal of ID (and xml:id) applied
* tree.c valid.c: applied patch from Rob Richards for removal
of ID (and xml:id)
* xmlreader.c: applied patch from James Wert implementing
xmlTextReaderReadInnerXml and xmlTextReaderReadOuterXml
Daniel
|
|
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
|
|
5963aa79
|
2005-03-10T12:23:24
|
|
applied fix for xmlTextReaderNext() bug from Rob Richards Daniel
* xmlreader.c: applied fix for xmlTextReaderNext() bug from
Rob Richards
Daniel
|
|
5e094143
|
2005-02-18T19:36:12
|
|
applied patch from Aron Stansvik to add xmlTextReaderByteConsumed() added
* xmlreader.c include/libxml/xmlreader.h: applied patch from
Aron Stansvik to add xmlTextReaderByteConsumed()
* testReader.c: added a test option
* xmlschemastypes.c: fix a lack of pointer checking in APIs
Daniel
|
|
e125b316
|
2005-01-28T17:39:49
|
|
implementation of xmlTextReaderReadString by Bjorn Reese Daniel
* xmlreader.c: implementation of xmlTextReaderReadString by
Bjorn Reese
Daniel
|
|
f6b71bd1
|
2005-01-04T17:50:14
|
|
making DSO support an option code and documentation cleanups regenerated
* configure.in: making DSO support an option
* xmlmodule.c xmlreader.c include/libxml/xmlmodule.h: code
and documentation cleanups
* elfgcchack.h testapi.c doc/*: regenerated the docs and
checks for new module
* test/valid/REC-xml-19980210.xml: fix a small change introduced
previously
Daniel
|
|
d671e286
|
2005-01-03T21:58:59
|
|
GetLineNumber and GetColumnNumber functions for xmlReader
|
|
6bb3e86d
|
2004-11-24T12:39:00
|
|
added xmlDictExists() to the dictionnary interface. applying
* dict.c include/libxml/dict.h: added xmlDictExists() to the
dictionnary interface.
* xmlreader.c: applying xmlTextReaderHasAttributes fix for namespaces
from Rob Richards
Daniel
|
|
d5cc0f7f
|
2004-11-06T19:24:28
|
|
augmented types supported a number of new bug fixes and documentation
* gentest.py testapi.c: augmented types supported
* HTMLtree.c tree.c xmlreader.c xmlwriter.c: a number of new
bug fixes and documentation updates.
Daniel
|
|
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
|
|
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
|
|
e2811270
|
2004-10-19T09:04:23
|
|
applied patch from Graham Bennett adding 4 convenience functions to the
* include/libxml/xmlreader.h xmlreader.c: applied patch from
Graham Bennett adding 4 convenience functions to the reader API.
Daniel
|
|
c14c3892
|
2004-08-16T12:34:50
|
|
added help for new set shell command added parser option to not generate
* debugXML.c: added help for new set shell command
* xinclude.c xmllint.c xmlreader.c include/libxml/parser.h:
added parser option to not generate XInclude start/end nodes,
added a specific option to xmllint to test it fixes #130769
* Makefile.am: regression test the new feature
* doc/xmllint.1 doc/xmllint.xml: updated man page to document option.
Daniel
|
|
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.
|
|
42331a90
|
2004-07-29T07:07:16
|
|
further fixes for out of memory condition, mostly from Olivier Andrieu.
* SAX2.c, tree.c, uri.c, xmlIO.c, xmlreader.c: further
fixes for out of memory condition, mostly from Olivier
Andrieu.
* testOOM.c: some further improvement by Olivier, with
a further small enhancement for easier debugging.
|
|
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
|
|
1af55583
|
2004-07-22T17:18:00
|
|
fixed problem with reader state after processing attributes (bug 147993)
* xmlreader.c: fixed problem with reader state after
processing attributes (bug 147993)
|
|
8165a6b1
|
2004-07-01T11:20:33
|
|
seems the reader buffer could be used while not allocated, fixes bug
* xmlreader.c: seems the reader buffer could be used while not
allocated, fixes bug #145218
Daniel
|
|
4a14fb8f
|
2004-06-14T19:58:20
|
|
fix from Steve Ball and update of the comment. William pointed out that
* xmlreader.c: fix from Steve Ball and update of the comment.
* Makefile.am result/errors/*.str: William pointed out that
the streaming error checking part wasn't streaming, fixing
Daniel
|
|
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
|
|
a2d51fc3
|
2004-04-30T22:25:59
|
|
fixing bug #141384 where the reader didn't call the deregistering
* xmllint.c xmlreader.c: fixing bug #141384 where the reader didn't
call the deregistering functions. Also added the check to
xmllint --stream --chkregister .
Daniel
|
|
6f379a7b
|
2004-04-29T18:45:42
|
|
never commit without running make tests first ! Daniel
* xmlreader.c: never commit without running make tests first !
Daniel
|
|
e2161a69
|
2004-04-29T17:14:25
|
|
fix a nasty problem with reading over the end fix a reported memory leak
* xmlreader.c: fix a nasty problem with reading over the end
* xmlsave.c: fix a reported memory leak apparently
Daniel
|
|
da0ff5da
|
2004-04-20T09:45:26
|
|
Johnson Cameron pointed out that initGenericErrorDefaultFunc() was really
* error.c: Johnson Cameron pointed out that
initGenericErrorDefaultFunc() was really wrong.
* xmlreader.c include/libxml/xmlreader.h: xmlTextReaderMode enum
must be made public, added some missing comments on the XMLReader
header.
* c14n.c: Alexsey fixed C14N bug with processing namespaces
from attributes
Daniel
|
|
ee1d6926
|
2004-04-18T14:58:57
|
|
keep the ChangeLog compressed fix a segfault when using Close() test for
* libxml.spec.in: keep the ChangeLog compressed
* xmlreader.c: fix a segfault when using Close()
* python/tests/Makefile.am python/tests/reader8.py: test for
the Close() reader API.
Daniel
|
|
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
|
|
f54cd533
|
2004-02-25T11:52:31
|
|
fixing compilation and link option when configuring with --without-valid
* debugXML.c relaxng.c valid.c xinclude.c xmllint.c xmlreader.c:
fixing compilation and link option when configuring with
--without-valid should fix #135309
Daniel
|
|
21924520
|
2004-02-19T16:37:07
|
|
fixed xmllint --memory --stream memory consumption on large file by using
* xmlreader.c: fixed xmllint --memory --stream memory consumption
on large file by using xmlParserInputBufferCreateStatic() with
the mmap'ed file
Daniel
|
|
31ae462a
|
2004-02-16T07:45:44
|
|
updating the benchmark graph and using a PNG instead of a GIF updated the
* benchmark.png index.html xml.html: updating the benchmark
graph and using a PNG instead of a GIF
* xmlreader.c: updated the TODO
Daniel
|