Jump to content

XML Error: "input conversion failed"


neoform

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);
xml_parser_free($parser);

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

any ideas?
Edit/Delete Message
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.