Avatar

Level 1

I read somewhere that simpleType containing a restriction is unsupported in Flex. I'm using Flex 4 beta and anywhere I do this I get no code generated for "someString". Is there a fix for this or a work around other than removing the restriction?

          <xsd:element name="someString">
            <xsd:simpleType>
              <xsd:restriction base="xsd:string">
                <xsd:maxLength value="20"/>
              </xsd:restriction>
            </xsd:simpleType>
          </xsd:element>