Re: Error loading an Atom feed into an instance
Posted by
Ethan Gruber on
URL: https://discuss.orbeon.com/Error-loading-an-Atom-feed-into-an-instance-tp3786027p3786047.html
As an addendum, it works with another query-able feed that I have (
http://numismatics.org/search/feed/?q=*:*), so perhaps the issue may lie in the namespaces?
On Fri, Sep 2, 2011 at 9:15 AM, Ethan Gruber
<[hidden email]> wrote:
Hi all,
I've run into an error that I can't quite figure out. I want to load an Atom feed into an instance for processing. The feed is based on Solr and is thus searchable with the Lucene query syntax. Here's how it functions:
A user types in their search string into an xforms:input, instance('search-query'). The user clicks a button which sends a submission called query-nomisma, below.
<xforms:submission id="query-nomisma" serialization="none" method="get" action="http://nomisma.org/feed/?q=typeof:mint+{instance('search-query')}" instance="feed" replace="instance">
<xforms:message ev:event="xforms-submit-error" level="modal">Unable to communicate with nomisma.org Atom feed.</xforms:message>
</xforms:submission>
The response is placed into an instance called feed:
<xforms:instance id="feed">
<feed xmlns=""/>
</xforms:instance>
I get the error when I execute the submission. I have checked my server logs, and a query comes in successfully, so the problem must be in how Orbeon is handling the data that is returned. Here is a URL to a feed: http://nomisma.org/feed/?q=typeof:mint+attica . Is there anything obvious that I am missing here?
Thanks,
Ethan
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws