Menu

#71 updateTemplate.bat: does not conform to XSD

None
pending-accepted
RUBY (3)
5
2013-02-20
2012-07-12
No

plcslib\etc\Ruby\updateTemplate.bat
Whne using updateTemplate.bat to update a template with constraint blocks, tehe constraint blocks are added in teh wrong place.
The XSD (plcslib/xsd/templates.xsd)
Is
<xs:element name="template">
<xs:complexType>
<xs:sequence>
<xs:element ref="models"/>
<xs:element ref="contacts"/>
<xs:element ref="description"/>
<xs:element minOccurs="0" ref="related.templates"/>
<xs:element minOccurs="0" ref="binding.diagrams"/>
<xs:element ref="parameters"/>
<xs:element minOccurs="0" ref="output_ports"/>
<xs:element minOccurs="0" ref="constraints"/>
<xs:element minOccurs="0" ref="instantiated.blocks"/>
<xs:element minOccurs="0" ref="constraint.blocks"/>
<xs:element minOccurs="0" ref="instances"/>
<xs:element minOccurs="0" ref="example_datasets"/>
</xs:sequence>

Discussion

  • Phil Spiby

    Phil Spiby - 2013-02-20

    Checking in sysml-to-tmpl.rb;
    /cvsroot/plcslib/plcslib/etc/Ruby/sysml-to-tmpl.rb,v <-- sysml-to-tmpl.rb
    new revision: 1.7; previous revision: 1.6
    done

     
  • Phil Spiby

    Phil Spiby - 2013-02-20
    • status: open --> pending-accepted
    • milestone: -->
     

Log in to post a comment.