OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: HTML != XML (was Re: [ANN] Kludgey workarounds for xt)

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <cowan@locke.ccil.org>
  • To: XML Dev <xml-dev@ic.ac.uk>
  • 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@ccil.org
	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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS