Xcos modelica init: fix the XSD Schema 26/14026/2
authorClément DAVID <clement.david@scilab-enterprises.com>
Fri, 14 Mar 2014 08:08:31 +0000 (09:08 +0100)
committerClément DAVID <clement.david@scilab-enterprises.com>
Fri, 14 Mar 2014 13:59:51 +0000 (14:59 +0100)
commit09e180f169deaaae502b32b9b5d0c029a3307d60
tree9bbc8fd8d23803e24ac6cc980b86b5f982a216af
parent3ac381e3feb30edd39955b8b217e4fe9c2792b95
Xcos modelica init: fix the XSD Schema

The modelica compiler assume that empty elements use empty-element tags
(<foo/>), an exception is raised otherwise. This commit force the tag
usage on <output/> and <when_clauses/>.

Change-Id: I4492ccde02757a3b91e54bb62abce274c2b2e6a7
scilab/modules/xcos/etc/Modelica.xsd
scilab/modules/xcos/src/java/org/scilab/modules/xcos/modelica/Modelica.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/modelica/model/Model.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/modelica/model/ModelicaValue.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/modelica/model/ObjectFactory.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/modelica/model/Struct.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/modelica/model/Terminal.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/modelica/view/MainPanel.java