Closed pandzel-zz closed 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.
The RELAX grammar does allow foreign attributes to occur in os:Url. The schema was modified to also allow foreign elements in this context.
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.