-
Notifications
You must be signed in to change notification settings - Fork 5
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
The WMTS test suite restricts the resourceType valid values, while the official schema does not #98
Comments
Thank you for reporting. |
As another bit of information, in the meantime I've found that the tests are using a schema with version=1.0.1, while schemas.opengis.net has version 1.0.2 instead. |
I've also found that just updating the file with the one published online introduces other problems. For example, the specification in table 12 defines the tile matrix set limits as "positive integers" but the notes below it show that they can actually start from zero: E.g., minTileRow goes but the schema published online uses "positiveInteger" instead for maxTileRow and MaxTileCol |
See #100 for a suggested fix |
Thanks for providing the pull request. As far as I see, you edited the 1.0.2 schema to enable data type "nonNegativeInteger". Here my proposal is to contact the SWG pointing them to the divergence between spec and schema. For the test suite it is fine to use a modified schema. However, the SWG should be notified. Secondly, you just exchanged one schema from version 1.0.1 to 1.0.2. Here, I would prefer to update all of them to version 1.0.2. If you do not have the time working on this, the CITE team can help out in the next weeks. This issue is close to the top of our pipeline. |
I just realized that https://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd is the only schema in version 1.0.2. All other schemas are still tagged with version 1.0.1. |
Describe the bug
The WMTS test suite complains when it finds a URLTemplate whose resourceType that is not "tile" or "FeatureInfo".
https://github.com/opengeospatial/ets-wmts10/blob/master/src/main/resources/xsd/ogc/wmts/1.0/wmtsGetCapabilities_response.xsd#L380
However, the published schema is not restricted to it, and reads differently:
https://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd
Somehow, the ETS schema and the published one diverged.
Also, checking the specification, it mentions the two values as mandatory to support tile and featureinfo requests in the restful approach, but I don't see any mention of it being limited to those two values.
The text was updated successfully, but these errors were encountered: