Relaxed
- Web Developer
- 9 Comments
- 3 years ago on September 27, 2005
Petr Nalevka emailed me recently asking if I was interested in integrating the Relaxed HTML Validator into the Web Developer extension. I had not heard of this validator before, so I took a look and was impressed by what I saw.
Relaxed is an open source validator written in Java that “is able to validate most of the restrictions contained in W3C’s HTML 4.01, XHTML 1.0 and some restrictions based in WAI’s WCAG 1.0”. By using schema definitions written using Relax NG and Schematron, Relaxed is able to automatically validate “additional restrictions which are expressed just verbally in the text of different HTML standards”. In addition to this the output of the validator is clean and easy to understand.
At this point I am trying to keep the default list of tools in the Web Developer extension concise and am using the validators provided by the W3C. However, if you would like to use Relaxed with the Web Developer extension then you can create a new tool through the options with the following URL:
http://badame.vse.cz/validator/validate?filterForcedDoctype=auto&option=xhtml&process=Validate&uri=
9 Comments
That doesn’t seem to provide any extra features over and above what you can get from the W3C validators. Although again people are free to add their own validators to the tools menu.
Not a validator but I think also a good addition: Web-Sniffer
http://web-sniffer.net/?http=1.1&gzip=yes&type=GET&url=
Here is a nice XML schema validator for XHTML.
I use other things, actually two validators, for online checking:
Pretty more
TIDY / HTML Validator (based on tidy) 0.7.4
from Marc Gueury
and less
TAW it! 0.9.1
from CTIC.
They do both more or less the same thing, TIDY / Validator even on exactly the same principle as mentioned in original post. I validated more than 40000 webpages with TIDY in last four months online (and of course did some other work) and if something really needs to be integrated, contact Marc first.
Personally, I would love to see Web Developer get built in Validation.
I have no plans to do implement my own validator at this point as there are plenty of validation tools available online. You can also install a validator locally and point the extension at that for when you are not online.
Well, I’ll add another vote for http://web-sniffer.net/. Pretty cool. I’ve wanted something like that.
Chris suggested I post about my companies own validator here. Four things in particular make this validator unique:
It can “validate” Javascript (syntactically, and against the common DOM implemented across major web browsers).
It can crawl whole sites, so there’s no need to enter URLs manually.
It validates XHTML, WCAG, CSS and JS simultaneously (i.e. if you give it an XHTML page in non-crawl mode, it will validate all inline-CSS, inline-Javascript, the page itself, and also any direct-dependencies such as linked style sheets or JS code).
It picks up on cross-browser compatibility issues, such as CSS that IE doesn’t support, and other issues such as forms with uploads but an incorrect mime-type.
It’s also very pedantic, enforcing really high standards regardless of doctype. That might be a feature or an annoyance, depending on ones point of view ;).
The validator is at http://validator.ocportal.com/.
The tool URL is:
http://ocportal.com/membersonly/index.php?page=validator&type=_validator&url=
bubu
3 years ago
September 27, 2005
Why not for example take http://validome.org/ ?