Hi !
I've compiled an xsd and I'm getting an error while trying to use the
generated classes like this:
MyStandardDocument td = MyStandardDocument.Factory.newInstance();
MyRootElement tdi = td.addNewMyRootElement();
tdi.setCreator(Daniel);
How did you compile the schema?
-jacobd
On Wed, Jul 30, 2008 at 1:05 AM, Daniel Toffetti [EMAIL PROTECTED] wrote:
Hi !
I've compiled an xsd and I'm getting an error while trying to use the
generated classes like this:
MyStandardDocument td =
I've tried both jar and source as shown in scomp reference examples:
scomp -out MySchema.jar MySchema.xsd
scomp -srconly -src .\src MySchema.xsd
Now I'm using the generated source included in my project, because I hope
the generated source code will allow me to understand better
It seems the jar contains all the files generated with the -d option, and
also the class you mention. I'll use the jar and have the source at hand in
case I'm curious about the code.
Thanks for your help !!!
Cheers,
Daniel
- Mensaje original
De: Jacob Danner [EMAIL
4 matches
Mail list logo