[OSM-dev] Ruby XML parsing... REXML or libxml?
nick at hogweed.org
nick at hogweed.org
Thu May 18 23:21:42 BST 2006
As part of the Rubification of the new renderer I need to read in the XML
rules file e.g. http://nick.dev.openstreetmap.org/freemap.xml.
I seem to remember a while back that there had been a decision to change the
XML library from REXML to libxml, for performance reasons. However looking
round the Ruby XML parsing code in Subversion it's a mixture.... some code
uses REXML, others libxml.
I'd imagine for a config file, performance issues are not as crucial as API
requests. I seem to recall hearing that REXML was the easiest to use, being a
library designed for Ruby rather than a port of a C library.... suggesting
it's the one to go for in this case. Any opinions?
Thanks,
Nick
More information about the dev
mailing list