W3C home > Mailing lists > Public > www-validator@w3.org > January 2017

SVG not validating

From: Eloito <eloigonzalez@hotmail.com>
Date: Wed, 18 Jan 2017 11:27:35 +0000
To: "www-validator@w3.org" <www-validator@w3.org>
Message-ID: <DB6PR0101MB252072A0F982E5DECF07B855CE7F0@DB6PR0101MB2520.eurprd01.prod.exchangelabs.com>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 18 January 2017 18:22:51 UTC