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

Re: polyglot XHTML/HTML and <!DOCTYPE html about:legacy-compat>

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Fri, 08 Jan 2010 12:53:55 +0000
To: Jonas Sicking <jonas@sicking.cc>
Cc: Larry Masinter <masinter@adobe.com>, Jirka Kosek <jirka@kosek.cz>, Toby Inkster <tai@g5n.co.uk>, David Carlisle <davidc@nag.co.uk>, "julian.reschke@gmx.de" <julian.reschke@gmx.de>, "public-html@w3.org" <public-html@w3.org>
Message-ID: <f5by6k8ep0c.fsf@calexico.inf.ed.ac.uk>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jonas Sicking writes:

> On Sat, Jan 2, 2010 at 10:51 AM, Larry Masinter <masinter@adobe.com> wrote:
>> My reading of these is that, if there is a SYSTEM identifier, many of these
>> editors will attempt to fetch a DTD from that URI. Am I misunderstanding?
>
> What do these editors do with the fetched DTD? Given that there is no
> DTD to describe what is valid HTML or XHTML, any attempt by software
> to use a DTD will fail no matter what scheme we use.

Not true.  All the editors I use (XED, emacs, oXygen) will accept an
external subset which e.g. consists entirely of entity declarations,
see for instance http://www.ltg.ed.ac.uk/~ht/dtdTest.html, and do
exactly what you would hope with it.

ht
- -- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
                         Half-time member of W3C Team
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 651-1426, 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)

iD8DBQFLRyrjkjnJixAXWBoRApx2AJ9MuAI0mtObBT6wGUD7UsBMNJ96EgCfWWVv
XmqY4yRI7sUqTzV/1bHDUs8=
=FiVi
-----END PGP SIGNATURE-----
Received on Friday, 8 January 2010 12:55:02 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:07 UTC