No. Validation is best handled by a parser like Xerces. Right now Xerces is the only parser capable of validating XML Schema I think *.
To use Xerces just add xerces.jar to your classpath; modern versions of xerces come with JAXP 1.1 which dom4j uses to find a SAX parser if its on the classpath. You can use a similar mechanism with crimson.jar if you wish, though crimson doesn't support XML Schema (*) Sun's MSV library can also validate DTDs, XML Schema, Relax NG or Relax or Trex via SAX though its not integated into any parsers yet. James ----- Original Message ----- From: "Robert J. Lebowitz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 19, 2001 5:00 PM Subject: [dom4j-user] Aelfred parser- validating? > Does the endogenous XML parser that comes with dom4j handle DTD or Schema > validation? > > Rob > > > _______________________________________________ > dom4j-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dom4j-user > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user
