New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

derivation of a list #54

eed3si9n opened this Issue Jun 12, 2011 · 0 comments


None yet
1 participant

eed3si9n commented Jun 12, 2011


  1. a schema with a derived type off of a list.

    <xs:simpleType name="ListOfBuiltInType">
      <xs:list itemType="xs:unsignedInt"/>
    <xs:simpleType name="ListOfBuildIntTypeDerived">
      <xs:restriction base="gen:ListOfBuiltInType">
        <xs:minLength value="0"/>
        <xs:maxLength value="1"/>
  2. derive it again with a complex type.

    <xs:complexType name="ComplexListOfBuiltInType">
        <xs:extension base="gen:ListOfBuildIntTypeDerived">
          <xs:attributeGroup ref="gen:coreattrs"/>


  1. reference to ListOfBuildIntTypeDerived maps to numbers7: Long.
  2. GenSource: unsupported type: ListOfBuiltInType(SimpTypListDecl(Long)


  1. numbers7: Seq[Long]
  2. compiles.

@ghost ghost assigned eed3si9n Jun 12, 2011

@eed3si9n eed3si9n closed this in 98a6b6a Jun 13, 2011

@eed3si9n eed3si9n closed this in 014cca2 Jun 13, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment