W3C home > Mailing lists > Public > www-html@w3.org > May 1999

Re: XHTML empty elements

From: Daniel Hiester <alatus@earthlink.net>
Date: Wed, 5 May 1999 06:15:56 -0700
Message-ID: <001d01be96f9$69a1ff40$731eb3d1@hpy7i>
To: <www-html@w3.org>
| I understand the compatibility issue, but I still think that the statement
| in 4.1.6 is a problem, because of the br element type declaration in
| http://www.w3.org/TR/WD-html-in-xml/DTD/xhtml1-strict.dtd which is:
| How can a validating XML parser (that conforms to XML 1.0) check the
| constraint of sec 4.1.6 that it is an error to write <br></br>?

My understanding of the term, "Empty element" is that it simply has no valid
attributes. i.e. you can't say <br class="style"> or something like that.

Although, just writing that gives me an interesting idea... what if <br
line="3"> created the HTML equivelent of <br><br><br>? Is there any
practicality in that?

Daniel [inanis (edf)]        ( sorry to swing off of the subject at the
end... just curious. )
Received on Wednesday, 5 May 1999 09:11:47 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:50 UTC