eed3si9n / scalaxb

scalaxb is an XML data binding tool for Scala.

Home Page:http://scalaxb.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fails to generate valid binding for XMLSchema.xsd

pgrandjean opened this issue · comments

I tried to generate the binding for the XSD of XSD: https://www.w3.org/2012/04/XMLSchema.xsd

Unfortunately the generated code does not compile. Example of errors:

[error] /Users/[...]/Development/scalaxb-xsd/target/scala-2.11/src_managed/main/sbt-scalaxb/xsd11/foo/bar/xsd11/XMLSchema.scala:30:12: class OpenAttrs needs to be abstract, since method attributes_= in trait OpenAttrsable of type (value: Map[String,scalaxb.DataRecord[Any]])(implicit evidence: scalaxb.CanWriteXML[Map[String,scalaxb.DataRecord[Any]]])Unit is not defined
[error] case class OpenAttrs(var attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends OpenAttrsable
[error]            ^