Re: html validation
Derek Robert Price <[email protected]> Wed, 12 Feb 2003 11:22:58 -0500
| Newsgroups | gmane.comp.tex.texi2html.devel |
|---|---|
| Organization | Ximbiot <http://ximbiot.com> |
| Message-ID | <[email protected]> |
Dumas Patrice wrote:
>I have added tidy tests (the test itself is badly tested as there is no
>positive !). As Adrian said validation would be nice too. Uploading files
>is an interesting option because the onlinr w3c interface is very nice,
>however it would be also usefull to have automated validation for tests. Do
>somebody know where to find a validator (I didn't find a simple explaination
>on the w3c site) and some doc on how to call it ?
>
>
I just glanced at W3C. I found this download page:
<http://validator.w3.org/source/>, but it looks like the CGI interface
is integral and would need to be ripped out. Not necessarily an easy
task, but I've seen much harder. It sounds like if the interface was
seperated carefully, i.e., the CGI left intact but the guts moved to an
external validator package which could be given, for instance, a command
line interface, W3C might check in and maintain the changes.
I found an HTML validator on CPAN too, but its version is 0.13, so it is
probably pre-alpha. One of the perl XML validators on CPAN might be
usable with the right DTD, as well, but all in all, it's probably safer
to go with the W3C's version anyhow and try to keep in sync. We know
that the W3C's version already generates nice error messages as well.
Of course maybe that's what the CPAN authors did... might be worth a look.
Derek
--
*8^)
Email: [email protected]
Get CVS support at <http://ximbiot.com>!
--
"My father often told me,
We have servants and machines
in order that our will may be carried out
beyond the reach of our own arms.
Machines are more powerful than servants
and more obedient and less rebellious,
but machines have no judgement
and will not remonstrate with us
when our will is foolish,
and will not disobey us
when our will is evil.
In times and places where people despise the gods,
those most in need of servants have machines,
or choose servants who will behave like machines.
I believe this will continue
until the gods stop laughing."
-Orson Scott Card, "Children of the Mind"