DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31501>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31501

html:form focus generates non-XHTML





------- Additional Comments From [EMAIL PROTECTED]  2004-10-26 03:45 -------
May we fix this by simply wrapping the script in a CDATA section?

<![CDATA[
  ... script ...
]]>

XHTML 1.0 Spec says:

4.8. Script and Style elements
In XHTML, the script and style elements are declared as having #PCDATA content. 
As a result, < and & will be treated as the start of markup, and entities such 
as &lt; and &amp; will be recognized as entity references by the XML processor 
to < and & respectively. Wrapping the content of the script or style element 
within a CDATA marked section avoids the expansion of these entities.

Will browsers parse the CDATA section properly?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to