[Bug 5444] [SER] Non-XHTML elements with XHTML output method

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5444





------- Comment #2 from tim@cbcl.co.uk  2008-01-31 16:26 -------
That sentence finishes:

"...and parameter-specific exceptions in 6.1 The Influence of Serialization
Parameters upon the XHTML Output Method. "

Should I be reading 6.1.3 (XHTML Output Method: the indent Parameter) as a full
description of how indentation is to be handled for this output method, or does
it have to be read in conjunction with "5.1.3 XML Output Method: the indent
Parameter".  For example, if xml:space is encountered on an XHTML tag, should
it be respected?

"Given an XHTML element whose content model is EMPTY, the serializer MUST ...
MUST include a space before the trailing />"

It seems strange to mandate writing <br /> but not forbidding <foo:br/>,
although I admit to having not tried this in an old HTML user agent!

Received on Thursday, 31 January 2008 16:26:20 UTC