Next in thread → Next in month →

Re: [xml-dev] Strict-Mode and Lax-Mode MicroXML

From
Liam R E Quin <>
To
Bjoern Hoehrmann <>
Date
2012-06-03T23:51:28Z
ID
<>
Thread
Re: [xml-dev] Strict-Mode and Lax-Mode MicroXML
On Sun, 2012-06-03 at 22:55 +0200, Bjoern Hoehrmann wrote:
> * John Cowan wrote:
> >Pete Cordell scripsit:
> >> HTML has evolved.  e.g. <script> no longer requires comments to escape
> >> them etc.  
> >
> >That was never part of any HTML spec, just a workaround for a bug that
> >hasn't been around since Netscape 1.0.
> 
> Failing to support the <script> element was not really a bug. That's the
> key problem with HTML, adding elements or otherwise changing any content
> model requires changing all implementations so they can still understand
> the structure of documents 

The night before Netscape released <script> I got a phone call from
them, asking how to represent "script" in an SGML DTD.

A combination of CDATA and CONREF did the trick.

Unfortunately, HTML browsers were not DTD-driven...

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Next in thread → Next in month →