(1) How are you invoking Xalan?  It may depend on the type of Source
that you're creating.
(2) Try FTPing in BINARY mode and see if that makes a difference.

Gary

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Friday, November 22, 2002 7:09 AM
> To: [EMAIL PROTECTED]
> Subject: Xalan on OS/390
> 
> 
> 
> Hello,
> 
> I'm trying to use Xalan 2.4.0 on an IBM OS/390 mainframe, 
> running within the Unix Systems Services environment.
> 
> I'm trying to use Xalan as the XSL transformer when using FOP 
> to create PDF documents.  I get the following error:
> 
> �Fatal Error� StandardReportsPDF.xsl:1:39: Content is not 
> allowed in prolog.
> javax.xml.transform.TransformerConfigurationException:
> javax.xml.transform.Trans
> formerException: org.xml.sax.SAXParseException: Content is 
> not allowed in prolog ..
> 
> 
> 
> Here's the first line of the style sheet:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> 
> 
> Which shouldn't be a problem.
> 
> It appears it doesn't like the style sheet.  The application 
> runs fine on Windows 2000.
> 
> Is it some sort of encoding error or something like that?  
> When FTP'ing the style sheet to the mainframe I use ascii 
> mode -- is this the wrong mode? Are there any special 
> considerations for using Xalan in the mainframe environment?
> 
> Thanks for your help!
> 
> 
> 
> 

Reply via email to