W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2003

[serialization] XHTML output method

From: Max Froumentin <mf@w3.org>
Date: Mon, 26 May 2003 20:58:42 +0200
To: public-qt-comments@w3.org
Message-ID: <86u1bhsffh.fsf@accueil.w3.org>

Hi,

Section 5 XHTML Output method:

"The serializer should output namespace declarations in a way that is
consistent with the requirements of the XHTML DTD if this is
possible. The DTD requires the declaration
xmlns="http://www.w3.org/1999/xhtml" to appear on the html element,
and only on the html element."

The first 'should' should be a 'must' or it would make the statement
allow serialisations that are not XHTML. XHTML1 says:

"The root element of the document must contain an xmlns declaration
for the XHTML namespace [XMLNS]."

Cheers,

Max.

PS. all the examples of minimised elements are written with 2 spaces,
as in "The serializer should include a space before the trailing />,
e.g. <br  /> "
Received on Monday, 26 May 2003 14:58:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:24 GMT