targets/Xenomai/XSD
author |
Andrey Skvortsov <andrej.skvortzov@gmail.com> |
|
Mon, 18 Apr 2016 18:51:59 +0300 |
changeset 1477 |
270dba8bf87b |
parent 615 |
72bc3e53a1fa
|
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
|
1 |
|
321
|
2 |
<xsd:element name="Xenomai">
|
203
|
3 |
<xsd:complexType>
|
|
4 |
%(toolchain_gcc)s
|
615
|
5 |
<xsd:attribute name="XenoConfig" type="xsd:string" use="optional" default="xeno-config"/>
|
203
|
6 |
</xsd:complexType>
|
615
|
7 |
</xsd:element>
|