XPath HTML parser:
Get value of an attribute.
a/@href - give error:500.
string(a/@href) - is OK.

Comments

CGarces’s picture

Same for me ussing 7.x-1.0-beta3.
Using a/@href returns
href = "http:/foo.bar.com"

I expect just
http:/foo.bar.com

twistor’s picture

Status: Active » Postponed (maintainer needs more info)

@Dimm, How/when do you get this 500 error. Is the import failing when you use a certain xpath query?

@CGarces, Can I get more information about your setup? That is very unusual.

Dimm’s picture

Yes. The import is failing.

Dimm’s picture

Issue summary: View changes

+XPath HTML parser

twistor’s picture

Assigned: Dimm » Unassigned
Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)