
Dear Timothy, oXygen uses oNVDL http://www.oxygenxml.com/onvdl.html which is open source, based on Jing, adding NVDL support on top of Jing. You can use that, or you can use Jing to validate XML documents against Relax NG schemas. There are both command line and Java APIs available. For details see the above URL and also http://www.thaiopensource.com/relaxng/jing.html (note that all you find on Jing should work also with oNVDL) Best Regards, George --------------------------------------------------------------------- George Cristian Bina - http://aboutxml.blogspot.com/ <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Timothy Reaves wrote:
I have a RelaxNG schema I've created for use in one of my Java projects. The schema works the way I want it to, and I've created a couple of sample documents in oXygen that validate against it nicely. Now, I need to write a unit test to validate a test document. It appears that Java 1.5 does not directly support RelaxNG, so I can't use the method as described at http://java.sun.com/developer/technicalArticles/xml/validationxpath/ .
Can I do command line validation of a document with oXygen? I'm assuming maybe a batch file that uses oXygen's libraries?
Thanks.
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user