W3C home > Mailing lists > Public > www-svg@w3.org > February 2006

RE: [SVGMobile12] Question on handling of <script> with xlink:href and child nodes

From: Doug Schepers <doug.schepers@vectoreal.com>
Date: Thu, 16 Feb 2006 04:41:43 -0500
To: <www-svg@w3.org>
Message-Id: <20060216094148.24DB8109EAC@pilfer.dreamhost.com>

Hi, Jim-

Jim Ley wrote:
| 
| Can we not have it explicitly saying that if the remote 
| resource fails, the content of the element is executed

That's interesting behavior, and I like it as a form of providing a graceful
fallback when external resources aren't available, but it's not the current
behavior of any of the browsers or SVG UAs I've tested.

If people don't find it objectionable, I don't have a problem specifying it
this way, as long as it's understood that this is not defacto behavior, and
that legacy UAs may have to change their existing behavior. Although this
would only be defined for SVG, this may have implications for other W3C
Specs and for UAs that implement both SVG and HTML.

Boris brings up another excellent point, that of defining when an external
resource fails. Do we have a formal definition of that anywhere in a W3C
spec?

| > By the way, I assume that a <script> element with non-text 
| children is in 
| > error, right?
| 
| It can't be in error, there might be XML based script languages.

Good catch, Jim. Does wording need to be put in the spec to cover this
eventuality?

Regards-
Doug

doug.schepers@vectoreal.com
www.vectoreal.com ...for scalable solutions.
Received on Thursday, 16 February 2006 09:41:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:53 UTC