cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: XSL Stylesheets
Date Thu, 08 Mar 2001 22:09:48 GMT
"Eric A. Sirois" <easirois@hotmail.com> wrote:
>It's not in the Formatter in the cocoon.properties, the fix need to be in
>the XSLTProcesor file.  The cocoon.properties has nothing refering to
>text/xsl
>
>line 198 in the getResource() method in XSLTProcessor does not check for
>these mime type.
>if ((type != null) && (type.equals("text/xsl")))
>
>should be - if you want old stylesheets to work keep text/xsl.  If not
>remove text/xsl.  It's not part of the W3C XSLT spec.
>   if ((type != null) && (type.equals("text/xsl"))  &&
>(type.equals("text/xml"))  && (type.equals("text/application")))
>
>Without this someone has to maintain two different versions of a 
>stylesheet.
>One for Cocoon and one to follow the spec.

How so? I don't understand. Please give an example. Which spec are you 
referring to?



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message