users@jaxb.java.net

Re: issue - marshal or Binder.updateXML is not saving in the xml file

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Sun, 9 Nov 2008 12:15:40 +0100

Have a heart! Please post the Java code of your unmarshal/marshal calls.

Is the XML file rewritten identically, or not touched at all?

Are you also sure that the objects you are "trying to save" are parts of the
element tree that's passed to the marshaller?



On Sat, Nov 8, 2008 at 7:28 PM, Trasca Virgil <virgil_trasca_at_yahoo.com>wrote:

> Hi all,
>
> I tried to use jaxb2 for binding/reading from xml files. While I was
> successfully to un-marshall from the XML files I am not able to save the
> Java objects back to XML . I tried with marshall or Binder.updateXML and I
> don't get/see any exception thrown but my xml file remains unchanged. I
> debugged & watched in eclipse and the objects that I am trying to save are
> updated with the information I want but still the xml file remains
> unchanged.
>
> What do you think is the issue?
>
> Thank you,
> Virgil
> DocumentBurster <http://www.pdfburst.com/> ,
> http://java-hobby.blogspot.com/
>