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

0 votes
asked Mar 27 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 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 by plantuml (134,570 points)
selected Mar 29 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 by PeterBakker (350 points)
Yes that would be great :-)
commented Mar 29 by plantuml (134,570 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 by PeterBakker (350 points)
Thanks, it works as expected :-)
commented Apr 3 by adrian (160 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.
...