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

Re: [SVGMobile12] script element processing

From: Chris Lilley <chris@w3.org>
Date: Thu, 8 Jun 2006 19:18:27 +0200
Message-ID: <39735760.20060608191827@w3.org>
To: www-svg@w3.org
Cc: Anne van Kesteren <fora@annevankesteren.nl>

Hello www-svg,

Anne van Kesteren <fora@annevankesteren.nl> wrote:
> There are a few things unclear from the section on the <svg:script> element.[1]
> * What should happen when the "type" attribute has an unsupported value

The same as any other unsupported value. So, the script element will not

(This includes the case where the content "looks like" some supported
language, but the type attribute says it is not).

> * I think the questions regarding case-sensitivity, leading and trailing
>   spaces, etc. apply here as well

The case-sensitivity of an Internet Media type should be defined by RFC

> * How exactly do you get the "script" from the <svg:script> element? Are
>   child elements nodes processed first? When getting to the element itself,
>   are comments nodes, PIs, Element nodes, dropped, etc? So you only keep the
>   text nodes for the script language? What happens for XML based scripting
>   languages?

For types that are not +xml types (and thus, are not processed as XML)
Changing CDATA sections into Text nodes

For xml-based scripting languages, there is nothing to specially get.

> [1]<http://www.w3.org/TR/2005/WD-SVGMobile12-20051207/script.html#ScriptElement>

 Chris Lilley                    mailto:chris@w3.org
 Interaction Domain Leader
 Co-Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Thursday, 8 June 2006 17:18:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:08 UTC