Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions mef/model_organization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,17 @@ The Model Exchange Format introduces also eighteen constructs.
:name: schema_model
:caption: The RNC schema for the XML representation of a model
:language: rnc

The Model Exchange Format provides a version tag for the root XML element.
This optional tag indicates the version of the MEF standard
required by the model.
To indicate the version of the model itself,
one can use the extensible attribute system provided by the MEF.

.. code-block:: xml

<opsa-mef version="2.0d"> <!-- The MEF standard version to process this file -->
<attributes>
<attribute name="version" value="1.0"/> <!-- The model version -->
</attributes>
</opsa-mef>
1 change: 1 addition & 0 deletions mef/schema/model.rnc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
model =
element opsa-mef {
attribute version { xsd:string }?,
name?,
label?,
attributes?,
Expand Down