OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] The stylesheet does not contain a document element. The st

[ Lists Home | Date Index | Thread Index ]

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@hotmail.com] 
> Sent: 18 November 2005 08:37
> To: xml-dev@lists.xml.org
> Subject: [xml-dev] 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>
> 
> 






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS