When I create an feed with the feeds xpath parser three things happen:

1. I get an error message:

warning: array_filter() [function.array-filter]: The first argument should be an array in /home/obamac6/public_html/live/sites/all/modules/feeds_xpathparser/FeedsXPathParserBase.inc on line 48.
warning: array_keys() [function.array-keys]: The first argument should be an array in /home/site/public_html/live/sites/all/modules/feeds_xpathparser/FeedsXPathParserBase.inc on line 48.
warning: array_filter() [function.array-filter]: The first argument should be an array in /home/site/public_html/live/sites/all/modules/feeds_xpathparser/FeedsXPathParserBase.inc on line 55.
warning: array_keys() [function.array-keys]: The first argument should be an array in /home/site/public_html/live/sites/all/modules/feeds_xpathparser/FeedsXPathParserBase.inc on line 55.
warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/site/public_html/live/sites/all/modules/feeds_xpathparser/FeedsXPathParserDOMXPath.inc on line 58.

2. nothing is imported

3. My context and mappings disappear on in the feed's settings (but not in the feed importer)

This might be a bug(?), but I'm going to categorize it as a support request in case it's user error.

I'm using YQL to query regulations from a .gov website. Here's the link to the YQL console with the xpath query. The YQL console also creates a REST query url which I use as my feed url:
http://query.yahooapis.com/v1/public/yql?q=USE%20'http%3A%2F%2Fobamacarewatcher.org%2Facaregsunderreviewatoira_noxsi.xml'%20AS%20reg_records%3B%20Select%20TITLE%2C%20RIN%2C%20STAGE%2C%20DATE_RECEIVED%2C%20HEALTH_CARE_ACT%20from%20reg_records%20WHERE%20HEALTH_CARE_ACT%3D'Yes'%3B

Here's my context and mappings:

context: query/results/REGACT

field_oirareg_rin: RIN
title: TITLE
field_oirareg_stage: STAGE
field_oirareg_date_rcvd:start: DATE_RECEIVED

I've been struggling with this for weeks so, any help would be appreciated.

Comments

jvinci’s picture

Issue summary: View changes

make a few corrections to my original post.

twistor’s picture

Status: Active » Closed (fixed)

This was probably fixed a long time ago.

Closing out old issues. If you're still having this problem, feel free to re-open it.