xsl-list
[Top] [All Lists]

Re: Passing params to XSLT from Java - Exception

2002-12-04 13:55:44
jm0019(_at_)mobilecohesion(_dot_)com wrote:
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."
Usually this means there is whitespace, in often a line feed before the
XML declaration, i.e. before...

<?xml version="1.0" encoding="UTF-8"?>
  ^^^ ...here
Check this first.

J.Pietschmann


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



<Prev in Thread] Current Thread [Next in Thread>