XHTML 1.0 compliance (libstdc++/)

Jonathan Wakely cow@compsoc.man.ac.uk
Wed Feb 20 02:41:00 GMT 2002


On Mon, Feb 18, 2002 at 09:59:41AM +0100, Gerald Pfeifer wrote:

> On Mon, 18 Feb 2002, Andrea 'Fyre Wyzard' Bocci wrote:
> > These are for the libstdc++ pages.
> >
> > 2002-02-18  Andrea Bocci <fwyzard@inwind.it>
> >
> >          * download.html:  Full XHTML 1.0 compliance.
> >          * footer.ihtml:  Likewise.
> >          * header.ihtml:  Likewise.
> >          * index.html:  Likewise.
> >          * status.html:  Likewise.
> >          * thanks.html:  Likewise.
> 
> I have committed this, thanks.  (Please also Cc: libstdc++@gcc.gnu.org
> for patches related to libstdc++-v3...)

according to validator.w3.org these docs aren't fully conforming, because
the DTD says they are plain HTML, which means the self-closing tags such
as <link ... /> are illegal.
With the following DTD they conform to XHTML 1.0 Transitional:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Was the DTD left as HTML intentionally, so that it is handled correctly by
browsers that aren't fully conformant (i.e. most of them) ?

pedantic jon


-- 
A man needs a mistress, just to break the monogamy.



More information about the Libstdc++ mailing list