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

xmlprotocol.scala generated from Dublin Core won't compile

tsnee opened this issue · comments

Steps

  1. Create new project with sbt new eed3si9n/scalaxb.g8. Accept defaults except for scalaxb_version: choose 1.8.1.
  2. cd foo-project
  3. Download https://www.dublincore.org/schemas/xmls/qdc/2008/02/11/dc.xsd, https://www.dublincore.org/schemas/xmls/qdc/2008/02/11/dcterms.xsd, and https://www.dublincore.org/schemas/xmls/qdc/2008/02/11/dcmitype.xsd into src/main/xsd.
  4. sbt compile

(The repo created from these steps can be found at https://github.com/tsnee/foo-project.)

Problem

Compilation fails with 27 errors in target/scala-2.13/src_managed/main/sbt-scalaxb/generated/xmlprotocol.scala.

Expectation

Compilation succeeds.

Note

Thank you for creating and maintaining such a valuable public resource.