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

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