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

inter-namespace substitution group doesn't parse #133

Closed
eed3si9n opened this Issue Dec 14, 2011 · 0 comments

Comments

Projects
None yet
1 participant
@eed3si9n
Owner

eed3si9n commented Dec 14, 2011

originally reported by @psnively

steps

  1. create schema X1 that defines a substitution group H with member M1.
  2. create another schema X2 with another namespace and member M2 to the substitution H.
  3. compile X1 and X2.
  4. parse a document including M2.

problem

scalaxb.ParserFailure: parser error "`{http://www.example.com/general}subgroupHead' expected but {http://www.example.com/general_import}SubGroupMember3 found" while parsing /{http://www.example.com/general}subgroupTop/{http://www.example.com/general_import}SubGroupMember3

expectation

compiles.

@eed3si9n eed3si9n closed this in 6de226c Dec 14, 2011

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