W3C home > Mailing lists > Public > public-svg-wg@w3.org > January to March 2009

Re: Some notes on SVG parsing in HTML 5

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 26 Feb 2009 19:50:15 +1100
To: Simon Pieters <simonp@opera.com>
Cc: public-svg-wg@w3.org, www-archive@w3.org
Message-ID: <20090226085015.GA30392@arc.mcc.id.au>
Simon Pieters:
> BTW, I missed this part in my first email:
>
> > Any element names that aren't recognised as SVG or HTML ones will be
> > created as plain Element objects (I think).
>
> No, the HTML parser always emits elements in the HTML, SVG or MathML
> namespace. If you're in SVG context, unknown elements will be SVG
> elements. (You'll note that the parser never compares against e.g.
> 'span' or 'g' so "unknown" elements will be treated the same as those
> under the relevant "Anything else" sections.)

Yeah, I recognised that mistake the next day (should’ve corrected the
email record though):

  http://www.w3.org/2009/02/17-svg-irc#T03-05-15
  
-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Thursday, 26 February 2009 08:51:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 February 2009 08:51:08 GMT