Changes between Initial Version and Version 1 of Ticket #3857, comment 11
- Timestamp:
- 2016-05-12T16:36:07Z (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3857, comment 11
initial v1 5 5 1. No escape sequences in the attribute values of the type “string” 6 6 Example model: Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum 7 Exported by OMC: <String start=""cylinder"" fixed="true"/>8 JModelica XSD definition: <String start=""cylinder"" fixed="true"/>7 Exported by OMC: {{{<String start=""cylinder"" fixed="true"/>}}} 8 JModelica XSD definition: {{{<String start=""cylinder"" fixed="true"/>}}} 9 9 Example model: Modelica.Blocks.Examples.PID_Controller 10 Exported by OMC: <exp:StringLiteral>") < yMin (="</exp:StringLiteral>11 JModelica XSD definition: <exp:StringLiteral>") < yMin (="</exp:StringLiteral>10 Exported by OMC: {{{<exp:StringLiteral>") < yMin (="</exp:StringLiteral>}}} 11 JModelica XSD definition: {{{<exp:StringLiteral>") < yMin (="</exp:StringLiteral>}}} 12 12 2. OpenModelicaModelDescription variableNamingConvention attribute value deviates from the XML schema definition 13 13 Example model: Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum 14 Exported by OMC: <OpenModelicaModelDescription variableNamingConvention="Structured">15 JModelica XSD definition: <OpenModelicaModelDescription variableNamingConvention="structured">14 Exported by OMC: {{{<OpenModelicaModelDescription variableNamingConvention="Structured">}}} 15 JModelica XSD definition: {{{<OpenModelicaModelDescription variableNamingConvention="structured">}}} 16 16 3. XML tag deviates from the XML schema definition 17 17 Example model: 18 {{{#!mo 18 19 model VanDerPol "Van der Pol oscillator model" 19 20 // Van der Pol model … … 25 26 der(y) = (-x) + lambda * (1 - x * x) * y; 26 27 end VanDerPol; 27 Exported by OMC: <defaultExperiment startTime="0.0" stopTime="1.0" tolerance="1e-006"/> 28 JModelica XSD definition: <defaultExperiment startTime="0.0" stopTime="1.0" tolerance="1e-006"/> 28 }}} 29 Exported by OMC: {{{<defaultExperiment startTime="0.0" stopTime="1.0" tolerance="1e-006"/>}}} 30 JModelica XSD definition: {{{<defaultExperiment startTime="0.0" stopTime="1.0" tolerance="1e-006"/>}}} 29 31 4. XML tag deviates from the XML schema definition 30 32 Example model: Modelica.Blocks.Examples.PID_Controller 31 Exported by OMC: <exp:Builtin Function is not yet implemented >32 JModelica XSD definition: no definition33 Exported by OMC: {{{<exp:Builtin Function is not yet implemented >}}} 34 JModelica XSD definition: {{{no definition}}} 33 35 5. XML tag deviates from the XML schema definition 34 36 Example model: Modelica.Blocks.Examples.PID_Controller 35 Exported by OMC: <Real start="*ERROR* initial value of unknown type" fixed="false" />36 JModelica XSD definition: <Real start="0.0" fixed="false" />37 Exported by OMC: {{{<Real start="*ERROR* initial value of unknown type" fixed="false" />}}} 38 JModelica XSD definition: {{{<Real start="0.0" fixed="false" />}}} 37 39 6. XML tag deviates from the XML schema definition 38 40 Example model: Modelica.Blocks.Examples.PID_Controller 39 Exported by OMC: <Real start="4/*ENUM:StateSelect.prefer*/" fixed="true"/>40 JModelica XSD definition: <Real start="4" fixed="true"/>41 Exported by OMC: {{{<Real start="4/*ENUM:StateSelect.prefer*/" fixed="true"/>}}} 42 JModelica XSD definition: {{{<Real start="4" fixed="true"/>}}} 41 43 7. equ:InitialEquations are not exported for the Modelica initial equation 42 44 Example model: 45 {{{#!mo 43 46 model BouncingBall "The 'classic' bouncing ball model" 44 47 type Height=Real(unit="m"); … … 57 60 end when; 58 61 end BouncingBall; 62 }}} 59 63 Exported by OMC: 64 {{{#!xml 60 65 <equ:InitialEquations> 61 66 </equ:InitialEquations> 67 }}} 62 68 63 69