[Tilesathome] Osmarender Perl implementation

Frederik Ramm frederik at remote.org
Sat Mar 8 18:30:19 GMT 2008


Hi,

> > I tried running it, and get an error on "use XML::Parser::PerlSAX",
> > which seems to be a module that disappeared from the perl libxml
> > packages around version 0.08 (released in 2000). Perhaps try using
> > something like XML::SAX which is a bit newer and actually packaged for
> > distros.
> 
> OK, I found the package, but still think we should think about
> avoiding modules that are so obviously non-maintained.

I must admit that I hadn't got a clue as to what people "usually" use
for XML parsing, just googled for "XML SAX parser perl" or so and
found a code example that I used for inspiration. Since it was part of
the Debian package libxml-perl (and with libxml being actively
maintained) I thought it couldn't be too bad.

But I'm all for using whatever causes the least fuss, and I'll gladly
rewrite the import part to whatever way of XML parsing is en vogue.

> Now it seems icons don't work, I couldn't see this in the list of
> known issues. Will investigate later.

They worked when I tried it, but there's a somewhat ugly bit where the
icon SVG code is dumped to the XML writer in "raw" mode, i.e. it is
not parsed properly and written again, but simply copied verbatim.
Maybe there lies a problem with that on different platforms
(speculation: line endings?) or with different versions of the
libraries involved.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00.09' E008°23.33'





More information about the Tilesathome mailing list