eed3si9n / scalaxb

scalaxb is an XML data binding tool for Scala.
http://scalaxb.org/
MIT License
335 stars 154 forks source link

xmlprotocol.scala generated from Dublin Core won't compile #562

Open tsnee opened 3 years ago

tsnee commented 3 years ago

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.