|
Re: [EMF Resource] can resource save give a non well-formed xml file ? [message #414423 is a reply to message #414421] |
Tue, 06 November 2007 14:38 |
Ed Merks Messages: 33137 Registered: July 2009 |
Senior Member |
|
|
Chetan,
I don't think it's possible for XMLSaveImpl to produce unbalanced tags.
There could always be a bug I suppose, but generally it should not be
possible.
Chetan Kumar wrote:
> Dear All,
>
> The question might sound absurd. But i don't want to assume.
> I have a schema based ecore model. I am using EMF Resource to
> save/load an xml file based on that schema. Now, if i serialize an
> instance of my schema based model is there a possibility of getting an
> xml file which is not well-formed ?
>
> Ok, i'll be more specific. For my model, a tag <X> in xml file,
> corresponds to an object of XType in the model. So if an instance of
> XType is null, then the object is supposed to be serialized as <X/>
> ... are there any remote chances of the same tag being serialized as
> </X> without an <X> tag ??
>
> sorry for the weird question,
> Chetan Kumar
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.01901 seconds