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

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 UTC