users@jaxb.java.net

Problem when marshaling a object which contained a DOM element as its field

From: Yang Yue Xiang <yxyang_at_jwcc.net>
Date: Fri, 06 Feb 2004 11:57:35 +0800

Hello,

I unmarshalled an xml segment to get a java object. This xml segment has
one "ANY" child which is unmarshalled as a field of the java object. I
checked the returned java object, it does contain this field.

However, when i try to marshal this java object back to xml (by calling
marshal(o,outputstream)), this special field is not marshalled to xml.
That is to say, the xml from marshalling is different from the original xml.

Any suggestion?

regards

yang


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net