* python/generator.py python/libxml.c python/libxml.py
python/libxml_wrap.h python/types.c: applied and fixed a patch
from Stephane Bibould to provide per parser error handlers at the
Python level.
* python/tests/Makefile.am python/tests/ctxterror.py: added a
regression test for it.
Daniel
* python/libxml.py python/libxml.c python/libxml2-python-api.xml:
fixed bug #102181 by applying the suggested change and fixing
the generation/registration problem.
Daniel
* parser.c: one more IsEmptyElement crazyness, that time in
external parsed entities if substitution is asked.
* python/tests/reader3.py: added a specific test.
Daniel
* configure.in NEWS: preparing 2.5.0 release
* SAX.c: only warn in pedantic mode about namespace name
brokeness
* globals.c: fix a doc generation problem
* uri.c: fix#101520
* doc/*: updated and rebuilt the doc for the release, includuding
stylesheet update
* python/Makefile.am: fix a filename bug
Daniel
* xmlreader.c: seriously changed the way data are pushed to
the underlying parser, go by block of 512 bytes instead of
tryng to detect tag boundaries at that level. Changed the
way empty element are detected and tagged.
* python/tests/reader.py python/tests/reader2.py
python/tests/reader3.py: small changes mostly due to context
reporting being different and DTD node being reported. Some
errors previously undetected are now caught and fixed.
* doc/xmlreader.html: flagged last section as TODO
Daniel
* xmllint.c: a bit of cleanup
* xmlreader.c: small fix
* doc/xmlreader.html: more work on the XmlTextReader tutorial
* python/libxml.py: a few fixes pointed out by Hannu Krosing
Daniel
* xmlreader.c python/tests/reader2py: Fixing some more mess
with validation and recursive entities while using the
reader interface, it's getting a bit messy...
Daniel
* libxml.spec.in python/Makefile.am python/drv_libxml2.py:
integrated drv_libxml2.py Python xml.sax driver from Stéphane Bidoul
based on the python XmlTextReader interface.
Daniel
* xmlreader.c python/tests/reader2.py: fixed another validity
checking in external parsed entities raised by Stéphane Bidoul
and added a specific regression test.
* python/tests/reader3.py: cleanup
Daniel
* xmlreader.c python/tests/reader2.py: fixed a problem with
validation within entities pointed by Stéphane Bidoul, augmented
the tests to catch those.
Daniel
* python/generator.py: modified the generator to allow keeping
class references when creating new classes, needed to fix a bug
pointed by Stéphane Bidoul where the input buffer of the
xmlTextReader instance gets destroyed if the python wrapper for
the input is not referenced anymore.
Daniel
* xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml:
extended the XmlTextReader API a bit, addding accessors for
the current doc and node, and an entity substitution mode for
the parser.
* python/libxml.py python/libxml2class.txt: related updates
* python/tests/Makefile.am python/tests/reader.py
python/tests/reader2.py python/tests/reader3.py: updated a bit
the old tests and added a new one to test the entities handling
Daniel
* python/generator.py python/libxml2class.txt
python/tests/reader.py python/tests/reader2.py: changed the
generator to provide casing for the XmlTextReader similar to
C# so that examples and documentation are more directly transposable.
Fixed the couple of tests in the suite.
Daniel
* valid.c xmlreader.c: final touch running DTD validation
on the XmlTextReader
* python/tests/Makefile.am python/tests/reader2.py: added a
specific run based on the examples from test/valid/*.xml
Daniel
* doc/libxml2-api.xml python/tests/reader.py: one really need
to provide the base URI information when creating a reader parser
from an input stream. Updated the API and the example using it.
Daniel
* xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml: more
work on the xml reader interfaces.
* AUTHORS MAINTAINERS doc/* win32/*: updated Igor's mail and the
Web page for the Windows binaries.
Daniel
* parser.c: Vyacheslav Pindyura managed to trigger a bug in
parseStartTag, fixing it.
* test/att4 result/att4 result/noent/att4: adding the test
* xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml: added
more methods to XmlTextReader.
Daniel
* xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml: added
more methods of XmlTextReader.
* python/libxml2class.txt python/tests/reader.py: this increased the
methods in the bndings, augmented the test to check those new
functions.
Daniel
* xmlreader.c doc/libxml2-api.xml: added the close and getattribute
methods of XmlTextReader.
* python/generator.py python/libxml_wrap.h python/types.c
python/libxml2class.txt: added the reader to the Python bindings
* python/tests/Makefile.am python/tests/reader.py: added a specific
test for the Python bindings of the Reader APIs
* parser.c: small cleanup.
Daniel
* configure.in: preparing release of 2.4.30
* doc/apibuild.py doc/libxml2-api.xml: fixups to the api builder,
gives enum values, fix functype return type, put back fields in
structs
* doc/*: updated the docs rebuilt
Daniel
* HTMLtree.c include/libxml/HTMLtree.h: patch from Mark Vadok
about htmlNodeDumpOutput location.
* xpath.c: removed an undefined function signature
* doc/apibuild.py doc/libxml2-api.xml: the script was exporting
too many symbols in the API breaking the python bindings.
Updated with the libxslt/libexslt changes.
Daniel
* doc/apibuild.py doc/libxml2-api.xml doc/Makefile.am: new API
building Python script, does the C parsing directly, generates
a better API description including structure fieds defs and
enums. Still a couple of bugs, but good enough for the python
wrappers now.
* DOCBparser.c SAX.c nanohttp.c parser.c parserInternals.c tree.c
valid.c xmlIO.c xmlmemory.c xmlreader.c xmlregexp.c xmlschemas.c
include/libxml/schemasInternals.h include/libxml/tree.h: more
cleanup based on the python analysis script reports.
* libxml.spec.in: make sure the API XML description is part of the
devel package.
Daniel
* HTMLparser.c: final touch at closing #87235 </p> end tags
need to be generated.
* result/HTML/cf_128.html result/HTML/test2.html result/HTML/test3.html:
this change slightly the output of a few tests
* doc/*: regenerated
Daniel
* 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
* Makefile.am python/Makefile.am python/tests/Makefile.am:
trying to fix bug #98517 about building outside the source tree
* doc/xml.html doc/FAQ.html: fixed the link to libiconv #94585
Daniel