Re: sXBL defining shadow character data

Cameron,
Very good question! I do not believe this particular use case has been 
discussed. The SVG spec needs to be clear about whether implementations 
should support your example or not support it.

Let's call your example below Example 1. Here is another example to 
consider (Example 2):

<xbl:definition element="ex:test">
    <xbl:template><tspan>world</tspan></xbl:template>
</xbl:definition>

Let me throw the question back to you to respond as an implementer. Do you 
think it is easier on implementers to support or not support Example 1 and 
Example ? My inclination is to say both are supported.

Jon

At 09:04 PM 7/19/2005, Cameron McCormack wrote:

>Hi.
>
>Is the following possible with sXBL?
>
>   <svg ...>
>     <xbl:xbl>
>       <xbl:definition element="ex:test">
>         <xbl:template> world</xbl:template>
>       </xbl:definition>
>     </xbl:xbl>
>
>     <text>
>       Hello<ex:test/>.
>     </text>
>   </svg>
>
>where the character data in the shadow tree is used by the text element?
>I guess my question is also for other elements that use character data
>(script, style, title, desc, ...).
>
>Thanks,
>
>Cameron
>
>--
>   e-mail : cam (at) mcc.id.au           icq : 26955922
>      web : http://mcc.id.au/            msn : cam-msn (at) aka.mcc.id.au
>   office : +61399055779              jabber : heycam (at) jabber.org

Received on Thursday, 21 July 2005 16:32:27 UTC