targets/Linux/XSD
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 18 Apr 2016 18:51:59 +0300
changeset 1477 270dba8bf87b
parent 204 f572ab819769
child 3732 929276eea252
permissions -rwxr-xr-x
fix issue, when structure data type with array field is created

Traceback (most recent call last):
File "editors/DataTypeEditor.py", line 669, in ElementArrayTypeFunction
self.RefreshTypeInfos()
File "editors/DataTypeEditor.py", line 761, in RefreshTypeInfos
self.Controler.SetDataTypeInfos(self.TagName, infos)
File "PLCControler.py", line 2075, in SetDataTypeInfos
array.baseType.setcontent(PLCOpenParser.CreateElement(
AttributeError: 'lxml.etree._Element' object has no attribute 'setcontent'
203
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     1
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     2
                  <xsd:element name="Linux">
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     3
                    <xsd:complexType>
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     4
                      %(toolchain_gcc)s
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     5
                    </xsd:complexType>
cb9901076a21 Added concepts :
etisserant
parents:
diff changeset
     6
                  </xsd:element>