6 Replies Latest reply on Nov 7, 2006 9:38 AM by SilverStrike

    Extra white-space after page proccess

    SilverStrike
      I am trying to suppress white-spaces after the page is processed.
      Usually it doesn't bother me, but it does bother javascript.

      Explanation:
      1. I am sending an xmlhttp request to coldfusion to process.
      2. Coldfusion runs a stored procedure on an oracle database that returns the results as XML.
      3. Coldfusion returns the XML back to the client: <cfoutput>#XmlParse(ajaxXML)#</cfoutput>.
      4. The client (Javascript) runs the function that handle the data and returns an error because: " xml declaration not at start of external entity".

      I have tried using cfsetting with the attribute: enablecfoutputonly="yes", but still the result is the same.

      Any idea or lead in the right direction would be greatly appreciated.