Occasionally windows/dos characters get in the way when read in *nix
environments. To "correct" a file like that, try running "dos2unix" on
it. It's a command-line utility designed to translate any
dos-differences to their *nix equivalents. dos2unix ships with most
common distros.

>From the command-line:

# dos2unix myfile.xslt

You can use this to rule out any potential *nix problems from files
created on a windows machine.

Hope this helps!

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
BlueDragon Alliance Member
[EMAIL PROTECTED]


Ian Skinner wrote:
> And causing me some grief.
> 
> I get this error when my CF app tries to work with an XSLT file created 
> on my Windows workstation and published to a UNIX/Apache server.  Can 
> anybody give me the quickest and easiest way to fix this?  I presume 
> this is related to the difference between Win and Unix text end of 
> line|file characters.
> 
> An error occured while Parsing an XML document.
> Premature end of file.
>  
> The error occurred in 
> /export/home/tools/troublelog/Model/troubleLogDAO.cfc: line 85
> 
> 85 : troubleEntryXML = 
> xmlParse(xmlTransform(xmlData,replace(variables.readXSLT,'~idString~',arguments.id)));
> 
> 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284052
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to