Richard Davey wrote:

Hi guys,

Does anyone know what the most common cause for the following error
from the XML parser built into PHP 4.3.6: "junk after document
element"

I am parsing data that has been returned to me via https, this is
stage 6 in a multi-step process and the first stages went okay
sending/receiving the data. Any ideas? I don't know if I can fix the
error my end or if it has to be done on the gateway?

Best regards,

Richard Davey


I get this a lot when PHP spits out an error while creating XML from one of my other scripts. Try looking at stage 5 in your process (or wherever you generated your XML data) and see what errors you have there. Another possibility is that you have some XML entities that have been incorrectly translated in the submission process.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to