Xmlbeans errors for empty int tag

2010-03-23 Thread Soumya
Hello all, I am using xmlbeans 1.0.4 and have a strange issue at hand. We have an old webservice which was documented in DTD and to use advanced xmlbeans features we decided to write an xsd for it and use it at another place to send/get WS calls. Kindly note the xsd is used only at client

Re: Xmlbeans errors for empty int tag

2010-03-23 Thread Jacob Danner
have you tried adding nillable=true to the file_id element. I believe this makes the type the Java Wrapper type (Integer in this case). Otherwise to check the existence of the element you could try xpath, or using the xmlcursor apis and seeing if you can navigate to the element. HTH, -jacobd On