[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: JavaScript
At 02:46 PM 2/15/00 -0500, Hunter, David wrote: >The HTML 4.01 spec does indeed provide for putting SGML comments inside a ><script> element, and gives examples on how to do so for JavaScript, >VBScript, and TCL. > >The XHTML 1.0 spec doesn't seem to comment on this, except to say that "&" >and "<" characters must be escaped, or enclosed in a CDATA section. > >I'm thinking that this is one potential area where XHTML might break older >browsers, unless all script is included in external files. That's my conclusion as well. I'm doing a book (yet another) on XHTML, and just ran some sample files through a dozen browsers. The only way to get scripts containing the offending characters (<, >, &) through to a browser, even the latest ones is to use an external reference. Simon St.Laurent XML Elements of Style / XML: A Primer, 2nd Ed. Building XML Applications Inside XML DTDs: Scientific and Technical Cookies / Sharing Bandwidth http://www.simonstl.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|