Is it possible to add metadata to SVG file like it is done for PNG files?

0 votes
asked Mar 27, 2017 in bug by PeterBakker (350 points)
PlantUML adds metadate, the parsed code, to PNG files. Can this also be done for SVG files?

 

Regards,

Peter
commented Mar 27, 2017 by PeterBakker (350 points)
BTW I just noticed I have posted this as a bug, but it's just a question...

1 Answer

0 votes
answered Mar 27, 2017 by plantuml (141,410 points)
selected Mar 29, 2017 by PeterBakker
 
Best answer
Yes, it could be added as comment in the SVG file (using <!-- and --!>)

Is this what you are expecting ?
commented Mar 27, 2017 by PeterBakker (350 points)
Yes that would be great :-)
commented Mar 29, 2017 by plantuml (141,410 points)
This should be ok in last beta
https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0
Tell us if it's what you are expecting !
commented Mar 29, 2017 by PeterBakker (350 points)
Thanks, it works as expected :-)
commented Apr 3, 2017 by adrian (170 points)
SVG seems to support this: https://www.w3.org/TR/SVG/extend.html#ForeignNamespaces

This is much better than comments since it can be red by other tools.


Thank you.
...