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

RE: The stylesheet does not contain a document element. The st


the stylesheet does not contain
One possibility is that the stylesheet starts with a byte-order-mark. The
specs and most products originally didn't allow a BOM at the start of a
UTF-8 XML document, but they have gradually moved in the direction of
allowing it. 

Of course, there must be some difference between your two configurations,
but if you can't find it then I certainly can't.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Davinia Lopez [mailto:davlobe@h...] 
> Sent: 18 November 2005 08:37
> To: xml-dev@l...
> Subject:  The stylesheet does not contain a document 
> element. The stylesheet may be...
> 
> Hi!
> 
> I don't know if this is the correct list, but maybe you could help me.
> 
> 
> I have to prove a XSL in several places. The problem is that 
> in some of them 
> it works and in the others it not.
> 
> I guess that it depends of the version of the libraries. The 
> problem is that 
> I don't know neither the compatibilities between jdk and the 
> libraries nor 
> the versions of the libraries of xalan and xerces that the 
> computer have.
> 
> I have two environments: In Environment A it works and in 
> environment B it 
> doesn't work ("The stylesheet does not contain a document 
> element. The 
> stylesheet may be empty, or it may not be a well-formed XML 
> document"). Both 
> environments share j2sdk1.4.2_03 (including the folder 
> commons\lib which 
> contains xerces.jar), but each environment has its own 
> WEB-INF\lib\ with 
> xalan-2.4.1.jar, xalan.jar, xerces.jar, xercesImpl-2.2.1.jar 
> being exact the 
> same.
> 
> Is any other library involved in the process of XSL?
> 
> 
> Thanks in advance.
> 
> _________________________________________________________________
> Dale rienda suelta a tu tiempo libre. Encuentra mil ideas 
> para exprimir tu 
> ocio con MSN Entretenimiento. http://entretenimiento.msn.es/
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
> 
> 



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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.