While parsing with xmlBeans, sub branch is coming null
olamalam <[email protected]> Mon, 8 Nov 2010 08:27:59 -0800 (PST)
| Newsgroups | gmane.text.xml.xmlbeans.user |
|---|---|
| Message-ID | <[email protected]> |
Hi to all, Actually, I'm not new to XmlBeans :) however I've faced with a problem for the first time and couldn't solve it. I"m using xmlBeans 2.4.0 and the xml file I'm trying to parse and it's schema are attached. I created the .jar file by using "scomp" command properly but when I parse the file, the first tag is returned with correct values at "id", "to", "from" and "type" fields but "command" object returns null. I also tried parsing it with JaxB but I got the same problem there too. (I'm going to ask the same question to Jaxb forum) Can you see what I'm missing? http://old.nabble.com/file/p30162231/getProfile.xml getProfile.xml http://old.nabble.com/file/p30162231/getProfile.xsd getProfile.xsd -- View this message in context: http://old.nabble.com/While-parsing-with-xmlBeans%2C-sub-branch-is-coming-null-tp30162231p30162231.html Sent from the Xml Beans - User mailing list archive at Nabble.com.