eed3si9n / scalaxb

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

Error compiling CDA schemas #458

Open michaeldoodle opened 6 years ago

michaeldoodle commented 6 years ago

Getting the following error when trying to compile the standard CDA schemas found here

>> scalaxb */*/*.xsd --verbose
...
DEBUG [2018-01-19 15:16:24,207] xsd.ContextProcessor: processContext
DEBUG [2018-01-19 15:16:24,215] xsd.ContextProcessor: processContext - None
DEBUG [2018-01-19 15:16:24,240] xsd.ContextProcessor: processContext - None
DEBUG [2018-01-19 15:16:24,259] xsd.ContextProcessor: processContext - Some(urn:hl7-org:v3)
DEBUG [2018-01-19 15:16:24,266] xsd.ContextProcessor: processContext - Some(urn:hl7-org:v3)
ERROR [2018-01-19 15:16:24,279] main: Error: Referenced type {urn:hl7-org:v3}CS was not found.

CS datatype is defined in datatypes-base_SDTC.xsd. For some reason, scalaxb can't find it.

I am using scalaxb 1.5.2

Any help is appreciated!

yangcarbon commented 5 years ago

hi, did you solve the problem?