[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: JavaScript

Subject: RE: JavaScript
From: "Simon St.Laurent" <simonstl@xxxxxxxxxxxx>
Date: Tue, 15 Feb 2000 15:28:06 -0500
simon say 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.