W3C home > Mailing lists > Public > public-html@w3.org > March 2008

Re: Error handling for SVG and MathML in HTML

From: Sam Ruby <rubys@us.ibm.com>
Date: Wed, 19 Mar 2008 08:06:52 -0400
To: Erik Dahlström <ed@opera.com>
Cc: "Ben Boyle" <benjamins.boyle@gmail.com>, "HTML WG" <public-html@w3.org>, public-html-request@w3.org
Message-ID: <OFC69AAFB3.6978541D-ON85257411.0041F9FB-85257411.00428C29@us.ibm.com>

Erik Dahlström wrote on 03/19/2008 05:08:25 AM:
>
> I think it's not up to the HTML spec to specify what happens if the error

> occurs in the SVG itself, for example what happens if there are unknown
> elements in unexpected locations in the svg, or how invalid attribute
> values should be treated.
>
> What's in scope for the html spec IMHO is to define how to produce the
svg
> DOM tree when found inline in an html document. Possibly also to define
> what should be shown in case the SVG DOM tree is broken somehow, and to
> define how svg fragments may interact with each other and with
surrounding
> HTML in the cases where that hasn't been defined in SVG.

+1

> I agree that nothing should prevent you from using correct SVG fragments

> inline in html.

Agree in principle, but "nothing" is too strong.  Requiring HTML to support
"<!ENTITY>" may not be necessary or appropriate.

Example:
http://upload.wikimedia.org/wikipedia/en/9/91/Adobe_Creative_Suite_2_logo.svg

- Sam Ruby
Received on Wednesday, 19 March 2008 12:07:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:13 GMT