Re: Document root element is missing.

2007-04-18 Thread Kris Jones
Sounds kind of obvious, but is the document someRss.xml well-formed? It must have a single root element to be valid. This block is invalid because there is no single root element: record columnsome value A/column columnsome value B/column /record

Re: Document root element is missing.

2007-04-18 Thread Dwayne Cole
Maybe I should clarify. When I fetch the XML file with cfhttpurl=http://www.somewebsite.com/rss/someRss.xml;method=get the resulting CFHTTP.FileContent variables contains the following lines ?xml version=1.0 encoding=UTF-8? ?xml-stylesheet type=text/xsl href=news_rss.xsl? I need some

RE: Document root element is missing.

2005-06-06 Thread David Manriquez
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

RE: Document root element is missing.

2005-06-06 Thread Aminova, Elena
. -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

RE: Document root element is missing.

2005-06-06 Thread COLLIE David
Outside shot, try wrapping in cfoutput (anywhere you can, especially if using cfxml)... Caught me a few times when enablecfoutputonly is set to yes so you end up trying to parse an empty string -- dc ~| Logware

Re: Document root element is missing.

2005-06-06 Thread Adam Haskell
you are using MX 7? Adam H On 6/6/05, Elena Aminova [EMAIL PROTECTED] wrote: 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

RE: Document root element is missing.

2005-06-06 Thread Aminova, Elena
Well, I am using CFMX on the server that throws an error and CF7 on the one that doesn't throw an error. Can that cause this error? Why would it? -Original Message- From: Adam Haskell [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 9:59 AM To: CF-Talk Subject: Re: Document root

RE: Document root element is missing.

2005-06-06 Thread Emmet McGovern
-Original Message- From: Aminova, Elena [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 10:10 AM To: CF-Talk Subject: RE: Document root element is missing. Well, I am using CFMX on the server that throws an error and CF7 on the one that doesn't throw an error. Can that cause

Re: Document root element is missing.

2005-06-06 Thread Adam Haskell
it? -Original Message- From: Adam Haskell [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 9:59 AM To: CF-Talk Subject: Re: Document root element is missing. you are using MX 7? Adam H On 6/6/05, Elena Aminova [EMAIL PROTECTED] wrote: I am getting the Document root

RE: Document root element is missing.

2005-06-06 Thread Aminova, Elena
Is there a way to fix this without upgarding that server to CF7? If that is the issue... -Original Message- From: Adam Haskell [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 10:36 AM To: CF-Talk Subject: Re: Document root element is missing. MX 7 can take a file name

RE: Document root element is missing.

2005-06-06 Thread S . Isaac Dealey
: Re: Document root element is missing. MX 7 can take a file name as an arguement MX 6 can not. So yes that would be the issue :) Adam H s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http

RE: Document root element is missing.

2005-06-06 Thread Mark A Kruger
PROTECTED] Sent: Monday, June 06, 2005 9:10 AM To: CF-Talk Subject: RE: Document root element is missing. Well, I am using CFMX on the server that throws an error and CF7 on the one that doesn't throw an error. Can that cause this error? Why would it? -Original Message- From: Adam Haskell

RE: Document root element is missing.

2005-06-06 Thread Emmet McGovern
and want me to confirm it, send over the file. Emmet -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 11:33 AM To: CF-Talk Subject: RE: Document root element is missing. Check to see if there is debugging on. If you are retrieving the file through

Re: Document root element is missing.

2005-06-06 Thread Adam Haskell
Sorry I was busy with a new report so my response was not very helpful :( Like Issac said though just use cffile and parse the contents. In MX 6 XMLparse only parsed a string (which it assumed was a well formed XML document, if it wasn't it would spot an error back at you). In MX 7 they added

RE: Document root element is missing.

2005-06-06 Thread Aminova, Elena
? -Original Message- From: Emmet McGovern [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 11:45 AM To: CF-Talk Subject: RE: Document root element is missing. Did you open the file in hexedit like I suggested. I can almost guarantee the presence of a BOM. If you don't have a hex editor you

RE: Document root element is missing.

2005-06-06 Thread James Holmes
cffile action=read file=#filename# variable=myxml cfset MyXMLOBJECT = XMLParse(myxml) -Original Message- From: Aminova, Elena [mailto:[EMAIL PROTECTED] Sent: Tuesday, 7 June 2005 12:12 To: CF-Talk Subject: RE: Document root element is missing. I have 100s of XML files, if not more

Re: Document root element is missing.

2005-06-06 Thread Adam Haskell
after cffile do cfset myXML=xmlParse(myxml) Thats all Adam H On 6/6/05, Aminova, Elena [EMAIL PROTECTED] wrote: I have 100s of XML files, if not more to go through, it would be impossible to go through each one of them and strip off everything before the root element... When I do the

RE: Document root element is missing.

2005-06-06 Thread S . Isaac Dealey
If you know what the root element is, you can write a CF script to strip everything else using a regular expression reasonably easily... maybe even without knowing what the root element is... cfloop query=getFile cffile action=read file=#getFile.path# variable=xml cfset xml =

RE: Document root element is missing.

2005-06-06 Thread Emmet McGovern
So are you saying even after reading with cffile you cant just xmlparse(myxml)? Emmet -Original Message- From: Aminova, Elena [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 12:12 PM To: CF-Talk Subject: RE: Document root element is missing. I have 100s of XML files, if not more

RE: Document root element is missing... Another issue rises

2005-06-06 Thread Aminova, Elena
on the other server, the CF7 server, but gives this here. Any suggestions? -Original Message- From: Emmet McGovern [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 12:22 PM To: CF-Talk Subject: RE: Document root element is missing. So are you saying even after reading with cffile you cant

RE: Document root element is missing... Another issue rises

2005-06-06 Thread Emmet McGovern
Code? -e -Original Message- From: Aminova, Elena [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 1:09 PM To: CF-Talk Subject: RE: Document root element is missing... Another issue rises I have added the cffile and it gets rid of the Document root element is missing. finally

RE: Document root element is missing... Another issue rises

2005-06-06 Thread S . Isaac Dealey
-Original Message- From: Aminova, Elena [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 1:09 PM To: CF-Talk Subject: RE: Document root element is missing... Another issue rises I have added the cffile and it gets rid of the Document root element is missing. finally