oreillymedia / HTMLBook

Let's write books in HTML!
http://oreillymedia.github.io/HTMLBook
MIT License
650 stars 100 forks source link

Add support for the "version" attribute in the SVG schema #213

Closed ao2 closed 7 years ago

ao2 commented 7 years ago

The "version" attribute is specified by SVG[1] and is used by some libraries like Cairo[2] in their generated SVG output.

Supporting the "version" attribute in the schema allows to validate files generated by Cairo with xmllint.

[1] https://www.w3.org/TR/SVG11/struct.html#SVGElementVersionAttribute [2] https://www.cairographics.org/