Active
Project:
Feeds XPath Parser
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2012 at 15:10 UTC
Updated:
23 Dec 2012 at 11:20 UTC
Hi,
I'm parsing an HTML feed page with the Xpath parser. I get the error
Namespace prefix o is not defined on line 234. Error code: 201
Tag o:p invalid on line 234. Error code: 801
because in the HTML there is the tags:
<o:p></o:p>
This is making the complete parser fall over and no context is returned although it only appears once (maybe by mistake) in the complete document.
Is there anyway to either allow these namespaces or to only consider this a warning and not a fatal error so that the parser will continue?
Thanks
Rich
p.s. URL of source page on request.
Comments
Comment #1
richH commentedHi guys,
any help on this one?
Thanks
Rich
Comment #2
richH commentedahem... any help anyone?
Thanks
Rich
Comment #3
twistor commentedMaybe try the XML parser?
Comment #4
summit commentedHi, see http://drupal.org/project/feeds_xmlparser
This module is deprecated in favor of Feeds XPath Parser ..
I have exactly the same problem also with a 801 error. Does the xml need to have a specific header may be?
greetings, Martijn