[issue9375] ElementPath parser in ElementTree 1.3 does not reject "element//" as invalid

Stefan Behnel report at bugs.python.org
Sun Jul 25 09:32:09 CEST 2010


New submission from Stefan Behnel <scoder at users.sourceforge.net>:

Subject says it all:

Python 2.7 (r27:82500, Jul  5 2010, 13:37:06) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import xml.etree.ElementTree as ET
>>> el = ET.Element('hui')
>>> el.findall('section//')
[]

----------
components: Library (Lib), XML
messages: 111521
nosy: scoder
priority: normal
severity: normal
status: open
title: ElementPath parser in ElementTree 1.3 does not reject "element//" as invalid
versions: Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9375>
_______________________________________


More information about the Python-bugs-list mailing list