← Back to team overview

mlhim-owners team mailing list archive

Fwd: Code generation from XML Schemas

 

FYI All.
Forwarded on behalf of Eduardo.

My comments later.

Cheers,
Tim


---------- Forwarded message ----------
From: Eduardo César <eduardo.cesar@xxxxxxx>
Date: 2012/3/3
Subject: Code generation from XML Schemas
To: Tim Cook <timothywayne.cook@xxxxxxxxx>


 I sent this message originally to mlhim-specs, but had an error, so I
decided to send to you directly

Regards
Eduardo

-------- Mensagem original --------  Assunto: Code generation from XML
Schemas  Data: Sat, 03 Mar 2012 18:47:44 +0100  De: Eduardo César
<eduardo.cesar@xxxxxxx> <eduardo.cesar@xxxxxxx>  Para:
mlhim-specs@xxxxxxxxxxxxxxxxxxx

Hi Tim,

I sent a message to Luciana about code generation from XML Schemas and
I reproduce a excerpt here:

-----
Andei pesquisando por aí e me parece que EMF + Acceleo não é muito
adequado para gerar código python. Estou olhando um outro módulo do
eclipse chamado XText (que parece melhor que o Acceleo pra gerar java
também).

O Tim colocou lá no documento:
3) Generate XML Schemas from Ecore model.
Acho que é o contrário, seria para gerar ecore model a partir de xml
schemas. Mas só pra confirmar, posto aqui.

Uma ferramenta bacana pra gerar código python a partir de XSDs é o
XMLBeans. Talvez seja uma opção pra gente usar ao invés de
Eclipse+EMF+(Acceleo|XText)

---

I had some problems generating python code from the Acceleo in
Eclipse. Thinkering about that I found out that there is another
similar aproach using Xtext. Maybe we could try this one.

I was not sure about the generation of XML Schemas from ecore models,
I could not find any information regarding this topic. Would you have
any direction?

And finally, I found out a good tool to generate Java code from XSD
file, it is called XMLBeans. I see that it could be an alternative
instead using Eclipse+EMF+(Acceleo|XText).


Regards,
Eduardo




-- 
============================================
Timothy Cook, MSc           +1 713 254 3643
LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook
Skype ID == timothy.cook
Academic.Edu Profile: http://uff.academia.edu/TimothyCook

Follow ups