[whatwg] Content Model Restrictions on table>tr in HTML

Bjoern Hoehrmann derhoermi at gmx.net
Mon Dec 4 23:07:10 PST 2006

* Ian Hickson wrote:
>No, it doesn't. It doesn't define the syntax at all. It defines how to 
>parse the syntax, and what to report as a syntax error, but that section 
>has no normative criteria that apply to documents.

That is quite irrelevant. The definition of the parsing algorithm
along with the syntax-independent requirements severely limits what
these criteria could be; such criteria could only define that some
documents are non-conforming even though they parse into conforming
trees without generating parse errors; doing anything beyond that
would contradict the rest of the draft.

It is actually possible to construct a document that parses into a
conforming tree without generating parse errors that does not con-
form to the requirements in section 9.1, odd as that may seem.

>Such a document is impossible to construct declaratively with the HTML 
>format, it can only be declaratively constructed with the XML syntax.

My point exactly.
Björn Höhrmann · mailto:bjoern at hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

More information about the whatwg mailing list