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

xs:choice of a substitution group #195

Closed
eed3si9n opened this Issue Feb 24, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@eed3si9n
Owner

eed3si9n commented Feb 24, 2013

steps

  1. compile a schema with a xs:choice that includes a substitution group.
  <xs:element name="complexSubGroup" type="gen:Person" />
  <xs:element name="complexSubGroupMember" type="gen:Person" substitutionGroup="gen:complexSubGroup" />

  <xs:complexType name="SubstitutionGroupChoiceTest">
    <xs:choice>
      <xs:element ref="gen:complexSubGroup"/>
    </xs:choice>
  </xs:complexType>

problem

  1. produces uncompilable parser code.

expectation

it produces compilable parser that looks at both members.

@eed3si9n eed3si9n closed this in 1425465 Mar 1, 2013

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