org.eclipse.emf.ecore.xmi.FeatureNotFoundException Thrown [message #46054] |
Tue, 22 August 2006 06: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>
......
......
.....
|
|
|
Re: org.eclipse.emf.ecore.xmi.FeatureNotFoundException Thrown [message #46207 is a reply to message #46054] |
Tue, 22 August 2006 09:55  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Shailesh,
When you post the same questions to multiple newsgroup, please do so
with a single posting so that an answer on any group is an answer on all
groups. This was purely an EMF question so a posting to EMF should be
sufficient.
Shailesh Raj wrote:
> 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>
> .....
> .....
> ....
>
>
|
|
|
Re: org.eclipse.emf.ecore.xmi.FeatureNotFoundException Thrown [message #585979 is a reply to message #46054] |
Tue, 22 August 2006 09:55  |
Eclipse User |
|
|
|
Shailesh,
When you post the same questions to multiple newsgroup, please do so
with a single posting so that an answer on any group is an answer on all
groups. This was purely an EMF question so a posting to EMF should be
sufficient.
Shailesh Raj wrote:
> 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.03242 seconds