I create a org.eclipse.emf.ecore.resource.ResourceSet. I use this to
create a org.eclipse.emf.ecore.resource.Resource. I add stuff to the
contents of the Resource using resource.getContents().add(?????); When
the contents are written to the Resource xmi:id's are given to the
elements and their children.
Is it possible that emf would give/generate the same xmi:id for different
elements in different resources?? Are xmi:ids unique across all Resources?