Skip to content
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

improve type of sequence-based NamedGroup #20

Closed
eed3si9n opened this issue Dec 29, 2010 · 0 comments
Closed

improve type of sequence-based NamedGroup #20

eed3si9n opened this issue Dec 29, 2010 · 0 comments
Assignees
Labels

Comments

@eed3si9n
Copy link
Owner

steps

  1. compile XMLSchema.xsd.

problem

def parseXSimpleRestrictionModelGroup(wrap: Boolean): Parser[scalaxb.DataRecord[Any]] =
  ((opt(scalaxb.ElemName(targetNamespace, "simpleType")) ~ 
  rep(parseXFacetsGroup)) ^^ 
    { case p1 ~ p2 => scalaxb.DataRecord(xmlschema.XSimpleRestrictionModelSequence(p1.headOption map { fromXML[xmlschema.XLocalSimpleType](_) },
    p2.toSeq)) })

expectations

scalaxb.DataRecord[xmlschema.XSimpleRestrictionModelSequence]?

@ghost ghost assigned eed3si9n Apr 16, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant