Hello,

I am working on JDK 1.4.2_09 and wish to generate XML files. Right now I am using the DOM Parser based approach and am able to generate the XML, however I can't validate the same against an XSD during generation itself. Any pointers on how to do that?

I am not using any of the external JARs for the XML generation. Also, the XSD is located at a remote location and has to be accessed through an URI. I have already set the validating to true and the "http://java.sun.com/xml/jaxp/properties/schemaSource" attribute to the corresponding InputSource.

Thanks,

Mandar