Incorrect property type

Aug 23, 2013 at 4:21 PM
I have element description
<xsd:element name="Overskrift" maxOccurs="unbounded">
    <xsd:annotation>
        <xsd:documentation xml:lang="no">Standardisert overskrift</xsd:documentation>
    </xsd:annotation>
    <xsd:simpleType>
        <xsd:restriction base="xsd:normalizedString">
            <xsd:minLength value="1"/>
        </xsd:restriction>
    </xsd:simpleType>
</xsd:element>
But for some reason Xsd2Code generates simple string property
instead of Collection<string>.
private string overskriftField;

[System.Xml.Serialization.XmlElementAttribute(DataType = "normalizedString")]
public string Overskrift
{
    get
    {
        return this.overskriftField;
    }
    set
    {
        this.overskriftField = value;
    }
}
What could be the problem ?