Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Empty tags(Prevent empty tags)
Empty tags [message #1065037] Sun, 23 June 2013 22:12 Go to next message
vitor veiga is currently offline vitor veigaFriend
Messages: 1
Registered: June 2013
Junior Member
Hello,

Is there a way to prevent EMF from producing empty tags? For example:

<PurchaseOrder shipTo="USA" />

change to

<PurchaseOrder shipTO="USA></PurchaseOrder>

Thanks
Re: Empty tags [message #1065121 is a reply to message #1065037] Mon, 24 June 2013 12:46 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
No, not without specializing
org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.endSaveFeatures(EObject, int,
String).


On 24/06/2013 2:45 PM, vitor veiga wrote:
> Hello,
>
> Is there a way to prevent EMF from producing empty tags? For example:
>
> <PurchaseOrder shipTo="USA" />
>
> change to
>
> <PurchaseOrder shipTO="USA></PurchaseOrder>
>
> Thanks


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO] non ordered list
Next Topic:Containment and eOpposite
Goto Forum:
  


Current Time: Thu Apr 25 10:05:46 GMT 2024

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

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

Back to the top