Ticket #86 (new enhancement)
XML transported within text "unnormalizes" slowly
| Reported by: | lademann | Owned by: | ser |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1.8 |
| Component: | DOM | Version: | 3.1.5 |
| Severity: | normal | Keywords: | |
| Cc: | Ruby version: | 1.8.2 | |
| Operating system: | Linux |
Description
In Text::unnormalize and in Baseparser::unnormalize the "matches"-array contains each matched entity AS OFTEN AS IT IS MATCHED!. Just add a "matches.uniq!" before looping over its elements. This GREATLY enhances performance then parsing documents that contain escaped XML, for example.
Regards Christian Lademann <cal@…>
PS. Thank you for REXML. It's a great tool!
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
