SVG2: drop xmlns requirement on svg root?


In all cases, for compliance with the Namespaces in XML Recommendation  
[XML-NS], an SVG namespace declaration must be provided so that all SVG  
elements are identified as belonging to the SVG namespace.

Since in SVG2 we are dropping the requirement for having the xlink:xmlns  
attribute[1], how much of a stretch would it be to also allow xmlns-less  
<svg> root elements? This is already allowed when inline in html[2].

As another data point, the w3c validator claims "<svg/>" is valid SVG 1.1  
(presumably because the DTD doesn't say that the xmlns attribute is  

Just a thought...


Erik Dahlstrom, Web Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group

Received on Tuesday, 1 April 2014 16:15:29 UTC