Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated ipxact api does not work #49

Open
chismxna opened this issue Dec 27, 2018 · 1 comment
Open

Generated ipxact api does not work #49

chismxna opened this issue Dec 27, 2018 · 1 comment

Comments

@chismxna
Copy link

Hi,
I want use pyecore to generate python ipxact library. I created a ipxact ecore by using EMF and ipxact schema, then i use pyecore to generate python codes. Finally, i found the codes can't parse a ipxact model file.

@aranega
Copy link
Member

aranega commented Dec 28, 2018

Hi @chismxna

Thanks for trying PyEcore! From what I understand, you generated the python code from the ipxact ecore metamodel generated from the xsd schema (using EMF Java), that's it?

Is your issue coming from the python code generation or the generation goes well, but pyecore is not able to load an existing ipxact model after? Are your models in an XMI or XML format? (if it is in a XML format, there is chances that PyEcore cannot read them, but we can always patch things in some cases). Could you send me the .ecore and a model example? That would help me find what could cause the issue.

Sorry about all the questions and thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants