[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Transformer Error Using Xalan

Subject: Transformer Error Using Xalan
From: Priya Mahajan <priya.mahajan@xxxxxxxx>
Date: Wed, 24 Sep 2003 11:32:00 -0600
priya mahajan
Hi all,

I am using Xalan v2.5.1 in a servlet to transform an xml file using an xsl 
stylesheet and sending it back to the browser. I get the following error when I 
try to do this 

-------------------------------------------------------------------------- 
The XML page cannot be displayed 
Cannot view XML input using style sheet. Please correct the error and then 
click the Refresh button, or try again later. 

Invalid at the top level of the document. Error processing resource "..."
Line 1, Position 39 

<?xml version="1.0" encoding="UTF-8"?>
---------------------------------------------------------------------------

Both my XML and XSL documents did not have any encoding attributes in their XML 
declaration and I included it, but it still gives the same error.
If I use IE6 to view the XML, then it transforms using the included stylesheet 
without any problems ...

I came across this problem on the list before but couldnt find any solution to 
it. Could someone please shed any light on this !!

Thanks,
Priya

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.