W3C home > Mailing lists > Public > public-html@w3.org > January 2010

Re: [Bug 8611] Consider adding a full schema to H:TML

From: Joe D Williams <joedwil@earthlink.net>
Date: Tue, 5 Jan 2010 22:25:25 -0800
Message-ID: <D3E91017D0D143B6BA3C0332E061C68A@joe1446a4150a8>
To: "Ian Hickson" <ian@hixie.ch>
Cc: <public-html@w3.org>
> XML has a different syntax than text/html HTML.

Are there such differences that expression by xml schema is only 
possible for HTML5 in XHTML form?
I don't mean relaxed syntax that somehow can be fixed up by this empty 
string default or not complaining about missing closing tag, or some 
'missing' quotes (general simplification stuff that could be made into 
xml by style transform). Is there structure, content models, or 
combinations of HTML5 that cannot be modelled by xml schema?

> All three of the elements above are indistinguishable at the DOM 
> level.

Thanks for showing expected treatment of /> in text/html.
That seems like one less leap between html and xhtml.
As for the processing of attributes with no value, that can't be shown 
clearly by schema and so is more like a parsing rule for some class of 
content, in this case special handling of attributes.

So here it seems like the stricter form of xhtml+xml can be expressed 
by schema but the relaxed syntax accepted in text/html are expressed 
in a list of special parsing rules.

Thanks Again and Best Regards,
Received on Wednesday, 6 January 2010 06:26:06 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:56 UTC