Thanks Radu,

The problem is that I can't find information on how to get from an XSD to a
compiled xmlbeans jar (equivalent to the SCOMP artifacts).

Is the compilation process fully supported through XmlBeans API? Or am I
supposed to generate the source files and initiate the compilation?

 

 

From: Radu Preotiuc-Pietro [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 10, 2008 3:22 AM
To: [email protected]
Subject: RE: How to generate XmlBeans jar using API instead of SCOMP?

 

Asaf,

 

Take a look at 

 

XmlBeans.compileXsd([...]) and

XmlBeans.compileXmlBeans([...]) to also generate the Java source files. If
you do that, you will then need to compile and load the Java classes
yourself (we don't offer support for that because it is dependent on your
execution framework and not really XML-related).

 

You'll find more details by consulting the JavaDoc for the two methods and
doing a search on the mailing list, the topic has come up before.

 

Radu

 


  _____  


From: Asaf Lahav [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 09, 2008 3:54 AM
To: [email protected]
Subject: How to generate XmlBeans jar using API instead of SCOMP?

Is it possible to generate an XmlBeans jar out of a schema using XmlBeans
API instead of using SCOMP?

 

Thanks in advance,

Asaf

 

 

Reply via email to