Tools to convert a legacy DTD to XSD which are accurate.
I have used trang. It's free.
Use Altova's XmlSpy. It is pricey, but has a 30 day free trial.
http://www.altova.com/xmlspy.html
Related
I am using protege 5 version,
How do I translate owl to uml ?,
Is there a uml diagram library for protege 5.x ?
This is an area that has interested me for some time. To the best of my knowledge there is no current tool to achieve this. There is a plugin for Protege4. See OWL2UML and this article. Another problem is that the plugin may only support an old version or subset of XMI.
If possible it may make sense to rather use Protege4. Or, if possible, you could attempt to do the translation by hand. You can find more on the OWL<-->UML translation on my website.
I am trying to develop an OWL ontology based on different UML file resources presented in XMI format. Reading through the internet for a while now, it seems that almost all the available tools or approaches are outdated and even when trying some of them they don't provide the expected outcome.
Since this ontology plays a really important role in our project, I wanted to know what is the best approachs/tools to be used in order to convert UML to OWL ?
I have looked into this myself as well and I have found no tools that can do this satisfactory. Problems I ran into were either the tools used an old version of UML, did not support all UML features, used OWL 1 rather than OWL 2 and was supported by only an old version of Protege.
I resorted by doing the translation by hand, which for most UML constructs are not too difficult. For this purpose I have done a write-up on UML vs OWL, which gives an intuitive explanation for why some of the translation is done in a certain why, as well as provide a reference for translating UML to OWL.
There's an OMG spec now available at https://www.omg.org/spec/MOF2RDF/
I haven't yet found an open-source tool implementing this directly (i.e. convert from UML/XMI to OWL/RDF), but there are EMF related activities, that may be relevant (haven't tried), e.g.:
https://github.com/ghillairet/emftriple
You'll probably never get exactly what you want unless you do it by hand, as Henriette mentioned. One viable option is using COGS, which I've found to work pretty well.
The catch is that it's related to Rot's answer by supporting the OMG specification. If it's not much work to make sure that your UML conforms to that specification, it may save some time in the long run. Here's an example of an OWL file produced by COGS.
I have a XSD (XML Schema) that I need to convert to a DTD. Is there a free utility or simple way to accomplish this? A XSLT for example? Python scripts are welcome too.
Note: this is the opposite direction of the question Free DTD to XSD conversion utility?
I am aware that the conversion may lose information…
I tried XMLSpy or oXygenXML, but it is not free and I don't have the possibility to customize the conversion.
XMLPad (https://xmlpad.soft32.com/) claims
Converting XSD to DTD and DTD to XSD.
I've never used it; your mileage may vary.
The Official website is: wmhelp.com
I think there are limited number of people needed DTD if they have XSD.
For me, XSD is more usable then DTD, and I know some migrations from DTD to XSD, usually done manually, but I surprised you need opposite conversion done by script.
May be, you have to write or order the custom tool for your needs.
Technically, a complete conversion form XSD to DTD is not feasible. Even if you found a tool, you can not be sure that the results are same because there is some features in schema not exist in DTD . For example, the problem of id scoping with IDREF in DTD.
I have designed UML diagrams in different tools (StarUML, BoUML, Papyrus, Omondo, Rational Rose, etc.) depending on the project and the date (rose was first, after Omondo, then starUMl, ..., now papyrus). However, I see that I cannot open my old UML diagrams because the tool is obsolete.
I would like to know if there is a standard format for UML diagrams. Probably not in production, but at least to know if there is proposal of standard format.
Probably, Eclipse is doing something like that with the M2 project, but do the other tools (not eclipse based) are interested in reading this format.?
Each UML tool uses its own format, but I think the era of proprietary format is over, and open format for diagrams like this should exist.
I have two answers to this:
In theory the standard exchange format for UML models is XMI but it´s true that each vendor implements a slightly different version so interchange is not a reality. Nevertheless, most tools are converging to at least support the Eclipse MDT-UML2 XMI implementation which in my opinion is becoming de facto XMI standard.
The OMG is working on a new standard : Diagram Definition that is supposed to fix the problems with the current XMI one (they are working a lot with many of the top vendors to make sure that this time they all go in the same direction) and, also important, it will allow to interchange not only the data (i.e. the info about the model elements) but also the layout and graphical representation so that after the import you get a model exactly as the same you exported in the first place
Have you heard of XMI?
#JordiCabot here adds some interesting details about it.
Besides Jordi's reference to the Diagram Definition standardization activity, please note that there is another action ongoing from OMG:
a request for comments has been issued in June 2011 for a CANONICAL XMI format, which is basically a subset and a set of additional rules for writing XMI documents that should limit the possibility of creating different XMI dialects, or at least should allow tools to understand a common dialect (the canonical one).
I am trying to convert a file exported from PowerDesigner in the UML 1.3 - XMI 1.1 format to the UML 2.1 XMI Interchange Model from Rational Software Architect. How can I do this?
It can be worth to give a try to the XMI file converter its web based using Php.
If RSA won't import XMI 1.1 then you'll need to find another tool that will. Enterprise Architect by Sparx Systems can import XMI 1.1 and can write XMI 2.1. You can get a free 30 day trial from their website at http://www.sparxsystems.com. Be warned though that there are different dialects of XMI, so you may need to try a variety of tools and see which one works best. Good luck!
The XMI, though a standard, is not implemented unifromly across tools. Altova UModel is the closest thing to the XMI standard. However, it is costly, so you can work with EA
It enables you to import XMI of different versions and also XMI into different versions, but some of your data may get lost.
The best way to do a translation from XMI 1.3 to XMI 2.1 is actually tranlating it through XSLT as both XMI1.3 and XMI2.1 are XML formats only.
I found that XMI v1.3 exported models from Power Designer v10 (v12 also does the same if I don't recall bad) does not export any UML diagram (read: class, activities, use case diagrams) so no transformation can solve the problem then, since there is no data about the diagrams at all.
Any clues about Power Designer new releases, updates, fixes, patches ?