[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Strict-Mode and Lax-Mode MicroXML
- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- To: John Cowan <cowan@mercury.ccil.org>
- Date: Sun, 03 Jun 2012 22:55:53 +0200
* 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 (do you parse it like <title> or perhaps more
like <plaintext>, does its start-tag imply </p> and should you expect an
end-tag or not, and so on; in case of <script> the question was whether
to renders its contents, if any, if you don't recognize the element).
--
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]