You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 14, 2018. It is now read-only.
from StringIO import StringIO as S
from xml.etree import ElementTree as ET
ET.iterparse(S(''))
-->
AttributeError: TreeBuilder instance has no attribute '_parser'
Seems that SimpleXMLTreeBuilder.TreeBuilder or xmllib.XMLParser should have
this for iterparser to work (or the sys.platform == 'cli' part should be
changed in ElementTree.py).
Anyway completely makes it impossible to use iterparse in xml.etree with
ironpython.
Work Item Details
Original CodePlex Issue:Issue 31923 Status: Active Reason Closed: Unassigned Assigned to: Unassigned Reported on: Dec 12, 2011 at 10:38 AM Reported by: mkorpela Updated on: Nov 7 at 10:51 AM Updated by: tcalmant
The text was updated successfully, but these errors were encountered:
On 2012-02-03 04:14:19 UTC, pekkaklarck commented:
It is somewhat weird that this is broken because nowadays IronPython ought to contain a working elementtree implementation [1] that is also available at [2]. What is really weird that this module works fine if I install it separately.
from StringIO import StringIO as S
from xml.etree import ElementTree as ET
ET.iterparse(S(''))
-->
AttributeError: TreeBuilder instance has no attribute '_parser'
Seems that SimpleXMLTreeBuilder.TreeBuilder or xmllib.XMLParser should have
this for iterparser to work (or the sys.platform == 'cli' part should be
changed in ElementTree.py).
Anyway completely makes it impossible to use iterparse in xml.etree with
ironpython.
Work Item Details
Original CodePlex Issue: Issue 31923
Status: Active
Reason Closed: Unassigned
Assigned to: Unassigned
Reported on: Dec 12, 2011 at 10:38 AM
Reported by: mkorpela
Updated on: Nov 7 at 10:51 AM
Updated by: tcalmant
The text was updated successfully, but these errors were encountered: