xmlprotocol.scala generated from Dublin Core won't compile
tsnee opened this issue · comments
Steps
- Create new project with
sbt new eed3si9n/scalaxb.g8
. Accept defaults except forscalaxb_version
: choose 1.8.1. cd foo-project
- 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.
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.