Skip to content

OpenSearch XML isn't valid #11

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Use a client that enforces OpenSearch specs, such as perl's WWW::OpenSearch.

What is the expected output? What do you see instead?

Error while parsing Description XML: Node should be OpenSearchDescription: rss 
at /usr/share/perl5/WWW/OpenSearch.pm line 139
 at /usr/share/perl5/WWW/OpenSearch.pm line 139

What version of the product are you using? On what operating system?

hounder-2.0.1-binary_installer on Linux, Java 1.6.

Please provide any additional information below.

See the specification at 
http://opensearch.a9.com/spec/opensearchdescription/1.0/  The first element, 
OpenSearchDescription, does not appear in Hounder's output, which by default 
is: 

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:opensearch="http://a9.com/-/spec/opensearchrss/1.0/" 
xmlns:hounder="http://www.flaptor.com/opensearchrss/1.0/" version="2.0">
  <channel>
    <title>Hounder:</title>
    <link>http://wwwdev:47012/opensearch/search.jsp?query=&amp;start=0&amp;hitsPerPage=10</link>
    <description>Hounder search results for:</description>
    <opensearch:totalResults>0</opensearch:totalResults>

    <opensearch:startIndex>0</opensearch:startIndex>
    <opensearch:itemsPerPage>10</opensearch:itemsPerPage>
    <hounder:query></hounder:query>
    <hounder:status>0</hounder:status>
    <hounder:statusDesc>OK</hounder:statusDesc>
  </channel>
</rss>

...It does, however, appear to be valid RSS at least.



Original issue reported on code.google.com by wee...@gmail.com on 7 Sep 2010 at 9:00

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions