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 18:12 Go to next message
vitor veiga is currently offline vitor veiga
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 08:46 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25740
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
Previous Topic:[CDO] non ordered list
Next Topic:Containment and eOpposite
Goto Forum:
  


Current Time: Wed Apr 16 18:46:29 EDT 2014

Powered by FUDForum. Page generated in 0.01614 seconds