RE: While parsing with xmlBeans, sub branch is coming null

2010-11-09 Thread Gillen, Paul
While I agree about the mess, XMLSpy generates the attached from the supplied XML. Compiling these with XMLBeans appears to let you address elements below the "command" level: { IqDocument doc = IqDocument.Factory.parse(new File("getProfile.xml")); Iq iq

Re: While parsing with xmlBeans, sub branch is coming null

2010-11-09 Thread Tim Watts
This is quite a mess. I'm assuming you have to accept the input as is. Basically you've got 4 different XML vocabularies active in each xml instance doc: * The 1st one, which isn't in any namespace at all, containing only the {iq} element as well as ALL the attributes in ALL the

Re: scomp mpeg-7 schema fail

2010-11-09 Thread Fabiana Nascimento
yes.. it works!! previously i tried with 2.5.0 and 2.0 versions... thanks a lot! On Sat, Nov 6, 2010 at 12:17 PM, Paul Gillen wrote: > Compiles cleanly with xmlbeans 2.4.0 > > On 10/27/2010 10:38 AM, Fabiana Nascimento wrote: > > hello, > > i'm novice in use xmlbeans and when i tried to scomp to

Re: While parsing with xmlBeans, sub branch is coming null

2010-11-09 Thread olamalam
Hello Tim, Thanks for your reply. I'm developing an integration project and I created that xsd file from the xml file that our client sends us. I tried several different tools but none of them creates a targetnamespace from the xml file that I attached. When I try to assign a namespace manually I