Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

(ichimunki) Re x 3: CGI.pm HTML vs. W3C HTML Validation

by ichimunki (Priest)
on Dec 29, 2001 at 02:34 UTC ( #135004=note: print w/ replies, xml ) Need Help??


in reply to Re: (ichimunki) Re: CGI.pm HTML vs. W3C HTML Validation
in thread CGI.pm HTML vs. W3C HTML Validation

The doctype in that page is not what I would expect to see from a typical CGI.pm output, it lacks the usual version numbering and "strict", "transitional", etc information. That is causing the validator to assume the worst about the page. And I don't see anything on that page that wouldn't validate other than the header itself, unless BGCOLOR wasn't a valid attribute in 2.0.

FWIW, I just submitted one of my own CGI.pm-made HTML docs and found that it does not validate, but because the header says the doctype is XHTML basic, and the header itself uses the lang attribute, which is not in basic apparently. So your point is perhaps valid, but this may even be fixed in newer versions of CGI (I'm on whatever ActiveState included with ActivePerl).


Comment on (ichimunki) Re x 3: CGI.pm HTML vs. W3C HTML Validation

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://135004]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2014-08-23 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (173 votes), past polls