Status: Accepted
Owner: ----
Labels: Type-Refactoring Priority-Medium Target-2.5

New issue 501 by pekka.klarck: Refactor XML processing to enhance memory usage
http://code.google.com/p/robotframework/issues/detail?id=501

Because RF 2.5 has Python/Jython 2.5 as the minimum requirement, we can
always use ElementTree for parsing the XML outputs. Having just one way to
process the outputs internally makes the code cleaner, but more importantly
it will be easier to enhance the memory usage. We probably can use the
`iterparse` method as illustrated in the latest episode of the excellent
PyMOTW series:
http://blog.doughellmann.com/2010/03/pymotw-parsing-xml-documents-with.html#watching-events-while-parsing

As part of this refactoring, we can/should probably remove the old
`utils.DomWrapper` altogether. That will affect some of the supporting
tools, but they can be updated to use ElememtTree instead. Because others
might use the `DomWrapper` too, this change is potentially backwards
incompatible.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to