News for hackers. Stuff that matters.
Re:TinyVG: A challenger to the throne of vector graphics by CyberRabbi on Tuesday December 21, 2021 @04:39AM (#29635670)
Just curious how does XML prevent you from implementing a subset?
Re:TinyVG: A challenger to the throne of vector graphics by ur-whale on Tuesday December 21, 2021 @05:06AM (#29635813)
XML is an integral part of SVG.

Don't even know what implementing a subset without using XML would actually mean.

An XML being a strong contender for the title of worst file format ever devised by mankind, I'm not sure how 'implementing a subset' would fix that.

Re:TinyVG: A challenger to the throne of vector graphics by CyberRabbi on Tuesday December 21, 2021 @05:16AM (#29635863)
Well yes, it’s true you’d have to implement basic XML parsing to implement a subset of SVG. At the same time, despite how unpopular XML may be it’s among the easiest textual languages for which to write a parser. This isn’t hyperbole. It’s so trivial I didn’t even consider that that’s what you actually meant.
Re:TinyVG: A challenger to the throne of vector graphics by templix on Tuesday December 21, 2021 @06:44AM (#29636420)
Careful now. SVG uses a lot of XML features that goes beyond "basic XML parsing".

To define a subset of SVG doesn't imply that simplifying the XML part is going to be easy.

Re:TinyVG: A challenger to the throne of vector graphics by CyberRabbi on Tuesday December 21, 2021 @06:42PM (#29643523)
> Careful now. SVG uses a lot of XML features that goes beyond "basic XML parsing".

Could you name the feature to which you are referring specifically?

> XML part is going to be easy.

What part of parsing XML is hard? My premise is that all XML parsing is easy.