Jump to content


This topic is now archived and is closed to further replies.


XML Error: "input conversion failed"

Recommended Posts

Hi, i'm using PHP's XML functions to process 3 XML feeds. For some reason the 3rd feed (which renders as proper XML in firefox) is throwing the following error

WARNING - xml_parse_into_struct() [function.xml-parse-into-struct]: input conversion failed due to input error, bytes 0x9D 0x20 0x2E 0x2E (line: 10)

from this code:

PHP Code:
$parser = xml_parser_create();xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);
xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);
xml_parse_into_struct($parser, $xml, $tags);

(line 10 is the "xml_parse_into_struct($parser, $xml, $tags);" line)

any ideas?
Edit/Delete Message

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.