|
Posted by David Dorward on 05/04/06 10:28
Spartanicus wrote:
> Mark Parnell <webmaster@clarkecomputers.com.au> wrote:
>>Either is valid according to the XML and XHTML specs. It's not
>>*recommended* to use a closing tag, but it's still valid.
> It is valid, but DTD validation has it's limitations, even more so for
> XHTML, this is one of those limitations.
Yes, but Appendix C requirements aren't requirements for conformant XHTML,
just XHTML pretending to be HTML.
>>Incidentally, the XML spec (see link above) defines elements without any
>>content "empty", regardless of whether they are defined as EMPTY in the
>>DTD.
>
> XHTML does not equal XML.
If you have an XHTML document, then it IS also an XML document (the reverse
may not be true).
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Navigation:
[Reply to this message]
|