- From: Jim Ley <jim.ley@gmail.com>
- Date: Fri, 6 May 2005 09:26:46 +0100
- To: www-html-editor@w3.org
On 5/6/05, Masayasu Ishikawa <mimasa@w3.org> wrote: Was this a formal response to the issue from the WG, or just your personal opinion? >> The illustration sample found at >> http://www.w3.org/TR/2002/REC-xhtml1-20020801/#h-4.6 >> does not include a space before the closing tag. > > That's on purpose. There's no requirement in XML to include a space > before /> in an empty element. It's perfectly legal to not include > a space or use the syntax like <hr></hr> when you serve your XHTML > document as 'application/xhtml+xml', 'application/xml' or 'text/xml'. However, the example does not know what the author may be intending to serve it as, whilst there are still unresponded to open issues against the whole of Appendix C, which may change the situation in this ares, examples in the specification should follow its own guidelines. > That's only relevant when you want to serve your XHTML 1.0 document > as 'text/html'. This is confusing, Please either follow Appendix C for the examples, or add a note to each example in the specification making it explicit if it's appropriate to serve an example with particular possible mime-types. Jim.
Received on Friday, 6 May 2005 08:26:58 UTC