0

I have a problem when I read an xml file from a php page and it includes the same data in another link.

The exception is detailed is in this link.

The tutorial I am using is code in this link.

Stev_k
  • 2,118
  • 3
  • 22
  • 36
  • Related: http://stackoverflow.com/questions/2310139/how-to-read-xml-response-from-a-url-in-java – SteAp Feb 26 '12 at 23:20

1 Answers1

0

Try adding this to the PHP file before your output is sent.

<?php header("Content-type: text/xml"); ?>

If the problem persists try checking your XML markup using this tool, check xml markup.