[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Passing params to XSLT from Java - Exception


Subject: RE: [xsl] Passing params to XSLT from Java - Exception
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 5 Dec 2002 10:38:04 -0000

> I am trying to pass params to a xsl stylesheet from a Java 
> application.  It 
> falls over with the following error
> 
> "org.xml.sax.SAXParseException: Content is not allowed in 
> prolog." and it 
> seems as if this is caused by the parameters.

It's very unlikely that this is caused by the parameters. It means that
either your XML source document or your stylesheet is not well-formed
XML.

You might get better diagnostics if you run the processor on the same
files from the command line.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords