opengeospatial / ets-cat30

OGC Catalogue 3.0 Conformance Test Suite
Other
0 stars 6 forks source link

Unrecognized "Parameter" OpenSearch extension. #15

Closed pandzel-zz closed 9 years ago

pandzel-zz commented 9 years ago

According to the OpenSearch "Parameter" extension, it is possible to provide additional information for any Url element in the following manner:

<Url xmlns:parameters="http://a9.com/-/spec/opensearch/extensions/parameters/1.0/"  type="text/html"  template="http://example.com/search"  parameters:method="POST"  parameters:enctype="application/x-www-form-urlencoded">    <parameters:Parameter name="q" value="{searchTerms}"/>    <parameters:Parameter name="count" value="{itemsPerPage}" minimum="0"/>    <parameters:Parameter name="start" value="{startIndex}" minimum="0"/> </Url>

Such structure causes schema validation to fail.

rjmartell commented 9 years ago

The RELAX grammar does allow foreign attributes to occur in os:Url. The schema was modified to also allow foreign elements in this context.