Is it possible to maintain external entity references when saving ecore model? [message #959472] |
Fri, 26 October 2012 14:51  |
Eclipse User |
|
|
|
Hello,
I have an XML file which is being loaded to create an EMF Model. This XML File contains External Entity References to other .xml files. I would like to keep these entity references when exporting/saving the model from EMF back into a .XML file. Right now, the resulting .XML file includes the contents of the files that were referenced via the !Entity. Is there a way to force the XMLSaveImpl to not flatten the file during the save process?
Thanks,
Daniel
|
|
|
Re: Is it possible to maintain external entity references when saving ecore model? [message #960083 is a reply to message #959472] |
Sat, 27 October 2012 02:44  |
Eclipse User |
|
|
|
Daniel,
No, this information is not recorded in the model and is relatively
transparent when processing the SAX events.
On 26/10/2012 9:12 PM, Daniel Roman wrote:
> Hello,
>
> I have an XML file which is being loaded to create an EMF Model. This
> XML File contains External Entity References to other .xml files. I
> would like to keep these entity references when exporting/saving the
> model from EMF back into a .XML file. Right now, the resulting .XML
> file includes the contents of the files that were referenced via the
> !Entity. Is there a way to force the XMLSaveImpl to not flatten the
> file during the save process?
>
> Thanks,
>
> Daniel
|
|
|
Powered by
FUDForum. Page generated in 0.03949 seconds