Ian Hickson a écrit :
On Wed, 6 Dec 2006, Cyril Concolato wrote:
  
In Section 3.2 "Loading and Running Scripts", if author must not do what 
the example shows, why not simply forbidding the use of script elements 
inside script elements ?
    

It is already forbidden.
  
This paragraph from Section 3.2, seems to imply it's not.
"For non-XML languages, if the content is inline, UAs must concatenate all the textual contents of text and CDATA child nodes, and must ignore any other, non-text nodes (such as elements and comments) along with all their children. All descendant elements must be processed, though, according to their semantics, before the XBL script block itself is executed."

Additioally, the presence of the example in the specifcation goes it this sense. Since you say the intent is that it is forbidden, my suggestions are: remove the example or replace it with a meaningful one and rephrase "All descendant elements must be processed, though, according to their semantics, before the XBL script block itself is executed."

Regards,

Cyril



Reply via email to