[Home] [By Thread] [By Date] [Recent Entries]

  • From: John Cowan <cowan@l...>
  • To: XML Dev <xml-dev@i...>
  • Date: Wed, 09 Sep 1998 14:36:08 -0400

Andrew Bunner scripsit:

> (Interesting aside, IE will
> display the right thing if you close a stand-along tag with />, but
> Netscape will not)

Both IE and Netscape will cope if you add a space before the
"/>".  This is legal XML.

>   <stating-the-obvious>Java Script engines are not easy things to
> write.</stating-the-obvious> I think it's unlikely that developers are
> going to redefine the Java Script language to interpret &lt; as < ... my
> opinion (hope) is that the standard should accomodate this.

The problem arrived when Netscape decided to treat SCRIPT elements
specially.  This behavior then got standardized by giving SCRIPT
a CDATA content model, which is Evil.  The Right Thing would have
been for Netscape to wrap SCRIPT content in a CDATA section.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@c...
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member