|From:||Garth Wallace <gwalla@...>|
|Date:||Sunday, January 11, 2004, 0:06|
Benct Philip Jonsson wrote:
> At 22:54 9.1.2004, jcowan@REUTERSHEALTH.COM wrote:
>> 8) Don't wrap scripts in comment markers (<!-- ... -->).
> Hwí ná, or why not as you say in English?
Because an XML-conformant user agent will ignore anything in comment
markers and the scripting engine will never see it. In non-X HTML, user
agents would just pass anything in a SCRIPT element to the scripting
engine (which would ignore HTML comments), but XML doesn't allow for
this special case AIUI.