problem running the scomp

2010-03-24 Thread alaa nobani
Hi I have installed the XMLbeans 2.5 version and am having java 1.6 installed , when ever i try to to run the scomp command to compile my schema i get the following error although the JAVA_HOME is defined and the JAVA_HOME/bin added to path, the error is: java.io.IOException: Cannot run

Re: problem running the scomp

2010-03-24 Thread Jacob Danner
Is javac really located at /home/alaa/xmlbeans-tutorial/javac in your environment? Otherwise this looks like it might be addressed on the FAQ page, (sorry I don't have the link or answer with me at the moment) -jacobd On Wed, Mar 24, 2010 at 12:58 AM, alaa nobani alaa_nob...@yahoo.com wrote:

Re: problem running the scomp

2010-03-24 Thread alaa nobani
No Javac is not located at /home/alaa/xmlbeans-tutorial/ and dont know why it trys to execute it there while am setting my JAVA_HOME and added to the path already. --- On Wed, 3/24/10, Jacob Danner jacob.dan...@gmail.com wrote: From: Jacob Danner jacob.dan...@gmail.com Subject: Re: problem

Re: Xmlbeans errors for empty int tag

2010-03-24 Thread Soumya
Hi Jacob, Yes I tried configuring it as nillable=true today. And I tried to check if(item.xgetFileId()!=null item.xgetFileId().isNil()) { /// } But once again the isNil() now threw the error org.apache.xmlbeans.impl.values.XmlValueOutOfRangeException at

Re: problem running the scomp

2010-03-24 Thread Sri Harsha Yenuganti
Hi Alaa, Add JAVA_HOME/bin to your system path .. Or use the -compiler option in executing scomp and give the absolute path of javac ! On 24 March 2010 15:17, alaa nobani alaa_nob...@yahoo.com wrote: No Javac is not located at /home/alaa/xmlbeans-tutorial/ and dont know why it trys to

RE: Xmlbeans errors for empty int tag

2010-03-24 Thread Wing Yew Poon
Making file_id nillable in the schema does not help since the web service is still going to output file_id/, not file_id xsi:nil=true/. (The web service does not follow the schema, the schema is only for generating XMLBeans, if I understood correctly.) I think file_id should not be of type