Hi Justin (cc'ing geoserver-devel),
first of all, thank you for fixing the wcs module xml dependencies
and the xml-xsd error reporting issue. Now I have the unit
test making a GetCapabilities POST request working.
Yet I'm quite confused as to why it's working at all
To make it work you added a dependency on the gt2-xml-ows
module, that has xml-xsd bindings for the ows 1.0 model.
Yet, the wcs 1.1 spec is based on ows 1.1, so in order
to create the wcs 1.1 EMF model I had to create an OWS 1.1
EMF model first, and have the WCS 1.1 depend on it.
So the bindings you configured should be producing an
incompatible object model.
As far as I know WFS 1.1 too depends on OWS 1.1, so I
gather nothing in the code is really using OWS 1.1
capabilities, otherwise there would be incompatibilities.
My current guess is that this is happening because of
two factors:
* OWS 1.1 is used mainly in the capabilities response,
and the wfs 1.1 is using the old style encoder to
generate a capabilities model instead of the new xml-xsd
encoder (the old style is totally schema unware so
you are totally hands free)
* parsing GetCapabilities request wise, OWS 1.1 added
the idea of sections, but WFS 1.1 disregards them
(the spec says supporting section oriented output
is option afaik).
WCS 1.1 situation is pretty much the same. Since I
had difficulties using xml-xsd, the capabilities
and describe coverage response is made using the
old xml encoder, and these are the biggest users
of ows 1.1 elements. But I'm missing how you could
generate the EMF bindings for WFS without
having an OWS 1.1 EMF model around...
Ah, one thing. To parse GetCoverage some ows elements
are required as well, but they are few, so maybe it's
possible to get along with the ows 1.0 emf model.
ows:Identifier
ows:MimeType
ows:BoundingBox
All in all the situation looks pretty confusing
to me. Any hint on a decent way forward? Do we really
need an OWS 1.1 model? It seems to me we need it
only if we decide to switch the capabilities
response encoders to xml-xsd, but I may be mistaken.
Cheers
Andrea