Tuesday, 6 May 2003

JXHTML -- Validator/Java

Now a Java version of an offline
XHTML validator that will check a document against 1.0 Transitional,
1.0 Strict and 1.1, all without needing to edit your DOCTYPE. Useful for
polishing before uploading for sending to the W3C validator. Requires the
Apache Xerces-J XML library (I used version 2.4.0, you will need some
version 2.x, but I haven't tested other versions). If you have a copy of
the Java-based CSS validator from the W3C, then it can use it to perform
CSS validation after a clean XHTML validation too. Tweaked the C# version
a bit - but that doesn't have the CSS validation, of course.