[Clipart] FYI: SVG::Metadata -> to_rdf() doesn't escape metadata content

Matteo Ianeselli m.ianeselli at flashnet.it
Sun Oct 10 00:25:09 PDT 2004


Just to warn that, looking at the source of SVG::Metadata 0.18, it seems
that to_rdf() just puts in metadata values without escaping back '<',
'>' and '&' as entities (< > &).

This invariably results in an invalid XML file when metadata values
contain the above characters (just noticed that in submitting
'crt_monitor_01.svg' to openclipart.org last evening).
-- 
  |   \    \  | ___|_  |_  |  ianezz a casa sua... :-)
  |  _ \  | \ | _|    /   /   Verba volant, scripta
 _|_/  _\_|  _|____|___|___|  manent, data corrupted





More information about the clipart mailing list