Skip to main content



      Home
Home » Modeling » EMF » Is it possible to maintain external entity references when saving ecore model?
Is it possible to maintain external entity references when saving ecore model? [message #959472] Fri, 26 October 2012 14:51 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Ecore 2 Ecore - Could use some input
Next Topic:[CDO] CDO Model Repository Test dependency issue
Goto Forum:
  


Current Time: Tue Jul 22 18:14:27 EDT 2025

Powered by FUDForum. Page generated in 0.03949 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top