users@jaxb.java.net

Re: Exception in creating XML file

From: SUBSCRIBE JAXB-INTEREST Anonymous <bmadhuri_at_MYWAY.COM>
Date: Tue, 29 Jul 2003 10:11:57 -0600

Thank you, Kohsuke! When I looked at the trace, some class was missing. I accidentally Checked in the old version of my script file which did not have relaxngDatatype.jar in classpath. Now, it is working.
But, I have a new problem now.

We copy our application's class files onto production server as a jar file. I have two schema documents. one is main schema and another is list of values schema document. List of values schema document will be changing very often in future. without having to recompile and recreating the XJC classes, how can I create XML file using JAXB? I was using Validator class before to validate the output XML file against the schema document. I commented out this part and doing validation in a different program. But now, the defaultValidationEventHandler is checking against the XJC classes for enumerated values. How to turn this default validator off? Is it possible?

I appreciate your help.
Thanks,