org.eclipse.emf.ecore.xmi.FeatureNotFoundException Thrown [message #585903] |
Tue, 22 August 2006 10:54 |
Eclipse User |
|
|
|
Originally posted by: Shailesh.Raj.in.unisys.com
Hi
I am calling ResourceSet.getResource(URI.createURI("file:///" +
file.getAbsolutePath()), true); to load XMI file.
But it throws following exception, I am printing few lines
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature
'FcLocationType' not found.
(file:///C:\DOCUME~1\rajs1\LOCALS~1\Temp\EMF34014.pvx2, 4, 35)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.reportUnknownFeatu re(XMLHandler.java:1215)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleUnknownFeatu re(XMLHandler.java:1185)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLH andler.java:1146)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XML Handler.java:466)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa ndler.java:449)
at
org.eclipse.emf.ecore.xmi.impl.SAXWrapper.startElement(SAXWr apper.java:73)
.....
.....
....
*******************
Here is few lines of input XML file
<?xml version="1.0" ?>
<pof version="5.1.1.2">
<FcLocationType id="1000021639">
<Name>
<string>U.S.&Territories</string>
</Name>
<DescriptionType>
<string>The Business Region serviced by the Insurance Company,
represented by the 50 States, D.C., and the 4 U.S. Territories.</string>
</DescriptionType>
</FcLocationType>
<FcLocationType id="1000021663">
<Name>
<string>Minnesota</string>
</Name>
</FcLocationType>
<fcContainmentType id="1000024467">
<Start>
<objref id="1000021639">
</objref>
</Start>
<EndType>
<objref id="1000021663">
</objref>
</EndType>
......
......
.....
|
|
|
Powered by
FUDForum. Page generated in 0.02162 seconds