First thanks for this great tool.
Now I have the following problem with it.
If I try to generate the class from the following schema it is wrong generated
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="
http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:simpleType name="FloatEnumType">
<xs:restriction base="xs:float">
<xs:enumeration value="1.1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="5"/>
<xs:enumeration value="10"/>
<xs:enumeration value="20"/>
<xs:enumeration value="30"/>
<xs:enumeration value="50"/>
<xs:enumeration value="100"/>
<xs:enumeration value="400"/>
<xs:enumeration value="900"/>
<xs:enumeration value="27000"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="FloatEnumListType">
<xs:list>
<xs:simpleType>
<xs:restriction base="FloatEnumType">
</xs:restriction>
</xs:simpleType>
</xs:list>
</xs:simpleType>
<xs:complexType name="ComplexType">
<xs:annotation>
<xs:documentation>Type, carrying all parameter details for an application definition used in a data management software</xs:documentation>
</xs:annotation>
<xs:attribute name="FloatList" type="FloatEnumListType" use="required"/>
</xs:complexType>
</xs:schema>
Instead of a list of floats just one float is generated
public partial class ComplexType
{
private float floatListField;
public float FloatList
{
get
{
return this.floatListField;
}
set
{
this.floatListField = value;
}
}
}
Is it possible to get around this problem? Or can I expect a fix for this?
Thanks
Hanspeter