ogc-schemas
ogc-schemas copied to clipboard
Error compiling OWS 2.0.0
This looks to be a limitation of XJC (https://java.net/jira/browse/JAXB-1011), but since it is affecting the build, I figured I'd file it.
I've only commented out "context" and did a clean build.
- Commented out "context" from the POM that lists the modules. (avoiding an error there)
- mvn clean package
[ERROR] Error while parsing schema(s).Location [ http://schemas.opengis.net/ows/2.0/owsAdditionalParameters.xsd{54,48}]. com.sun.istack.SAXParseException2; systemId: http://schemas.opengis.net/ows/2.0/owsAdditionalParameters.xsd; lineNumber: 54; columnNumber: 48; Base complex type "AdditionalParametersBaseType" is derived by restriction, while this complex type "AdditionalParametersType" is derived by extension. This is not currently handled by XJC, but we are seeking input on this issue. Please report this to the JAXB team.
Should be fixed now.
I am not sure if this can be looked at again. I am facing this issue in version 2.4.
I see that it is opened again! Thanks! :) If you need any inputs from me please let me know.