Some of the exciting new features of the Java 2 Platform, Standard Edition (J2SE) 5.0 release, code-named Tiger, are the added XML validation package at javax.xml.validation
should give away the reason why. The javax.xml.validation package doesn't exist before 5.0. Why are you using 1.4.2?