Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OGC WMS 1.3.0 test gives "validate-using-schemaLocation" failure in the test result for an INSPIRE View Service WMS #110

Open
robblis opened this issue Jun 10, 2024 · 4 comments
Assignees

Comments

@robblis
Copy link

robblis commented Jun 10, 2024

Describe the bug
While testing a valid INSPIRE View Service WMS failures are encountered.

To Reproduce
Steps to reproduce the behavior:

  1. Goto https://cite.opengeospatial.org/teamengine/viewSessions.jsp
  2. Create a new OGC_Web Map Service (WMS)_1.3.0 test session.
  3. Use the following service endpoint. https://agsinspire2.esri.com/server/services/A4I/EnergyResources/MapServer/WMSServer?request=GetCapabilities&service=WMS
  4. See errors: validate-using-schemaLocation FAILED.

Expected behavior
See validate-using-schemaLocation pass

Screenshots
image

Additional context
This seems to occur when adding the following namespace and schema location for INSPIRE view service to the getCapabilitiies.
xmlns:inspire_vs="http://inspire.ec.europa.eu/schemas/inspire_vs/1.0"
http://inspire.ec.europa.eu/schemas/inspire_vs/1.0 http://inspire.ec.europa.eu/schemas/inspire_vs/1.0/inspire_vs.xsd

@robblis robblis changed the title INSPIRE View Service WMS Fails Schema Validation OGC test gives "validate-using-schemaLocation" in the test result for an INSPIRE View Service WMS Jun 10, 2024
@robblis robblis changed the title OGC test gives "validate-using-schemaLocation" in the test result for an INSPIRE View Service WMS OGC test gives "validate-using-schemaLocation" failure in the test result for an INSPIRE View Service WMS Jun 10, 2024
@robblis robblis changed the title OGC test gives "validate-using-schemaLocation" failure in the test result for an INSPIRE View Service WMS OGC WMS 1.3.0 test gives "validate-using-schemaLocation" failure in the test result for an INSPIRE View Service WMS Jun 10, 2024
@dstenger
Copy link
Contributor

Thank you for reporting. We can reproduce your problem and will do further investigation.

I propose to discuss the second screenshot (second-style-invalid) in #112 as the error message is the same as reported in #112. Can you please move the screenshot from this issue into the other one (e.g. by editing the description)?

@robblis
Copy link
Author

robblis commented Jun 12, 2024

Hi @dstenger, I moved the second issue into #112 . Thanks for looking at this.

@bpross-52n
Copy link
Contributor

@robblis, your observation is correct, the issue is the schema location URL http://inspire.ec.europa.eu/schemas/inspire_vs/1.0
(http://inspire.ec.europa.eu/schemas/inspire_vs/1.0 http://inspire.ec.europa.eu/schemas/inspire_vs/1.0/inspire_vs.xsd) The INSPIRE schemas have been moved to https, accessing the schemas using http leads to a redirect. The Java Validator does not follow these by default. Would it be possible for you to change the schema location to https?

@robblis
Copy link
Author

robblis commented Jul 26, 2024

Hi @bpross-52n, yes, I believe we should be able to use the https schema location. We will make the changes and run through the validator again.

Update...

After updating the schema to "https" for the URLs in question in the GetCapabilities XML, the WMS service passed the "validate-using-schemaLocation" test.

@dstenger dstenger added this to CITE Aug 1, 2024
@dstenger dstenger moved this to Waiting in CITE Aug 1, 2024
@dstenger dstenger moved this from Waiting to To do in CITE Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

3 participants