Community
Participate
Working Groups
Currently the only way to create an SML-IF document is to export SML documents. A suggested alternative is File > New > SML-IF document
Fixed - there is now a wizard for creating a new SML-IF file, available from New > Other...
Question for Valentina... this does exist now, but is it what you envisioned to create an SML-IF file that just has identity information in it? I mean, were you thinking in the short term that people would just fill in the SML definition and instance data by hand or copy/paste? I guess I'm wondering what the near term usefuless of this feature is.
We need to generate <definitions> and <instances> tags, so the user could use the editor add SML documents to the newly created SML-IF document. The editor does not show the "Add Document" menu option without those elements created.
Fixed in CVS-HEAD. This is now a lot more useful since the new SML-IF file can be augmented by selecting Add Document.
Even though the definitions and instances tree items are there, for some reason the popup menu to add documents is not displaying. Need to investigate.
Marking this as fixed again, since the problem I discovered needs a separate bug report.
It turns out that adding an empty <definitions> or <instances> element produces an invalid SML-IF document. Need to solve this in a different way.
Now, if the SML-IF file has no definitions or instances (which can happen even if the document wasn't created via this new SML-IF file support), and therefore there is no parent <definitions> or <instances> node, the "Add Document" menu item is now available. I had to add code to handle that case, and now if neither of those nodes is selected, the user is prompted for the type of document to add. The editor will automatically add the parent node in the process of adding the child node.
this was completed awhile ago