Jump to content


XML Error: "input conversion failed"

  • Please log in to reply
No replies to this topic

#1 neoform

  • Members
  • PipPipPip
  • Advanced Member
  • 241 posts
  • LocationMontreal

Posted 08 August 2006 - 08:36 PM

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
Newsique.com Social News Network

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users