Skip to content
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

OpenSearch XML isn't valid #11

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 0 comments
Open

OpenSearch XML isn't valid #11

GoogleCodeExporter opened this issue Mar 16, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 7 Sep 2010 at 9:00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant