just a guess but do you have output="false" set for each of the
methods in application.cfc?
if you dont they will generate whitespace (including lines of it) so
that you end up with whitespace before the xml declaration.

Bill
On 12/13/05, Flynn, Robert E <[EMAIL PROTECTED]> wrote:
>
>
>
> Hello,
>
>
>
> We are looking for suggestions on how to get the <cfprocessingdirective
> suppresswhitespace="Yes"> tag working in our Application.cfc. This
> Application.cfc sits in the folder of an application that generates MS Word
> documents from XML. When we open the generated word document, the error we
> get says that the XML declaration should be the first line on the page. We
> tried putting cfproccessingdirective tags on every page within the
> application, but that wouldn't work either.  However, if we replace the
> Application.cfc with an Application.cfm, we can open the generated word
> documents just fine.  The only code in the Application.cfm is the
> cfprocessingdirective tags surrounding cfsets of the datasource values. We
> would like to get this to work with the Application.cfc (which extends the
> parents Application.cfc) because of the authorization code tied in to the
> Application.cfc. Any ideas would be greatly appreciated.
>
>
>
> Thanks,
>
>
>
> Bob
>
>
>
> ____________________________________________________
>
> Bob Flynn
>
> Associate Director of Information Systems Technology
>
> Systems & Accounting Graduate Programs
>
> Indiana University Kelley School of Business
>
> 1275 E. Tenth Street, Suite 2000    [office] 812/855-5509
>
> Bloomington, IN 47405-1701        [fax] 812/856-4123
>
> http://sagp.kelley.indiana.edu/   [email] [EMAIL PROTECTED]
>
>
>
> Manager, Indiana University Macromedia Users Group
>
> http://iummug.indiana.edu
>
> ____________________________________________________
>
>
> ----------------------------------------------------------
>  You are subscribed to cfcdev. To unsubscribe, send an email to
> [email protected] with the words 'unsubscribe cfcdev' as the subject of the
> email.
>
>  CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
> (www.cfxhosting.com).
>
>  An archive of the CFCDev list is available at
> www.mail-archive.com/[email protected]


--
[EMAIL PROTECTED]
http://blog.rawlinson.us

If you want Gmail - just ask.


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to