W3C home > Mailing lists > Public > www-validator@w3.org > May 2001

Re: Suggestion for xhtml/html validation service

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 08 May 2001 23:57:23 +0200
To: "Nathan Miller" <webpage@depere.k12.wi.us>
Cc: <www-validator@w3.org>
Message-ID: <rhqgftc13qh3rq1fkp62pd8m70cv1u8amv@4ax.com>
* Nathan Miller wrote:
>I use PHP on my website to dynamically generate a few portions of
>the page, such as a site menu.  When I attempt to validate
>(http://www.depere.k12.wi.us/District/board/members.php for example)
>I get the error that a required sub-elemnt of OPTGROUP is missing.


  "Congratulations, this document validates as XHTML 1.0 Transitional!"

(while it doesn't, the SYSTEM identifier in your document type
declaration points to a non-existent resource ('DTD/xhtml1-loose.dtd'),
I suggest to perform a simple HTTP HEAD request for the DTD (until we
switch to a real XML validator for XML documents) if it is unequal to
http://www.w3.org/..., XML 1.0 requires that SYSTEM identifiers point to
existing resources).

>The OPTION tags are part of the output from the PHP script execution
>and do in fact appear when the page loads.  When viewing the page
>source using the validator, it appears to simply ignore that output,
>(because it doesnt load the file as a browser does?)

It actually does.

I don't see any problem here...
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Tuesday, 8 May 2001 17:56:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:29 UTC