Re: [xml-dev] MicroXML

From
James Clark <>
To
Henri Sivonen <>
Date
2010-12-16T07:38:49Z
ID
<AANLkTi=CkW9P6L=>
Thread
Re: [xml-dev] MicroXML


On Thu, Dec 16, 2010 at 2:21 PM, Henri Sivonen <[email protected]> wrote:
On Dec 15, 2010, at 23:10, James Clark wrote:

> I believe the standard should provide a parsing mode (and a way of triggering that parsing mode) that does not attempt to be 100% backwards compatible with bizarre and confusing browser bugs.

Who would this benefit and how? If you write valid HTML, you don't hit this stuff.

I want it to be valid HTML (in standards mode) to supply an end-tag for any element (including <br>) ie if <x/> is valid, then <x></x> is valid.

I would also like it to be valid HTML (in standards mode) to use empty element syntax for any element with empty content (I suspect this is more problematic) ie if <x></x> is valid, then <x/> should be valid.

This would simplify things for authors and for software generating HTML.  It would also facilitate polyglot markup.

James