Re: Minimized P valid XHTML?

>From: "Shane P. McCarron" <>
>Actually, it is more than that.  The issue is that the restriction in
>XHTML is in the appendix about backwards compatibility. It has nothing
>to do with XHTML 1 per se.  It has to do with historical browsers.  Same
>thing with the <br /> back (where we put a space in so that it still

Actually the quote was from sec. 4. Differences with HTML 4:

4.3 For non-empty elements, end tags are required

In SGML-based HTML 4 certain elements were permitted to omit the end tag; 
with the elements that followed implying closure. This omission is not 
permitted in XML-based XHTML. All elements other than those declared in the 
DTD as EMPTY must have an end tag.

So, this is not a backwards compatibility issue, at least as far as I can 

Concerning this then, I have a question (I'm relying on your kindness):

Is the following document then perfectly valid, as the validator says, or is 
it invalid, as it would seem to me (according to my understanding of the the 
wording of the Reformulation of HTML 4 in XML 1.0):

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="" xml:lang="en" lang="en">
<h1 />Hello world!
<q />Hello again!
<p />Have a nice day!

Thank you very much in advance for your patience & advice!
Osmo Saarikumpu
Get Your Private, Free E-mail from MSN Hotmail at

Received on Thursday, 29 March 2001 13:14:35 UTC