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

Robin Berjon wrote:
> On Feb 15, 2006, at 16:16, Boris Zbarsky wrote:
>> I think just stating explicitly, at the end of paragraph 1 of section 
>> 15.2:
>>
>>   "If a script element has both an xlink:href attribute and child
>>    character data, the xlink:href attribute takes precedence and the
>>    executable content for the script is retrieved from that URI."
>>
>> or something would satisfy me.
> 
> I thought the spec said that already, if not it certainly should.

Hence the last call comment.  ;)

> I believe that the resolution from the Sydney f2f is that if the media 
> type of the script indicates XML (text/xml, application/xml, .*+xml$) 
> then elements are fine, otherwise they are ignored and the textContent 
> is taken into account.

OK.  That makes sense, and it would be good to actually have language to this 
effect in the spec.

Thanks,
-Boris

Received on Wednesday, 15 February 2006 15:35:07 UTC