Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Modelling XBRL Taxonomy
Modelling XBRL Taxonomy [message #636468] Mon, 01 November 2010 13:49 Go to next message
Paul Fraser is currently offline Paul FraserFriend
Messages: 2
Registered: October 2010
Junior Member
I am not sure if I am expecting too much of the EMF, but in attempting to create an EMF project based on an xbrl taxonomy I am experiencing some errors.
The xsd files are available http://xbrl.iasb.org/repository/2010-04-30/ifrs_20100430.zip and the file I am playing with initially is "ifrs-cor_2010-04-30.xsd".
The ecore model seems to be produced ok but when trying to create the edit code I have problems.
When attempting on a Ubuntu machine I get errors similar to:
"DocumentationTypeItemProvider cannot be resolved to a type"
On a windows vista machine I get error similar to:
"...code of method collectNewChildDescriptors.....is exceeding the 65535 bytes limit"
I suppose the question should be, is EMF suitable for this type of project?

Regards
Paul Fraser
Re: Modelling XBRL Taxonomy [message #636498 is a reply to message #636468] Mon, 01 November 2010 15:11 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Paul,

Comments below.

Paul Fraser wrote:
> I am not sure if I am expecting too much of the EMF, but in attempting
> to create an EMF project based on an xbrl taxonomy I am experiencing
> some errors.
> The xsd files are available
> http://xbrl.iasb.org/repository/2010-04-30/ifrs_20100430.zip and the
> file I am playing with initially is "ifrs-cor_2010-04-30.xsd".
> The ecore model seems to be produced ok but when trying to create the
> edit code I have problems.
> When attempting on a Ubuntu machine I get errors similar to:
> "DocumentationTypeItemProvider cannot be resolved to a type"
Is that class missing? (You can find it with Ctrl-Shift-T.)
> On a windows vista machine I get error similar to:
> "...code of method collectNewChildDescriptors.....is exceeding the
> 65535 bytes limit"
It sounds like you have an incredibly massive model; it's not atypical
that schema designers produce unwieldy things. Even if this works (the
method body wasn't too big), the menu for the set of choices will exceed
the human capacity for choosing from a long menu. You can manually
split it into multiple methods to work around it, but as I said, the UI
will be unwieldy.
> I suppose the question should be, is EMF suitable for this type of
> project?
Yes, but Java has limitations, such as method body size. But worse
still, human minds have limitations as well, which suggests that a menu
with hundreds (or perhaps thousands) of child creation choices won't be
suitable.
>
> Regards
> Paul Fraser


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Creating SelectEntry for Attributes of a Class
Next Topic:EMap<String, EList<MyObject>>
Goto Forum:
  


Current Time: Tue Apr 16 11:22:09 GMT 2024

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

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

Back to the top