Re: If we have versioning, it should be in an attribute, not the doctype

Chris Wilson wrote:

> Maciej Stachowiak [mailto:mjs@apple.com] wrote:
>
> On Apr 17, 2007, at 3:00 PM, Chris Wilson wrote:
>>> Or, as I've suggested:
>>>  <!DOCTYPE html PUBLIC "html5">
>>
>> That doesn't seem especially prettier or uglier - I'll leave it to
>> others to note whether this is an appropriate string to use as a
>> doctype in SGML or XML.
>
> It's not (that is, it does not follow the form for SGML DTD  
> descriptors.  Actually, I guess you could say <!DOCTYPE html SYSTEM  
> "html5">.

In SGML, nothing's wrong with <!DOCTYPE html PUBLIC "html5">. The public  
identifier need not be a formal public identifier.
XML requires a system identifier though.

-- 
David Håsäther

Received on Tuesday, 17 April 2007 22:44:14 UTC