Project

General

Profile

Task #436

Update xml-to-html5 filter to not use minidom

Added by Luke Murphey about 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
Due date:
% Done:

100%


Description

The filter for rendering XML as HTML5 ought to be replaced such that it doesn't use minidom but uses something faster (like lxml).

Associated revisions

Revision 229 (diff)
Added by Luke Murphey almost 12 years ago

Added a XML to HTML5 converter that doesn't use minidom. Closes #436.

Revision 229 (diff)
Added by Luke Murphey almost 12 years ago

Added a XML to HTML5 converter that doesn't use minidom. Closes #436.

Revision 221 (diff)
Added by Luke Murphey almost 12 years ago

Added a XML to HTML5 converter that doesn't use minidom. Closes #436.

History

#1 Updated by Luke Murphey about 12 years ago

  • Subject changed from Update xml-to-html5 filter to not minidom to Update xml-to-html5 filter to not use minidom

#2 Updated by Luke Murphey about 12 years ago

  • Target version set to 1.0

#3 Updated by Luke Murphey almost 12 years ago

  • Target version changed from 1.0 to 0.2

#4 Updated by Luke Murphey almost 12 years ago

  • Status changed from New to In Progress

#5 Updated by Luke Murphey almost 12 years ago

Planning on using HTMLParser based on the performance data in: http://blog.ianbicking.org/2008/03/30/python-html-parser-performance/

#6 Updated by Luke Murphey almost 12 years ago

I replaced minidom with HtmlParser. Performance did not increase noticeably. 10,000 calls took 3.7 seconds with minidom; 3.5 seconds with HtmlParser

#7 Updated by Luke Murphey almost 12 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

Applied in changeset r229.

#8 Updated by Luke Murphey almost 12 years ago

  • Target version changed from 0.2 to 0.1

Also available in: Atom PDF