OpenSearch Validator

This tool is an attempt to make the development and testing of OpenSearch and Internet Explorer 8 Visual Search feeds a bit easier. It is developed purely from my own experiences of what does and doesn't actually work.

In the spirit of being open, the source code is published on CodePlex.

  1. Downloaded source page from [http://en.wikipedia.org/].
  2. Found an OpenSearch description link on source page [http://en.wikipedia.org/] for [/w/opensearch_desc.php].
  3. Downloaded description from [http://en.wikipedia.org/w/opensearch_desc.php].
  4. Validated OpenSearch description from [http://en.wikipedia.org/w/opensearch_desc.php] against XSD.
  5. A HTML search interface [http://en.wikipedia.org/w/index.php?title=Special:Search&search={searchTerms}] was found in the OpenSearch description.
  6. A JSON search interface [http://en.wikipedia.org/w/api.php?action=opensearch&search={searchTerms}&namespace=0] was found in the OpenSearch description.
  7. No RSS search interfaces were found in the OpenSearch description. We searched for a <Url /> node with the 'type' attribute set to 'application/x-suggestions+xml' but none was found. Adding an XML search interface will provide search suggestions for Internet Explorer 8 users.
  8. A visual search suggestion interface [http://en.wikipedia.org/w/api.php?action=opensearch&format=xml&search={searchTerms}&namespace=0] was found in the OpenSearch description.
  9. The visual search suggestions at [http://en.wikipedia.org/w/api.php?action=opensearch&format=xml&search=test&namespace=0] were served with media type of [text/xml] but [application/x-suggestions+xml] was expected.
  10. Downloaded visual search suggestions from [http://en.wikipedia.org/w/api.php?action=opensearch&format=xml&search=test&namespace=0].
  11. Failed while validating visual search suggestions from [http://en.wikipedia.org/w/api.php?action=opensearch&format=xml&search=test&namespace=0] against XSD. Errors follow.
  12. Expected root XML node to have namespace of [http://schemas.microsoft.com/Search/2008/suggestions] but namespace was [http://opensearch.org/searchsuggest2].