Closed bermud closed 5 years ago
@dstenger @lgoltz
I have updated the tests with the local schema reference of EOWCS profile. Schemas are downloaded from here http://schemas.opengis.net/wcs/wcseo/1.0/ and added into resources. These schemas are internally using URL to import other schemas so I have updated that as well and pointed to local reference.
After testing this changes with the teamengine, there are few tests failing with the validation and before changes, they are working. But I am not getting what was the exact issue with the particular test.
Failure Test:
Test wcseo:get-kvp-req32
Request d1173e378_1:
Method: get
URL: http://ows.eox.at/cite/eoxserver/ows?service=WCS&VERSION=2.0.1&request=DescribeEOCoverageSet&EOID=MERIS_MGVI
Response from parser ctlp:XMLValidatingParser:
Messages from parser ctlp:XMLValidatingParser:
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
15 validation errors detected.
Message d1173e418_1:
[FAILURE] Parsing or validation errors.
Request d1173e378_2:
Method: get
URL: http://ows.eox.at/cite/eoxserver/ows?service=WCS&VERSION=2.0.1&request=DescribeEOCoverageSet&EOID=MER_FRS
Response from parser ctlp:XMLValidatingParser:
Messages from parser ctlp:XMLValidatingParser:
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
Validation error:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'eop:EarthObservation'. One of '{"http://www.opengis.net/ows/2.0":Reference}' is expected.
15 validation errors detected.
Message d1173e418_2:
[FAILURE] Parsing or validation errors.
Result: Failed
Current changes are here: https://github.com/opengeospatial/ets-wcs20/tree/feature-issue%2335
@keshav-nangare I've fixed the paths to the referenced schemas. Can you check if this solves the problem?
Test of pull request: Test execution is much faster now.
WCS EO profile. takes too long
Tested with http://ows.eox.at/cite/eoxserver/ows?service=wcs&version=2.0.1&request=getcapabilities
Need too investigate the reason. Maybe the schemas are not cached.