schema version detection

2005-08-08 Thread Mark Proctor
In my application we need to import documents for different versions of the same schema, in this case 2.0 and 2.2 of rixml, http://www.rixml.org/newsite/specification.html. When a file comes in I have no idea what version of the schema it is valid for - is there some way to have xmlbeans determ

Xmlcursors : how to loop and then retrieve the values ?

2005-08-08 Thread Celinio Fernandes
Hi, I am new to Xmlcursors and trying to use it to my project. I have the following XML file: <-- first child TTT value1 value2 value3 value4 value5 value6 value7 value8 value9 valu

XMLBeans Persistency

2005-08-08 Thread Roman Seidl
Dear XMLBeans Users, i read some discussions about RDBMS Persistency with XMLBeans as HyperJAXB offers. As far as i saw it was a target to complete this for v2. Has there been any efforts to implement something like this yet? Is there any other Idea on how to persist to a RDBMS? cheers roman

Re: References to subnodes / changes not in parent | Part 2

2005-08-08 Thread David Jencks
These features are present because xml is a tree whereas javabeans can form a directed graph. The setXXX methods all copy their argument to assure that no XmlObject has more than one parent. I think you want to use the addNewXXX methods on the parent object instead of newInstance on the objec

Re: References to subnodes / changes not in parent | Part 2

2005-08-08 Thread Roman Seidl
Dear XMLBeans-Users / Developers, i run another Test and now found out, that the following test passes: UserDocument user = UserDocument.Factory.newInstance(); user.setUser(UserType.Factory.newInstance()); UserType ut = user.getUser(); ut.setEmail("haasnsi"); u

References to subnodes / changes not in parent

2005-08-08 Thread Roman Seidl
Dear XMLBeans-Users / Developers, when replacing JAXB with XMLBeans v2 (which seemed like a good idea to me because of XMLBeans´ Open-Soruce nature and its exteded functionality over JAXB) i came across the following beahviour not common to JAXB: When i have a UserDocument that contains a Nod