Skip to content

inter-namespace substitution group doesn't parse #133

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

1 participant

@eed3si9n
Owner

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 added a commit that closed this issue Dec 14, 2011
@eed3si9n fixes inter-namespace substitution group parsing. fixes #133
it was assuming that either all members are local or
all memebers are foreign.
when they are mixed, foreign members were ignored.
6de226c
@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
Something went wrong with that request. Please try again.