W3C home > Mailing lists > Public > www-svg@w3.org > June 2004

Does SVG 1.0 define this? (non-<svg> root element)

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 12 Jun 2004 21:00:11 +0000 (UTC)
To: www-svg@w3.org
Message-ID: <Pine.LNX.4.58.0406121950070.3032@dhalsim.dreamhost.com>


I couldn't find anything in the spec that defined how an XML file whose
root element is in the SVG namespace but isn't the <svg> element should be
handled. Am I missing something?

Similarly, what should happen with SVG elements that are encountered
inside fragments in other namespaces?

e.g.:

   <rect x="0" y="0" width="200" height="100" fill="blue"
         xmlns="http://www.w3.org/2000/svg"/>

...and:

   <foo>
    <rect x="0" y="0" width="200" height="100" fill="blue"
          xmlns="http://www.w3.org/2000/svg"/>
   </foo>

...respectively.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 12 June 2004 17:00:13 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:27 GMT