cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <>
Subject Re: XSL Stylesheets
Date Thu, 08 Mar 2001 22:09:48 GMT
"Eric A. Sirois" <> wrote:
>It's not in the Formatter in the, the fix need to be in
>the XSLTProcesor file.  The has nothing refering to
>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 
>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

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message