History log of /external/libxml2/python/libxml.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b3e488b0d90d5b0dbebf02cbd20894367f728d3e 28-Sep-2014 Ron Angeles <ronangeles@gmail.com> Add methods for python3 iterator

xmlCoreDepthFirstItertor and xmlCoreBreadthFirstItertr only
implement a python2-compatible iterator interface. The next()
method has been changed to __next__(). An alias has been
defined to keep python2 compatibility.
/external/libxml2/python/libxml.py
bf4a8f0ea8579f05eea2e6f43df73b2a239d41b3 02-Apr-2013 Daniel Veillard <veillard@redhat.com> Fix python bindings with versions older than 2.7

Need fixing on the Capsule usage, the lack of PyBytes,
lack of io module and the way to access exception details.
/external/libxml2/python/libxml.py
87f3287d9b00bdc39be032a8a3f2d46860eaf787 01-Apr-2013 Daniel Veillard <veillard@redhat.com> Fix tree iterators broken by 2to3 script
/external/libxml2/python/libxml.py
6f18465189dbfdf6efb1e6580243918a4f609d1c 29-Mar-2013 Daniel Veillard <veillard@redhat.com> A few more fixes for python 3 affecting libxml2.py

need a few changes to the generator and the libxml.py stub
/external/libxml2/python/libxml.py
3cb1ae26ec845beaea4c3a37eba7c874a7fa21a1 27-Mar-2013 Daniel Veillard <veillard@redhat.com> First pass at starting porting to python3
/external/libxml2/python/libxml.py
48da90bc4a3809728d08ee9ee8da21d044fbca82 25-Feb-2013 Alexey Neyman <stilor@att.net> Python binding for xmlRegisterInputCallback

It is possible to make xmlIO handle any protocol by means of
xmlRegisterInputCallback(). However, that function is currently only
available in C API. So, the natural solution seems to be implementing Python
bindings for the xmlRegisterInputCallback.

* python/generator.py: skip xmlPopInputCallbacks
* python/libxml.c python/libxml.py python/libxml_wrap.h: implement the
wrappers
* python/tests/input_callback.py python/tests/Makefile.am: also add a test case
/external/libxml2/python/libxml.py
e32ceb93f425ee852021ccda157fca923a1046b0 21-Feb-2013 Alexey Neyman <stilor@att.net> Python bindings: DOM casts everything to xmlNode

I noticed another issue with Python bindings of libxml: the access methods do
not cast the pointers to specific classes such as xmlDtd, xmlEntityDecl, etc.
For example, with the following document:

<?xml version="1.0"?>
<!DOCTYPE root [<!ELEMENT root EMPTY>]>
<root/>

the following script:

import libxml2
doc = libxml2.readFile("c.xml", None, libxml2.XML_PARSE_DTDLOAD)
print repr(doc.children)

prints:

<xmlNode (root) object at 0xb74963ec>

With properly cast nodes, it outputs the following:

<xmlDtd (root) object at 0xb746352c>

The latter object (xmlDtd) enables one to use DTD-specific methods such as
debugDumpDTD(), copyDTD(), and so on.
/external/libxml2/python/libxml.py
147687f1086cb5c046bd916a27c15ef6d449f293 24-Aug-2009 Leonid Evdokimov <gnome@darkk.net.ru> 544910 typo: "renciliateNs"

* python/libxml.py: typo on a comment
/external/libxml2/python/libxml.py
7a12e57b7f4ff2f1bc94a8942fdb1224a6d4deae 16-Feb-2007 William M. Brack <wbrack@src.gnome.org> fixed tab problem with patch from Andreas Hanke (bug #408626)

* python/libxml.py: fixed tab problem with patch from Andreas Hanke (bug #408626)

svn path=/trunk/; revision=3586
/external/libxml2/python/libxml.py
3b6acc93bf03bae282c71d4f63a9639b1bb7dc38 14-Dec-2006 Daniel Veillard <veillard@src.gnome.org> apparently id() sometimes generate negative values and %X outputs -XXXX

* python/generator.py python/libxml.py: apparently id() sometimes
generate negative values and %X outputs -XXXX :-(
Daniel
/external/libxml2/python/libxml.py
46459066c50190cee070ed1fcafdf6d307c09301 10-Oct-2006 Daniel Veillard <veillard@src.gnome.org> applied patch from Ross Reedstrom, Brian West and Stefan Anca to add

* python/libxml.py python/types.c: applied patch from Ross Reedstrom,
Brian West and Stefan Anca to add XPointer suport to the Python bindings
Daniel
/external/libxml2/python/libxml.py
40cca61fc130f0f865f51b2fb2ba15e478e102ab 26-Jun-2006 William M. Brack <wbrack@src.gnome.org> Added code submitted by Andreas Pakulat to provide node equality,

* python/libxml.c, python/libxml.py, python/tests/compareNodes.py,
python/tests/Makefile.am:
Added code submitted by Andreas Pakulat to provide node
equality, inequality and hash functions, plus a single
test program to check the functions (bugs 345779 + 345961).
/external/libxml2/python/libxml.py
745648bca870c869016d4cb323f29424e83b1bcd 27-Feb-2006 Daniel Veillard <veillard@src.gnome.org> remove a tab, as pointed out on IRC Daniel

* python/libxml2.py: remove a tab, as pointed out on IRC
Daniel
/external/libxml2/python/libxml.py
eaccdc6554d90d6a29a3674d444710a7c0933f41 27-Oct-2005 Daniel Veillard <veillard@src.gnome.org> remove warnings to stdout patch from Nic Ferrier Daniel

* python/libxml.py: remove warnings to stdout patch from Nic Ferrier
Daniel
/external/libxml2/python/libxml.py
f9cf6f5a01527406ed0bcbcf5a180d85b5e771de 12-Apr-2005 Daniel Veillard <veillard@src.gnome.org> applied patch from Brent Hendricks adding namespace removal at the python

* python/libxml.c python/libxml.py: applied patch from Brent Hendricks
adding namespace removal at the python level #300209
* python/tests/Makefile.am python/tests/nsdel.py: added the regression
test
Daniel
/external/libxml2/python/libxml.py
0e460da346bfb2cc9d5d6cb4be8f851c18bfb81e 31-Mar-2005 Daniel Veillard <veillard@src.gnome.org> another patch from Brent Hendricks to add new handlers with the various

* python/generator.py python/libxml.py: another patch from Brent
Hendricks to add new handlers with the various validity contexts
* python/tests/Makefile.am python/tests/validDTD.py
python/tests/validRNG.py python/tests/validSchemas.py: also
added the regression tests he provided
Daniel
/external/libxml2/python/libxml.py
1cd4dae166d934a18ebcb18a69700271572bcd81 15-Jan-2005 Daniel Veillard <veillard@src.gnome.org> make __str__ call serialize() on nodes, c.f. bug #157872 Daniel

* python/libxml.py: make __str__ call serialize() on nodes, c.f.
bug #157872
Daniel
/external/libxml2/python/libxml.py
a81355ef66bbbda49987309b748e5681075695ed 28-Sep-2004 Daniel Veillard <veillard@src.gnome.org> applied patch from Malcolm Tredinnick fixing python exception hierarchy

* python/libxml.py: applied patch from Malcolm Tredinnick fixing
python exception hierarchy #139824
Daniel
/external/libxml2/python/libxml.py
1f8658a76f155c460604fd295e7e66828c054ade 14-Aug-2004 Daniel Veillard <veillard@src.gnome.org> Dodji pointed out a bug in xmlGetNodePath() applied patch from Albert Chin

* tree.c: Dodji pointed out a bug in xmlGetNodePath()
* xmlcatalog.c: applied patch from Albert Chin to add a
--no-super-update option to xmlcatalog see #145461
and another patch also from Albert Chin to not crash
on -sgml --del without args see #145462
* Makefile.am: applied another patch from Albert Chin to
fix a problem with diff on Solaris #145511
* xmlstring.c: fix xmlCheckUTF8() according to the suggestion
in bug #148115
* python/libxml.py: apply fix from Marc-Antoine Parent about
the errors in libxml(2).py on the node wrapper #135547
Daniel
/external/libxml2/python/libxml.py
37e63946dc2745dc1e546ac273e43512fb4685fc 12-Jul-2004 William M. Brack <wbrack@src.gnome.org> ran 'expand' on the file to get rid of mixture of tabs and spaces (bug

* python/libxml.py: ran 'expand' on the file to get rid of mixture
of tabs and spaces (bug 147424)
/external/libxml2/python/libxml.py
f93a866079364a006189683eaa07f94c867389d1 01-Jul-2004 Daniel Veillard <veillard@src.gnome.org> applied patch from St�phane Bidoul to fix some Python bindings

* python/libxml.c python/generator.py python/libxml.py
python/libxml2-python-api.xml python/libxml2class.txt:
applied patch from St�phane Bidoul to fix some Python bindings
initialization, then had to change the parserCleanup()
to handle memory released there.
* xmlmemory.c: added more debugging comments.
Daniel
/external/libxml2/python/libxml.py
d5e198ad454803c60b898451ff432f2fcf0e95ce 09-Mar-2004 Daniel Veillard <veillard@src.gnome.org> applied patch from Anthony Carrico providing Python bindings for the

* python/libxml.c python/libxml.py: applied patch from Anthony Carrico
providing Python bindings for the Canonicalization C14N support.
Daniel
/external/libxml2/python/libxml.py
87ab1c129868978f1806da36496c8c519852c6ad 21-Dec-2003 Daniel Veillard <veillard@src.gnome.org> fixed bug #129489, propagation of parsing flags in entities. improved the

* parser.c: fixed bug #129489, propagation of parsing flags
in entities.
* parser.c xmlreader.c: improved the comments of parsing options
Daniel
/external/libxml2/python/libxml.py
f88d8cf9f1c9538dba187290ad5add003dc22bc7 08-Dec-2003 Daniel Veillard <veillard@src.gnome.org> tried to fix the problems reported in bug #126735 fixed again some problem

* python/libxml.py: tried to fix the problems reported in
bug #126735
* xpath.c SAX2.c error.c parser.c valid.c include/libxml/xmlerror.h:
fixed again some problem trying to use the structured error
handlers, c.f. bug #126735
* result/VC/ElementValid: tiny change due to the fix
Daniel
/external/libxml2/python/libxml.py
85bb5b08df98f19dfb4b23a5ee0b3596a0d8326b 04-Dec-2003 Daniel Veillard <veillard@src.gnome.org> oops forgot to modify/commit the new code. Daniel

* python/libxml.py: oops forgot to modify/commit the new code.
Daniel
/external/libxml2/python/libxml.py
1d75c8a822dbe6608e646cdbbeb174a3a4ab49c0 27-Oct-2003 William M. Brack <wbrack@src.gnome.org> fixed warning message from IRIX (bug 125182) removed tabs, replaced with

* xmllint.c: fixed warning message from IRIX (bug 125182)
* python/libxml.py: removed tabs, replaced with spaces
(bug 125572)
/external/libxml2/python/libxml.py
5439624bd9167dbb880ea4a75d91677d20a6ebe3 23-Apr-2003 Daniel Veillard <veillard@src.gnome.org> applied patch from Brent M Hendricks adding binding for xmlCatalogAddLocal

* python/libxml.c python/libxml.py: applied patch from
Brent M Hendricks adding binding for xmlCatalogAddLocal
Daniel
/external/libxml2/python/libxml.py
417be3ae08346c6510c28d2042dd42a22a74b331 20-Jan-2003 Daniel Veillard <veillard@src.gnome.org> patch from St�phane Bidoul for better per context error message APIs

* xmlreader.c python/drv_libxml2.py python/generator.py
python/libxml.c python/libxml.py python/libxml_wrap.h
python/types.c: patch from St�phane Bidoul for better per
context error message APIs
* python/tests/ctxterror.py python/tests/readererr.py:
update of the tests
Daniel
/external/libxml2/python/libxml.py
26f70269c80140a7fb8a7aae9ef09c95efa98e70 16-Jan-2003 Daniel Veillard <veillard@src.gnome.org> applied a patch from St�phane Bidoul to allow per XMLtextReader error and

* xmlreader.c include/libxml/xmlreader.h python/generator.py
python/libxml.c python/libxml.py win32/libxml2.def.src: applied
a patch from St�phane Bidoul to allow per XMLtextReader error
and warning handling
* python/tests/Makefile.am python/tests/readererr.py: adding the
specific regression test
Daniel
/external/libxml2/python/libxml.py
e6227e0549490b5bf9271ecd2d874a97c3f4852b 14-Jan-2003 Daniel Veillard <veillard@src.gnome.org> applied and fixed a patch from Stephane Bibould to provide per parser

* 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
/external/libxml2/python/libxml.py
3e20a2921373677d1cf54fcf6081b3492e0c7558 10-Jan-2003 Daniel Veillard <veillard@src.gnome.org> fixed bug #102181 by applying the suggested change and fixing the

* 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
/external/libxml2/python/libxml.py
51a447a57832da998689f81e062860b094fe922b 04-Jan-2003 Daniel Veillard <veillard@src.gnome.org> integrated the Python 2.2 optimizations from Hannu Krosing, while

* python/libxml.py: integrated the Python 2.2 optimizations
from Hannu Krosing, while maintaining compatibility with
1.5 and 2.1
Daniel
/external/libxml2/python/libxml.py
e59494fa5410ced5625687f025f61d30c5b2f933 04-Jan-2003 Daniel Veillard <veillard@src.gnome.org> a bit of cleanup small fix more work on the XmlTextReader tutorial a few

* 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
/external/libxml2/python/libxml.py
e18fc185fa2604ba73f2b259e34796c106ad5545 28-Dec-2002 Daniel Veillard <veillard@src.gnome.org> extended the XmlTextReader API a bit, addding accessors for the current

* 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
/external/libxml2/python/libxml.py
f25b4cab44bb9723f5e16df05c296fa09e5b4391 27-Dec-2002 Daniel Veillard <veillard@src.gnome.org> added a few predefined xmlTextReader parser configuration values. Daniel

* python/libxml.py: added a few predefined xmlTextReader parser
configuration values.
Daniel
/external/libxml2/python/libxml.py
c6d4a933f017b17cacdf2a6f6505faf8d945b0b3 12-Sep-2002 Daniel Veillard <veillard@src.gnome.org> updated the python bindings, added code for easier File I/O, and the

* python/generator.py python/libxml.c python/libxml.py
python/libxml2-python-api.xml python/libxml2class.txt
python/libxml_wrap.h python/types.c: updated the python
bindings, added code for easier File I/O, and the ability to
define a resolver from Python fixing bug #91635
* python/tests/Makefile.am python/tests/inbuf.py
python/tests/outbuf.py python/tests/pushSAXhtml.py
python/tests/resolver.py python/tests/serialize.py: updated
and augmented the set of Python tests.
Daniel
/external/libxml2/python/libxml.py
12171c4db1493e7b341a719a3705011c54f5e819 29-May-2002 Daniel Veillard <veillard@src.gnome.org> Fixed serialize and saveTo comment, Daniel
/external/libxml2/python/libxml.py
f742d3417905e5a0f4785f9684c3a7427e139ca7 07-Mar-2002 Daniel Veillard <veillard@src.gnome.org> fixed xmlReconciliateNs(), added a Python test/example for inter-document

* tree.c python/tests/Makefile.am python/tests/cutnpaste.py:
fixed xmlReconciliateNs(), added a Python test/example for
inter-document cut'n paste
* python/libxml.py: fixed node.doc on document nodes and added
xpathEval() onto node objects
Daniel
/external/libxml2/python/libxml.py
1e77438da7dd912885effa97b1079867d1e041be 06-Mar-2002 Daniel Veillard <veillard@src.gnome.org> fix bug #72490 added methods serialize() and saveTo() to all node

* tree.c: fix bug #72490
* python/libxml.c python/libxml.py: added methods serialize()
and saveTo() to all node elements.
Daniel
/external/libxml2/python/libxml.py
8d24cc189845663509623fbd6b5106cc01266994 05-Mar-2002 Daniel Veillard <veillard@src.gnome.org> make sure SAX endDocument is always called as this could result in a

* parser.c: make sure SAX endDocument is always called as
this could result in a Python memory leak otherwise (it's
used to decrement ref-counting)
* python/generator.py python/libxml.c python/libxml.py
python/libxml2-python-api.xml python/libxml2class.txt
python/tests/error.py python/tests/xpath.py: implemented
the suggestions made by Gary Benson and extended the tests
to match it.
Daniel
/external/libxml2/python/libxml.py
797a565a2f6a2c0a8480670174e9eaef30d271a4 12-Feb-2002 Daniel Veillard <veillard@src.gnome.org> couple of bug fixes Daniel

* python/libxml.c: couple of bug fixes
Daniel
/external/libxml2/python/libxml.py
01a6d4170c87368621db478b4d98530265bb9b1f 11-Feb-2002 Daniel Veillard <veillard@src.gnome.org> removed tabs and used spaces. Daniel

* python/*.py: removed tabs and used spaces.
Daniel
/external/libxml2/python/libxml.py
5e5c2d0a93e3e1bef0aaa63500cbbbd53e6a4063 09-Feb-2002 Daniel Veillard <veillard@src.gnome.org> Justin Fletcher found some parts of the code needing cleanup Fixed the

* parserInternals.c valid.c: Justin Fletcher found some parts
of the code needing cleanup
* libxml.spec.in python/Makefile.am python/generator.py
python/libxml.c python/libxml.py: Fixed the python Makefiles
corrected a bug showing up on ia64, changed the name of the
python internal module too
Daniel
/external/libxml2/python/libxml.py
3ce5257b293ed75d8feb18ed7ab18ea2b52510bd 03-Feb-2002 Daniel Veillard <veillard@src.gnome.org> cleanup added class for parser context, added first cut for push mode

* python/Makefile.am python/types.c: cleanup
* python/libxml.c python/libxml.py python/libxml_wrap.h
python/generator.py python/libxml2-python-api.xml
python/libxml2class.txt: added class for parser context, added
first cut for push mode support. Added a framework to generate
accessors functions.
* python/tests/Makefile.am python/tests/push.py: added a push
test
Daniel
/external/libxml2/python/libxml.py
cfb0546244beb0b3ae297f8dee0fa9bfdc2e1115 03-Feb-2002 Daniel Veillard <veillard@src.gnome.org> fixed a small bug a bit of cleanup. Daniel

* python/Makefile.am python/TODO python/libxml.py: fixed a small
bug a bit of cleanup.
Daniel
/external/libxml2/python/libxml.py
7fd7a94aa812e007842a4a0896bcbfa80ffdc907 02-Feb-2002 Daniel Veillard <veillard@src.gnome.org> fixed a stupid bug when renaming a function Daniel

* python/libxml.c python/libxml.py: fixed a stupid bug when renaming
a function
Daniel
/external/libxml2/python/libxml.py
a7340c830e4bddd86201cfdb97ac81e30b0dee62 01-Feb-2002 Daniel Veillard <veillard@src.gnome.org> more work, now able to extend the XPath interpreter with functions written

* python/Makefile.am python/generator.py python/libxml.c
python/libxml.py: more work, now able to extend the
XPath interpreter with functions written in python.
Daniel
/external/libxml2/python/libxml.py
1971ee2698cb84c7699c96d3302f00e20d42c0d3 31-Jan-2002 Daniel Veillard <veillard@src.gnome.org> minor optimization more work on the python bindings, they now support

* xpath.c: minor optimization
* python/generator.py python/libxml.c python/libxml.py
python/libxml_wrap.h: more work on the python bindings,
they now support XPath and there is no evident leak
Daniel
/external/libxml2/python/libxml.py
36ed5290a2dd1d44ddc0f102f6251156ad6965b9 31-Jan-2002 Daniel Veillard <veillard@src.gnome.org> more work on the python bindings generator. Daniel

* python/generator.py python/libxml.c python/libxml.py:
more work on the python bindings generator.
Daniel
/external/libxml2/python/libxml.py
d2897fde0089a9f349f7a589c1e58a8e130a3d61 30-Jan-2002 Daniel Veillard <veillard@src.gnome.org> commited early version of a python binding for private use only ATM Daniel

* python/generator.py python/libxml.c python/libxml.py
python/libxml_wrap.h: commited early version of a python binding
for private use only ATM
Daniel
/external/libxml2/python/libxml.py