[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.emf] [Teneo] DocumentRoot object name causes PAnnotation difficulty?
|
Hi guys,
I've set some XSD up like this:
<xsd:schema
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:ecore='http://www.eclipse.org/emf/2002/Ecore'
xmlns:com.vsp.ancillary.service='http://service.ancillary.vsp.com'
targetNamespace='http://service.ancillary.vsp.com'
ecore:nsPrefix='com.vsp.ancillary.service'
ecore:package='com.vsp.ancillary.service'
elementFormDefault='qualified'
ecore:documentRoot='AncillaryServiceDocumentRoot'
>
However I'm getting exceptions like this:
Caused by: java.lang.Throwable: java.lang.IllegalArgumentException: No
annotated model element present for: value for type EAttribute has its
epackage been registered with Teneo?
The package has been registered with Teneo, so I'm wondering if Teneo
treats DocumentRoot specially and gets confused when I rename it? Do I
need to put @Transient somewhere?
We have abou 50 packages of model objects. Until I can make the
DocumentRoot renaming work, I have 50 objects all called DocumentRoot in
each package of my model hierarchy. :(
Thanks for any help,
Jason