eed3si9n / scalaxb

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

elma.wsdl generates an empty package #503

Open dbdbdb opened 5 years ago

dbdbdb commented 5 years ago

Compiling

https://difi.github.io/spike-elma/elma_wsdl.html

give rise to a bunch of files. One of them (elma_type1.scala) is an empty package with no defintions containing only two lines:

// Generated by <a href="http://scalaxb.org/">scalaxb</a>.
package generated

and then the compilation ends with:

[error] Found names but no class, trait or object is defined in the compilation unit.
[error] The incremental compiler cannot record the dependency information in such case.
[error] Some errors like unused import referring to a non-existent class might not be reported.
[error]     
[error] // Generated by <a href="http://scalaxb.org/">scalaxb</a>.
[error] ^
[error] one error found
[error] (compile:compileIncremental) Compilation failed
sad-fat-cat commented 5 years ago

I have same problem with some xsd's -- scalaxb generate empty file. No idea how solve this.

grale88 commented 4 years ago

Is there any progress on this issue? We have exact same problem with some empty files generated with package definition only.

angoglez commented 2 years ago

Experiencing this issue with other WSDLs. Any clue about what can be causing the problem, so at least we can make a workaround?