[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Victory has been declared in the schema wars ...
- From: ht@inf.ed.ac.uk (Henry S. Thompson)
- To: Henri Sivonen <hsivonen@iki.fi>
- Date: Tue, 05 Dec 2006 17:07:22 +0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Henri Sivonen writes:
> On Nov 29, 2006, at 14:31, Elliotte Harold wrote:
>
>> Henri Sivonen wrote:
>>
>>> I think not having a normative schema for HTML5 is a very good
>>> idea. None of the current schema languages (not even Schematron)
>>> are adequate for expressing all the conformance requirements of
>>> HTML5.
>>
>> More to the point, HTML5 is not XML. It is not well-formed, and in
>> general an HTML5 document cannot be made well-formed without
>> crippling it by removing quite a few elements. Therefore XML schema
>> languages really don't fit it at all.
>
> They fit quite nicely if the HTML parser reports an equivalent XHTML
> document to the schema layer, which is what my parser does. Jing
> doesn't care what calls the ContentHandler methods.
So isn't the right thing to say about HTML5 that there _is_ a
normative schema, but it's not for the surface syntax, it's for that
underlying XHTML document. Seems to me there _must_ be such a
grammar, or Hixie couldn't be figuring out what fixups to do: the
fixups are designed to produce a tree of a certain form, and it would
be useful for all of us to document that form using a schema. . .
ht
- --
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFFdadKkjnJixAXWBoRAqFcAJ9hGctwuK8daI1jpvY1sfWbTyr9cACcD8pj
5g3one5uQXx65fwIglrzOi8=
=6YiD
-----END PGP SIGNATURE-----
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]