[PHP] PHP Bug/Error with XML Parsing Syntax??

2005-06-13 Thread Scott Fletcher
I'm not sure what's wrong with PHP.. I ran the XML file through the Mozilla and it validate just fine. I get XML parse error but it gave no reason for the errors. The source code here is [code] $data = MessageWere changing/Message; $xml_parser = xml_parser_create('ISO-8859-1');

Re: [PHP] PHP Bug/Error with XML Parsing Syntax??

2005-06-13 Thread Richard Lynch
On Mon, June 13, 2005 10:21 am, Scott Fletcher said: I'm not sure what's wrong with PHP.. I ran the XML file through the Mozilla and it validate just fine. I get XML parse error but it gave no reason for the errors. The source code here is [code] $data = MessageWere changing/Message;

Re: [PHP] PHP Bug/Error with XML Parsing Syntax??

2005-06-13 Thread Scott Fletcher
Finally, the newsgroup start working once again... The problem was if (xml_error_string($xml_parser)) { which I was told should be if (xml_get_error_code($xml_parser) != XML_ERROR_NONE) { It solve my problem now. Now how do I parse the DTD's entity, element, etc along with the PHP's