|
19cae17f
|
2020-08-19T13:07:28
|
|
Revert "Fix quadratic runtime in xi:fallback processing"
This reverts commit 27119ec33c9f6b9830efa1e0da0acfa353dfa55a.
Not copying fallback children didn't fix up namespaces and could lead
to use-after-free errors.
Found by OSS-Fuzz.
|
|
d63cfeca
|
2020-08-17T15:40:06
|
|
Add TODO comment in xinclude.c
Add some thoughts on the major remaining problems with the XInclude
implementation.
|
|
74dcc10b
|
2020-08-17T03:24:56
|
|
Remove dead code in xinclude.c
'doc' is checked for NULL in xmlXIncludeLoadDoc, so several code
paths can be eliminated.
|
|
d88df4bd
|
2020-08-16T23:38:48
|
|
Fix corner case with empty xi:fallback
xi:fallback could become empty after recursive expansion. Use a flag
to track whether nodes should be skipped.
|
|
dba82a8c
|
2020-08-16T23:02:20
|
|
Fix XInclude regression introduced with recent commit
The change to xmlXIncludeLoadFallback in commit 11b57459 could
process already freed nodes if text nodes were merged after deleting
nodes with an empty fallback.
Found by OSS-Fuzz.
|
|
2c747129
|
2020-08-17T00:54:12
|
|
Fix error reporting with xi:fallback
When reporting errors, don't use href of xi:include if xi:fallback
was used. I think this can only be reproduced with
"xmllint --postvalid", see the original bug report:
https://bugzilla.gnome.org/show_bug.cgi?id=152623
|
|
27119ec3
|
2020-08-17T00:05:19
|
|
Fix quadratic runtime in xi:fallback processing
Copying the tree would lead to runtime quadratic in nested fallback
depth, similar to naive string concatenation.
|
|
6c128fd5
|
2020-06-05T13:43:45
|
|
Fuzz XInclude engine
|
|
1abf2967
|
2020-08-06T17:51:57
|
|
Fix exponential runtime and memory in xi:fallback processing
When creating XML_XINCLUDE_START nodes, the children of the original
xi:include node must be freed, otherwise fallback content is copied
twice, doubling runtime and memory consumption for each nested
xi:fallback/xi:include pair.
Found with libFuzzer.
|
|
11b57459
|
2020-08-07T18:39:19
|
|
Don't process siblings of root in xmlXIncludeProcess
xmlXIncludeDoProcess would follow the siblings of the tree root and
also expand these nodes. When using an XML reader, this could lead to
siblings of the current node being expanded without having been parsed
completely.
|
|
0f9817c7
|
2020-06-10T16:34:52
|
|
Don't recurse into xi:include children in xmlXIncludeDoProcess
Otherwise, nested xi:include nodes might result in a use-after-free
if XML_PARSE_NOXINCNODE is specified.
Found with libFuzzer and ASan.
|
|
5725c115
|
2020-06-10T15:11:40
|
|
Fix memory leak in xmlXIncludeIncludeNode error paths
Found with libFuzzer and ASan.
|
|
ff009f99
|
2020-05-30T15:32:25
|
|
Fix memory leak in xmlXIncludeLoadDoc error path
Found by OSS-Fuzz.
|
|
20c60886
|
2020-03-08T17:19:42
|
|
Fix typos
Resolves #133.
|
|
2a350ee9
|
2019-09-30T17:04:54
|
|
Large batch of typo fixes
Closes #109.
|
|
e91cbcf6
|
2019-09-20T12:44:17
|
|
Don't read external entities or XIncludes from stdin
The file input callbacks try to read from stdin if "-" is passed as URL.
This should never be done when loading indirect resources like external
entities or XIncludes. Unfortunately, the stdin substitution happens
deep inside the IO code, so we simply replace "-" with "./-" in specific
locations.
This issue also affects other users of the library like libxslt.
Ideally, stdin should only be substituted on explicit request. But more
intrusive changes could break existing code.
Closes #90 and #102.
|
|
e32afd3f
|
2019-09-13T15:45:21
|
|
Fix error message when processing XIncludes with fallbacks
Fixes bug #616491
https://bugzilla.gnome.org/show_bug.cgi?id=616491
Based on merge request !41
|
|
a6a57867
|
2019-08-13T20:08:53
|
|
Fix memory leak in xmlXIncludeLoadTxt
|
|
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.
|
|
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.
|
|
41586ca6
|
2013-06-17T13:01:33
|
|
Fix compilation with minimum and xinclude.
xinclude needs xmlAddNextSibling().
Compile out use of xmlLocationSetPtr when xptr is disabled.
Include xpath header.
|
|
0b86537d
|
2013-05-06T10:20:18
|
|
Remove premature XInclude check on URI being relative
As it gives false negatives, see
https://mail.gnome.org/archives/xml/2013-April/msg00023.html
|
|
f8e3db04
|
2012-09-11T13:26:36
|
|
Big space and tab cleanup
Remove all space before tabs and space and tabs at end of lines.
|
|
dce1c8ba
|
2012-08-17T20:42:52
|
|
Patch for xinclude of text using multibyte characters
for bug https://bugzilla.gnome.org/show_bug.cgi?id=633166
When you xinclude a text file, reading portions (by 4000 bytes) of the
buffer incorrectly handled the situation when the end comes across
portions of the bytes in a multibyte character.
|
|
3e62adbe
|
2012-08-09T14:24:02
|
|
Adding various checks on node type though the API
Specifially checking against namespace nodes before accessing node
pointers
|
|
345ee8b6
|
2012-07-16T14:40:37
|
|
Convert XInclude to the new input buffers
A few xmlBuffer...() calls changed to their xmlBuf...() counterparts
|
|
4cf7325e
|
2012-05-10T20:59:33
|
|
xinclude with parse="text" does not use the entity loader
For https://bugzilla.gnome.org/show_bug.cgi?id=552479
The code for xinclude parse="text" was not using the registered
entity loader, defeating attempts to control loading of files.
|
|
06c93b75
|
2010-03-15T16:08:44
|
|
Remove a few warnings
|
|
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)
|
|
cb6f525f
|
2009-08-25T19:24:15
|
|
584220 xpointer(/) and xinclude problems
* xinclude.c: xpointer(/) in xinclude could lead to sub-document nodes
and also fixed the code to inherit the dictionary from the embedding
document
|
|
b9590e9c
|
2009-08-24T19:45:54
|
|
440226 Add xmlXIncludeProcessTreeFlagsData API
* xinclude.c include/libxml/xinclude.h: new function similar to
xmlXIncludeProcessFlagsData but operating on a subtree
|
|
54bd29b7
|
2008-08-26T07:26:55
|
|
patch based on Wieant Nielander contribution to add the option of not
* include/libxml/parser.h xinclude.c xmllint.c: patch based on
Wieant Nielander contribution to add the option of not doing
URI base fixup in XInclude
Daniel
svn path=/trunk/; revision=3775
|
|
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
|
|
b242b088
|
2008-02-08T09:56:31
|
|
applied patch from Florent Guilian to remove an useless mutex in the
* dict.c: applied patch from Florent Guilian to remove an
useless mutex in the xmlDict structure.
older, not commited ...
* SAX2.c: another leak reported by Ashwin
* xinclude.c: fixed the behaviour when XIncluding a fragment
of the current document, patch from Chris Ryan
Daniel
svn path=/trunk/; revision=3686
|
|
b0a94e8b
|
2007-07-18T18:04:55
|
|
applied patch from bug #454608 from Patrik Fimml. Fixes bug #454608.
* xinclude.c: applied patch from bug #454608 from Patrik Fimml.
Fixes bug #454608.
svn path=/trunk/; revision=3644
|
|
53ce98cd
|
2007-02-13T00:37:20
|
|
fixed problem with invalid char encountered during text include (reported
* xinclude.c: fixed problem with invalid char encountered during text include (reported on xslt mailing list)
svn path=/trunk/; revision=3583
|
|
a658582e
|
2006-12-04T09:21:28
|
|
anothe XInclude user data propagation patch from Michael Day Daniel
* xinclude.c: anothe XInclude user data propagation patch from
Michael Day
Daniel
|
|
681e904e
|
2006-09-29T09:16:00
|
|
fixed a comment applied a patch from Michael Day to add a new function
* xmlsave.c: fixed a comment
* xinclude.c include/libxml/xinclude.h: applied a patch from Michael Day
to add a new function providing the _private field for the generated
parser contexts xmlXIncludeProcessFlagsData()
Daniel
|
|
bf630c0d
|
2006-06-06T08:21:41
|
|
fix bug #343968, include='text' can't lead to a recursion. Daniel
* xinclude.c: fix bug #343968, include='text' can't lead to a
recursion.
Daniel
|
|
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
|
|
e0fd93f5
|
2005-08-10T13:39:10
|
|
fixed bug #302302, nasty but the fix is rather simple. Daniel
* xinclude.c: fixed bug #302302, nasty but the fix is rather simple.
Daniel
|
|
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
|
|
0b13a091
|
2005-06-01T03:37:59
|
|
Enhanced handling of xml:base for included elements, fixing bugs 169209
* xinclude.c: Enhanced handling of xml:base for included
elements, fixing bugs 169209 and 302353.
|
|
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
|
|
a22da299
|
2005-02-12T01:08:22
|
|
fixed xmlXIncludeParseFile to prevent overwriting XML_COMPLETE_ATTRS when
* xinclude.c: fixed xmlXIncludeParseFile to prevent
overwriting XML_COMPLETE_ATTRS when setting pctxt->loadsubset
(bug 166199)
* Makefile.am, python/tests/Makefile.am, xstc/Makefile.am: added
code to add $(top_builddir)/.libs to LD_LIBRARY_PATH whenever
PYTHONPATH is set, to assure new libxml2 routines are used.
|
|
ce244ad5
|
2004-11-05T10:03:46
|
|
fixed the way the generator works, extended the testing, especially with
* gentest.py testapi.c: fixed the way the generator works,
extended the testing, especially with more real trees and nodes.
* HTMLtree.c tree.c valid.c xinclude.c xmlIO.c xmlsave.c: a bunch
of real problems found and fixed.
* entities.c: fix error reporting to go through the new handlers
Daniel
|
|
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
|
|
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
|
|
b85c9205
|
2004-07-26T00:20:13
|
|
added some code to check, when an include is done, whether the requested
* xinclude.c: added some code to check, when an include is
done, whether the requested URL gets mapped to some other
location (e.g. with a catalog entry) and, if so, take care
of the xml:base properly (bug 146988)
|
|
abf598b5
|
2004-06-08T02:01:28
|
|
some further enhancement to take care of xml:base for XPointer elements
* xinclude.c: some further enhancement to take care of
xml:base for XPointer elements (bug 143886). Also fixed
a problem when xml:base was already specified on an
XInclude'd element.
|
|
f7789b13
|
2004-06-07T08:57:27
|
|
added a new routine xmlBuildRelativeURI needed for enhancement of
* uri.c, include/libxml/uri.h: added a new routine
xmlBuildRelativeURI needed for enhancement of xinclude.c
* xinclude.c: changed handling of xml:base (bug 135864)
* result/XInclude/*: results of 5 tests changed as a result
of the above change
|
|
7b0e2763
|
2004-05-12T09:33:23
|
|
a little further fixing of fallback processing, this time for fallback
* xinclude.c: a little further fixing of fallback processing, this
time for fallback with children (bug 139520).
|
|
87640d5f
|
2004-04-17T14:58:15
|
|
minor warning cleanup (no change to logic) fixed return value for internal
* xmlschemas.c, xmlwriter.c, doc/examples/parse4.c,
doc/examples/io2.c: minor warning cleanup (no change to logic)
* xinclude: fixed return value for internal function
xmlXIncludeLoadFallback (now always 0 or -1)
|
|
5d8d10bb
|
2004-04-16T08:11:26
|
|
fixed problem causing duplicate fallback execution (bug 139520) added
* xinclude.c: fixed problem causing duplicate fallback
execution (bug 139520)
* test/XInclude/docs/fallback2.xml result/XInclude/fallback2.*:
added testcase
|
|
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
|
|
57e9e918
|
2004-03-09T16:19:02
|
|
Changed the flag to xmlDocCopyNode (and similar routines), previously used
* tree.c: Changed the flag to xmlDocCopyNode (and similar routines),
previously used only for recursion, to use a value of '2' to
indicate copy properties & namespaces, but not children.
* xinclude.c: changed the handling of ranges to use the above new
facility. Fixes Bug 134268.
|
|
4d59e22a
|
2004-03-08T14:42:31
|
|
enhanced to assure that if xpointer is called for a document, the
* xinclude.c: enhanced to assure that if xpointer is called
for a document, the XML_PARSE_NOENT flag is set before parsing
the included document so that entities will automatically get
taken care of.
* xpointer.c: corrected code so that, if an XML_ENTITY_REF node
is encountered, it will log it and not crash (bug 135713)
|
|
a11e483e
|
2004-03-07T11:03:43
|
|
modified to make sub-includes inherit the parse flags from the parent
* xinclude.c: modified to make sub-includes inherit the
parse flags from the parent document (bug 132597)
|
|
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
|
|
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
|
|
95af594b
|
2004-02-08T04:12:49
|
|
added a small hack to fix interference between my fixes for bugs 132585
* xinclude.c: added a small hack to fix interference between
my fixes for bugs 132585 and 132588.
* python/libxml.c: fixed problem with serialization of namespace
reported on the mailing list by Anthony Carrico
|
|
6bdacd7a
|
2004-02-07T08:53:23
|
|
fixed problem with function xmlXIncludeCopyRange (bug 133686).
* xinclude.c: fixed problem with function xmlXIncludeCopyRange
(bug 133686).
|
|
6b1a28d3
|
2004-02-06T11:24:44
|
|
changed coding to output good XIncludes when one or more bad ones are
* xinclude.c: changed coding to output good XIncludes when
one or more bad ones are present (bug 132588)
|
|
ef245fda
|
2004-02-06T09:33:59
|
|
corrected handling of empty fallback condition (bug 132585)
* xinclude.c: corrected handling of empty fallback condition
(bug 132585)
|
|
b2d25dd7
|
2004-02-04T00:51:21
|
|
fixed problem regarding freeing of dictionary when there are errors within
* xinclude.c: fixed problem regarding freeing of dictionary
when there are errors within an XInclude file (bug 133106).
Thanks to Oleg Paraschenko for the assistance.
|
|
03c2f0a4
|
2004-01-25T19:54:59
|
|
fixing #130453 XInclude element with no href attribute fully integrating
* xinclude.c: fixing #130453 XInclude element with no href attribute
* relaxng.c rngparser.c include/libxml2/relaxng.h: fully integrating
the compact syntax will require more work, postponed for the
2.6.5 release.
Daniel
|
|
4773df2a
|
2004-01-23T13:15:13
|
|
added io1.c an example ox xmlIO usage and io1.res test result, fixed a
* doc/examples/*: added io1.c an example ox xmlIO usage and io1.res
test result, fixed a awful lot of memory leaks showing up in
testWriter.c, changed the examples and the Makefiles to test
memory leaks.
* xmlwriter.c: fixed a memory leak
* Makefile.am: run the doc/examples regression tests as part of
make tests
* xpath.c include/libxml/xpath.h: added xmlXPathCtxtCompile() to
compile an XPath expression within a context, currently the goal
is to be able to reuse the XSLT stylesheet dictionnary, but this
opens the door to others possible optimizations.
* dict.c include/libxml/dict.h: added xmlDictCreateSub() which allows
to build a new dictionnary based on another read-only dictionnary.
This is needed for XSLT to keep the stylesheet dictionnary read-only
while being able to reuse the strings for the transformation
dictionnary.
* xinclude.c: fixed a dictionnar reference counting problem occuring
when document parsing failed.
* testSAX.c: adding option --repeat for timing 100times the parsing
* doc/* : rebuilt all the docs
Daniel
|
|
aae10527
|
2004-01-02T14:59:41
|
|
fixed problem with "recursive" include (fallback contains another include
* xinclude.c: fixed problem with "recursive" include (fallback
contains another include - Bug 129969)
|
|
1ff4213e
|
2003-12-31T14:05:15
|
|
fixed problem caused by wrong dictionary reference count, reported on the
* xinclude.c: fixed problem caused by wrong dictionary
reference count, reported on the list by Christopher
Grayce.
|
|
f7eb794c
|
2003-12-31T07:59:17
|
|
fixed problem pointed out by Stéphane Bidoul on the list. completed
* python/generator.py, python/libxml2class.txt: fixed problem
pointed out by Stéphane Bidoul on the list.
* xinclude.c, xpointer.c, xpath.c, include/libxml/xpointer.h:
completed modifications required to fix Bug 129967 (at last!).
Now wait to see how long before further trouble...
|
|
72ee48d5
|
2003-12-30T08:30:19
|
|
Fixed memory leak reported by Dave Beckett Removed spurious comment
* parser.c, xmlmemory.c, include/libxml/xmlmemory.h: Fixed
memory leak reported by Dave Beckett
* xmlschemas.c: Removed spurious comment reported on the mailing
list
* xinclude.c, xpath.c, xpointer.c, libxml/include/xpointer.h:
Further work on Bug 129967 concerning xpointer range handling
and range-to function; much better, but still not complete
|
|
b98d082e
|
2003-12-24T11:06:25
|
|
XInclude xpointer support was broken with the new namespace. Fixes #129932
* xinclude.c result/XInclude/nodes2.*: XInclude xpointer support
was broken with the new namespace. Fixes #129932
Daniel
|
|
2d2f1552
|
2003-12-21T23:36:39
|
|
fixed a serious problem in XInclude #129021 Daniel
* xinclude.c: fixed a serious problem in XInclude #129021
Daniel
|
|
e74d2e1c
|
2003-12-09T11:35:37
|
|
augmented the XInclude API to be able to pass XML parser flags down to the
* xinclude.c xmllint.c xmlreader.c include/libxml/xinclude.h
include/libxml/xmlerror.h: augmented the XInclude API
to be able to pass XML parser flags down to the Inclusion
process. Also resynchronized with the Last Call W3C Working
Draft 10 November 2003 for the xpointer attribute.
* Makefile.am test/XInclude/docs/nodes[23].xml
result/XInclude/*: augmented the tests for the new namespace and
testing the xpointer attribute, changed the way error messages
are tested
* doc/*: regenerated the documentation
Daniel
|
|
b5fa0208
|
2003-12-08T17:41:29
|
|
filter warning messages if the global setting blocks them updated the
* error.c: filter warning messages if the global setting blocks them
* xinclude.c xmlreader.c include/libxml/xinclude.h
include/libxml/xmlerror.h: updated the change of namespace at
the XInclude level, raise a warning if the old one is found,
and some cleanup
Daniel
|
|
a152c4d6
|
2003-11-19T16:24:26
|
|
fix an error message added tree2 example from Lucas Brasilino Daniel
* xinclude.c: fix an error message
* doc/examples/*: added tree2 example from Lucas Brasilino
Daniel
|
|
798ae543
|
2003-11-03T17:13:52
|
|
fixed bug #125812, about XPointer in XInclude failing but not returning an
* xinclude.c: fixed bug #125812, about XPointer in XInclude
failing but not returning an error.
Daniel
|
|
7899c5c5
|
2003-11-03T12:31:38
|
|
adding XInclude support to the reader interface. Lot of testing of the
* xinclude.c xmlreader.c include/libxml/xinclude.h: adding XInclude
support to the reader interface. Lot of testing of the walker,
various bug fixes.
* xmllint.c: added --walker and made sure --xinclude --stream --debug
works as expected
* Makefile.am result/dtd11.rdr result/ent6.rdr test/dtd11 test/ent6
result/XInclude/*.rdr: added regression tests for the walker and
XInclude xmlReader support, had to slightly change a couple of tests
because the walker can't distinguish <foo/> from <foo></foo>
Daniel
|
|
659e71ec
|
2003-10-10T14:10:40
|
|
Setting up the framework for structured error reporting, touches a lot of
* HTMLparser.c c14n.c catalog.c error.c globals.c parser.c
parserInternals.c relaxng.c valid.c xinclude.c xmlIO.c xmlregexp.c
xmlschemas.c xpath.c xpointer.c include/libxml/globals.h
include/libxml/parser.h include/libxml/valid.h
include/libxml/xmlerror.h: Setting up the framework for structured
error reporting, touches a lot of modules, but little code now
the error handling trail has been cleaned up.
Daniel
|
|
69d2c171
|
2003-10-09T11:46:07
|
|
comment fix migrating the catalog code to the new infrastructure Daniel
* xinclude.c: comment fix
* catalog.c include/libxml/xmlerror.h: migrating the catalog code
to the new infrastructure
Daniel
|
|
cd6ff282
|
2003-10-08T22:38:13
|
|
final error handling cleanup converted XInclude to the new error handling
* xmlIO.c: final error handling cleanup
* xinclude.c error.c: converted XInclude to the new error handling
* include/libxml/xmlerror.h: added XInclude errors
Daniel
|
|
10acc2f3
|
2003-09-01T20:59:40
|
|
patch from Mark Vakoc that allows compiling with XInclude but without
* xinclude.c: patch from Mark Vakoc that allows compiling
with XInclude but without XPointer support.
Daniel
|
|
9848532c
|
2003-08-14T15:44:40
|
|
get rid of some compilation warnings. fix the performance problem reported
* DOCBparser.c globals.c include/libxml/xmlmemory.h: get rid of
some compilation warnings.
* xinclude.c: fix the performance problem reported by Kevin Ruscoe
plus some cleanup and better error reporting.
Daniel
|
|
78637da0
|
2003-07-31T14:47:38
|
|
fixing bug 118559
|
|
8edf1c5c
|
2003-07-22T20:52:14
|
|
added a new API xmlXIncludeProcessTree() to process XInclude only on a
* xinclude.c include/libxml/xinclude.h: added a new API
xmlXIncludeProcessTree() to process XInclude only on a subtree
this should fix bug #115385
Daniel
|
|
ffe4f5ec
|
2003-07-06T17:35:43
|
|
fixed bug #116095 removing the error message when reapplying XInclude to a
* xinclude.c: fixed bug #116095 removing the error message when
reapplying XInclude to a document.
Daniel
|
|
a507fbf3
|
2003-03-31T16:09:37
|
|
try to work on bug #109225 and provide better error reports. this change
* relaxng.c: try to work on bug #109225 and provide better
error reports.
* result/relaxng/* : this change the output of a number of tests
* xinclude.c: fixing the parsed entity redefinition problem
raised on the list.
* test/schemas/date_0.xsd: updated the date test c.f. E2-12
Daniel
|
|
b6c7f415
|
2003-03-29T16:41:55
|
|
forgot to apply one check from #106931 patch more work on XML Schemas
* xinclude.c: forgot to apply one check from #106931 patch
* xmlschemastypes.c: more work on XML Schemas datatypes
Daniel
|
|
d9b72839
|
2003-03-27T14:24:00
|
|
should fix #109327 errors on memory accesses Daniel
* xinclude.c: should fix #109327 errors on memory accesses
Daniel
|
|
2406abda
|
2003-02-24T18:16:47
|
|
Fixes bug #106931 in XInclude entities merging. Daniel
* xinclude.c: Fixes bug #106931 in XInclude entities merging.
Daniel
|
|
f4b4f988
|
2003-02-13T11:02:08
|
|
added TODO for the DTD compatibility spec more bug fixes driven by the
* relaxng.c: added TODO for the DTD compatibility spec
* xinclude.c: more bug fixes driven by the testsuite
Daniel
|
|
d581b7ed
|
2003-02-11T18:03:05
|
|
Work on the W3C/NIST regression tests for XInclude, improved the script,
* check-xinclude-test-suite.py xinclude.c: Work on the W3C/NIST
regression tests for XInclude, improved the script, improving
XInclude error reporting mechanism
Daniel
|
|
97fd5670
|
2003-02-07T13:01:54
|
|
applied another bug fix from Sean Chittenden Daniel
* xinclude.c: applied another bug fix from Sean Chittenden
Daniel
|
|
4287c57a
|
2003-02-04T22:48:53
|
|
fixing bug #105137 about entities declaration needing to be copied to the
* xinclude.c: fixing bug #105137 about entities declaration
needing to be copied to the including document.
Daniel
|
|
0650345d
|
2002-12-13T10:42:08
|
|
fallback was only copying the first child not the full child list of the
* xinclude.c: fallback was only copying the first child not the
full child list of the fallback element, closes #89684 as reopened
by Bernd Kuemmerlen
Daniel
|
|
d076a20e
|
2002-11-20T13:28:31
|
|
fixed #99082 for xi:include encoding="..." support on text includes. added
* xinclude.c parserInternals.c encoding.c: fixed #99082
for xi:include encoding="..." support on text includes.
* result/XInclude/tstencoding.xml test/XInclude/docs/tstencoding.xml
test/XInclude/ents/isolatin.txt : added a specific regression test
* python/generator.py python/libxml2class.txt: fixed the generator
the new set of comments generated for doc/libxml2-api.xml were
breaking the python generation.
Daniel
|
|
dda8f1ba
|
2002-09-26T09:47:36
|
|
make sure ATTRIBUTE_UNUSED is always put after the attribute declaration,
* xinclude.c xmlschemas.c xmlschemastypes.c xpath.c: make sure
ATTRIBUTE_UNUSED is always put after the attribute declaration,
not before
Daniel
|
|
118aed78
|
2002-09-24T14:13:13
|
|
fixed the data callback on transition functionality which was broken when
* xmlregexp.c: fixed the data callback on transition functionality
which was broken when using the compact form
* result/schemas/*: updated the results, less verbose, all tests
pass like before
* DOCBparser.c testAutomata.c testC14N.c testSchemas.c testThreads.c
testXPath.c valid.c xinclude.c xmllint.c xmlregexp.c xmlschemas.c
xmlschemastypes.c xpath.c python/libxml.c: removed a bunch of
annoying warnings
* xpath.c: try to provide better error report when possible
Daniel
|
|
bbc72c3a
|
2002-09-05T10:52:10
|
|
reimplemented a large part of the XInclude processor, trying to minimize
* xinclude.c: reimplemented a large part of the XInclude
processor, trying to minimize resources used, James Henstridge
provided a huge test case which was exhibiting severe memory
consumption problems.
Daniel
|
|
c4bad4a7
|
2002-08-14T14:45:25
|
|
oops I was missing the xml:base fixup too this adds xml:base attributes to
* xinclude.c: oops I was missing the xml:base fixup too
* result/XInclude/*.xml: this adds xml:base attributes to most
results of the tests
Daniel
|