[issue9708] cElementTree iterparse does not support "parser" argument

2010-08-28 Thread Adrian Nye

New submission from Adrian Nye :

The (python) ElementTree library began in 2.7 to support the "parser" argument, 
but cElementTree does not support it.

Either cElementTree should support it, or the documentation should mention that 
it does not.

--
components: XML
messages: 115173
nosy: adrian_nye
priority: normal
severity: normal
status: open
title: cElementTree iterparse does not support "parser" argument
versions: Python 2.7

___
Python tracker 
<http://bugs.python.org/issue9708>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10605] ElementTree documentation

2010-12-02 Thread Adrian Nye

New submission from Adrian Nye :

TreeBuilder doc does not mention its "entity" argument which is the main way to 
deal with html entity encodings which are unfortunately a common problem in XML.

Also the doc needs a discussion of the relationship of TreeBuilder and 
XMLParser.   The former has "entity", and the latter has "encoding", but
what happens is you need both?   Needs examples of using these two classes.

--
components: XML
messages: 123076
nosy: adrian_nye
priority: normal
severity: normal
status: open
title: ElementTree documentation
type: feature request
versions: Python 2.7

___
Python tracker 
<http://bugs.python.org/issue10605>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com