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");
       ut.setAge(1232);
       ut.setEmail("hansi");
       ut.setFirstname("hias");
       assertEquals(user.getUser().getEmail(), "hansi");

So obviously it only fails to update the parents UserType Document when i assign it an the reuse the old reference. Is this documented? Is there a way to get around this problem - besides getting the new reference from the parent (the questions from the last email persist...)?

thanks!

cheers
roman

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to