ogc-schemas icon indicating copy to clipboard operation
ogc-schemas copied to clipboard

Error compiling OWS 2.0.0

Open tastle opened this issue 10 years ago • 3 comments
trafficstars

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.

  1. Commented out "context" from the POM that lists the modules. (avoiding an error there)
  2. 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.

tastle avatar Apr 06 '15 12:04 tastle

Should be fixed now.

highsource avatar Apr 12 '15 18:04 highsource

I am not sure if this can be looked at again. I am facing this issue in version 2.4.

hellstorm2004 avatar May 06 '19 06:05 hellstorm2004

I see that it is opened again! Thanks! :) If you need any inputs from me please let me know.

hellstorm2004 avatar May 06 '19 13:05 hellstorm2004