W3C home > Mailing lists > Public > www-svg@w3.org > April 2016

Re: version attribute of svg element

From: Manuel Strehl <svg@manuel-strehl.de>
Date: Fri, 08 Apr 2016 08:53:31 +0200
To: www-svg@w3.org
Message-ID: <d7e919a557ec6c868a0d320494d5123e@xa8.serverdomain.org>
>> Can the version attribute validly be absent in an SVG 1.1 document? Is 
>> your answer documented in the SVG spec anywhere?
> I would say it is not required, but I don’t believe it is documented 
> anywhere.

If the SVG 1.1 DTD is of any authoritative answer here, there it's 
defined as:

     <!ATTLIST %SVG.svg.qname;
         version %Number.datatype; #FIXED '1.1'


Remembering from the Olden Days that #FIXED in DTDs means, that an 
#FIXED attribute is not literally required in the XML source, the DTD 
says you can omit it.

Received on Friday, 8 April 2016 06:53:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:55:04 UTC