I wrote a small web server using wsgiref.simple_server in python. It get and parse request via URL (environ.get('PATH_INFO')). Data return in xml format. I've test it, everything ok before return to client, xml string no problem (using print xml to view before return). With Firefox, IE, sometimes xml string show in FF, IE has error:
XML Parsing Error: unclosed token Location: http://192.168.1.100:8888/trackSearch%3AQuery=%22hhh%22 Line Number 190, Column 5...
(before return, xml string has no error). I've restart web server, problem disappear, but this problem repeat with other request.
Sorry, I'm not good at English. Please help me. Thanks very much.