That couldnt be true, because when i do the same thing on an another server, it works flawlessly, without any bumps on the road. I don't know what could be causing this. I have cleaned up the XML file to the simplest XML for testing purposes, and any well-formed XML file throws this error.
-----Original Message----- From: David Manriquez [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 9:45 AM To: CF-Talk Subject: RE: Document root element is missing. The XMl isn't well formed David Manriquez Desarrollador [EMAIL PROTECTED] (+56-2) 43 00 155 -----Mensaje original----- De: Elena Aminova [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 06 de Junio de 2005 9:23 Para: CF-Talk Asunto: Document root element is missing. I am getting the "Document root element is missing." error when i am trying to parse an xml file on this line: <cfset kitFile = XmlParse(xmlfile)> This problem only occurs on the live server, and NOT on the development server. I have tried debugging and its not the permissions issue, because i can read the XML files easily when i give it an exact filename and then read it <cffile action="read" file="#filename#" variable="myxml"> Yet, when i try to run the script which needs to parse the xmlfile and extract info from it, i am getting the "Document root element is missing." Any advise would be appreaciated Thanks ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208673 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54