Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » I need help(eclipse emf java to xml Persistence)
I need help [message #902729] Mon, 20 August 2012 07:37 Go to next message
firefly hoo is currently offline firefly hoo
Messages: 2
Registered: August 2012
Junior Member
Could not open the editor: org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'log-enable' not found. (platform:/resource/eclipse_vs/kcmvc/com/coollf/eaylist/sa.trans, 7, 17)


in my xsd file i definition
a log-enable element i want to make a xml editer for eclipse pulg

but i encounter this question ,i know just log-enable change over log_enable or logEnable

but it will An enormous consequences
Re: I need help [message #902745 is a reply to message #902729] Mon, 20 August 2012 08:54 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
What is sa.trans? Is it a file for which you have an EMF model? Did you
add a log-enable element or attribute to that file? Did you update the
model so it knows there's a corresponding feature for that tag?


On 20/08/2012 9:37 AM, firefly hoo wrote:
> Could not open the editor:
> org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature
> 'log-enable' not found.
> (platform:/resource/eclipse_vs/kcmvc/com/coollf/eaylist/sa.trans, 7, 17)
>
>
> in my xsd file i definition
> a log-enable element i want to make a xml editer for eclipse pulg
>
> but i encounter this question ,i know just log-enable change over
> log_enable or logEnable
> but it will An enormous consequences
>
Re: I need help [message #902937 is a reply to message #902745] Tue, 21 August 2012 10:23 Go to previous messageGo to next message
firefly hoo is currently offline firefly hoo
Messages: 2
Registered: August 2012
Junior Member
I'm just trying to make a eclipse plugin ,
sa.trans is my plugin created file.

because it have a node name is 'log-enable' look like this:


<?xml version="1.0" encoding="UTF-8"?>
<trans>
<tran>
<id>docket_inventory_to_delivery_and_enter</id>
<name>XXX</name>
<enable>true</enable>
<log-enable>true</log-enable>
<src/>
<tran>
</trans>

this file this my editor created ;
but i can't afresh open sa.trans on my editor .


Re: I need help [message #902953 is a reply to message #902937] Tue, 21 August 2012 11:47 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
The exception makes it look like you're trying to parse this using EMF.
Is that the case?


On 21/08/2012 12:23 PM, firefly hoo wrote:
> I'm just trying to make a eclipse plugin ,
> sa.trans is my plugin created file.
>
> because it have a node name is 'log-enable' look like this:
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <trans>
> <tran>
> <id>docket_inventory_to_delivery_and_enter</id>
> <name>XXX</name>
> <enable>true</enable>
> <log-enable>true</log-enable>
> <src/> <tran>
> </trans>
>
> this file this my editor created ;
> but i can't afresh open sa.trans on my editor .
>
>
>
Previous Topic:Juno Fails to Connect to Market
Next Topic:Creating Dynamic Web Project not running.
Goto Forum:
  


Current Time: Sat Oct 25 00:13:29 GMT 2014

Powered by FUDForum. Page generated in 0.01637 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software