Closed (fixed)
Project:
Feeds Extensible Parsers
Version:
7.x-1.x-dev
Component:
XML parser
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 May 2013 at 16:29 UTC
Updated:
19 Jan 2020 at 10:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
vacho commentedThis patch solve the problem for cases XML.
Comment #2
summit commentedHi,
Yes this patch works, please commit!
Greetings, Martijn
Comment #4
vacho commented#1: feeds_xpathparser-XML cases load html entities-1998398-1.patch queued for re-testing.
Comment #6
vacho commentedthis patch no problen in the name
Comment #6.0
vacho commentedHtml entities are not properly loaded in xml cases
Comment #7
twistor commentedCan you explain the use case? XML isn't supposed to support HTML entities. It sounds like a bug in your source XML. I'm open to it, but there could be other side effects.
Comment #8
twistor commentedI'm still not convinced.
Comment #9
vacho commentedHi @twistor. Thanks for your comments.
In this xml example:
please see:añ
this Html Entities are: aÃ=aÃ, ±=±
Because why the client and generates its data. It's something we do not always have control, and I guess it's technical information. But we can retrive and store them.
Comment #10
vacho commentedHi!!!
I update the patch for your considerations
Thanks.
Comment #11
vacho commentedHello.
I have been working on improving the script to actually support all HTML entities.
Please check this patch
Comment #12
twistor commentedWe can't call html_entity_decode() that will break things tremendously.
I have an idea how to fix this, but no new features are going into feeds_xpathparser, so moving the issue.
Comment #13
twistor commentedComment #14
twistor commentedComment #15
twistor commentedUse the built-in map if available.
Comment #17
twistor commentedComment #19
twistor commentedSigh.
Comment #21
twistor commentedwow. such fail.
Comment #22
twistor commentedWe shouldn't decode quotes and apostrophes.
Comment #24
twistor commentedComment #25
twistor commentedComment #28
megachrizPatch to port this to D8.
This port of this issue was started in #3102208-13: Port D7 features to D8, hence the interdiff.
Comment #29
megachrizReuploading to be able to test against 8.x-1.x instead of 7.x-1.x.
Comment #31
megachrizCommitted #29.
Switching version back to 7.x-1.x as that was the version this issue was originally reported for.
Comment #32
megachriz