[snip] /* let's parse! */ if($readXML = fopen(XMLDIR."testRecp.xml", "r")){ while($lineXML = fread($readXML, 4096)){ //echo $lineXML . "<br>\n"; xml_parse($covadParser, $lineXML, feof($readXML)); } } else { echo "COULD NOT READ XML FILE\n"; } /* clear the parser */ xml_parser_free($covadParser); [/snip] Having added the following line echo "XML Error " . xml_error_string(xml_get_error_code($covadParser)) . "<br>\n"; just after the xml_parse PHP is reporting "not well-formed (invalid token)" so I will have to explore. Seems that one server is not as strict as the other. Is there a way to reduced strictness of xml validation? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php