SVG not validating

Hello,


I am currently trying to validate a HTML5 file which contains SVG images.


Those SVG have custom attributes which are not validated by the W3C html5 validator. The note:id is then attacked by Js with DOM.


Is there any solution to obtain the validation?


Errors and warning are the following:


Warning: Attribute note:id is not serializable as XML 1.0.


Error: Attribute note:id not allowed on element rect at this point.


<rect note:id="0" x="0" class="piano__key piano__key--natural" width="40" height="200"/>

Received on Wednesday, 18 January 2017 18:22:47 UTC