Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums.UML to .XML transformation
https://www.eclipse.org/forums/index.php/mv/msg/1069432/1705463/#msg_1705463
Raghu Rajappa2015-08-16T09:14:04-00:00Re: .UML to .XML transformation
https://www.eclipse.org/forums/index.php/mv/msg/1069432/1705545/#msg_1705545
A tool that complains of invalid XML should provide context: what kind
of problem the file manifests and where (line/column location). We
can't help if the tool doesn't do that.
But, in any case, it would be very surprising to find that either
Papyrus or the UML2 project's example editor produced an invalid XML
document. The EMF infrastructure that they are built on just doesn't
do that.
What do you mean by conversion to XML? The XMI serialization of UML,
as implemented by Eclipse, is already XML. If you just need to convert
to some other XML schema, then I suppose that XSLT could be used for
that purpose. In any case, you will need a fairly deep understanding
of XML and XMI in order to develop the XSL transformation, certainly a
good enough understanding to find what is the invalid XML in your UML
file (if any). I would suggest finding an XML validator tool that can
give you a better diagnosis than "input xml file is not well-formed".
Cheers,
Christian
On 2015-08-17 11:51:23 +0000, Raghu Rajappa said:
> I generated a .uml file containing xmi format text, from the activity
> diagram in Papyrus tool with MARTE profile. I am trying to understand
> how to convert this to .xml file so that I could use that .xml file in
> another software tool (example dataflow modelling) to analyse
> throughput. I tried XSLT software used in w3 school tool, but it says
> input xml file is not well-formed. I dont understand what that means
> and I am stuck. I hope someone can shed some light on-to this. Also
> please forgive me if this is the wrong forum to post this question and
> let me know the right place. I apologize for my stupidity, but I hope
> you understand.]]>Christian Damus2015-08-17T12:48:58-00:00