this was actually not a bug. If I put "stylesheet.text/html" in the .xreg instead of "stylesheet" it works fine.
> -----Original Message----- > From: Luta, Raphael (VUN) [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 19, 2002 12:19 AM > To: 'Jetspeed Users List' > Subject: RE: XML using XLS: problem with cache/expire error > > > Can you please file this bug in bugzilla ? I'll fix it for the > next release. > > > -----Message d'origine----- > > De : Richard Bourner [mailto:[EMAIL PROTECTED]] > > Envoy� : mercredi 18 d�cembre 2002 18:52 > > � : [EMAIL PROTECTED] > > Objet : RE: XML using XLS: problem with cache/expire error > > > > > > David, > > > > I have a portlet that is very similar to the one you mention below. > > My problem seems related to the charset encoding. > > > > Basicaly, when loading my XLS portlet, instead of seing my > > xml translated, > > the portlet displays "Unable to display for this browser". I > > have added some > > traces in the XSLPortlet class: > > > > 1- in XSLPortlet.init() I get: > > base='text/html; charset=UTF-8' > > > > 2- in XSLPortlet.getContent(..) I get: > > type='text/html' > > stylesheet='null' > > > > Thus, as this type is not found in the hash table, the > > variable 'stylesheet' > > is null and the SimpleTransform.transform is not called. > > > > In my xml file, the first line is: > > <?xml version="1.0" encoding="ISO-8859-1"?> > > but even replacing with UTF-8, the result is the same. > > > > has anyone an idea why I get 2 different types ("text/html; > > charset=UTF-8" > > and "text/html") ? > > > > > > Thanks > > Richard > > > > > > > > > -----Original Message----- > > > From: David Sean Taylor [mailto:[EMAIL PROTECTED]] > > > Sent: Tuesday, December 17, 2002 11:07 PM > > > To: Jetspeed Users List; [EMAIL PROTECTED] > > > Subject: RE: XML using XLS: problem with cache/expire error > > > > > > > > > > > > > -----Original Message----- > > > > From: Richard Bourner [mailto:[EMAIL PROTECTED]] > > > > Sent: Tuesday, December 17, 2002 8:24 PM > > > > To: Jetspeed Users List > > > > Subject: XML using XLS: problem with cache/expire error > > > > > > > > > > > > Has anyone an idea of this error in my log file: > > > > > > > > [17 Dec 2002 20:12:18 INFO] - cache miss, object > > > > expired: > > > > > > -747215834-78822240|stylesheet-http://127.0.0.1:8080/jetspeed/xsl/g > > > > enitips.xsl > > > > > > > > I am using the XLS portlet: my .xls file is apparently > > not read and my > > > > portlet displays "Unable to display for this browser" > > instead of my > > > > translated xml file. > > > > > > > > An idea? > > > Have you read the documentation in the Portlet Catalog: > > > http://jakarta.apache.org/jetspeed/site/portlet_config_XSL.html > > > > > > I just added a new portlet to the cvs head that is based on the > > > XSL abstract > > > portlet. > > > See demo-portlets.xreg: > > > > > > <portlet-entry name="XSLTDemo" hidden="false" > > type="ref" parent="XSL" > > > application="false"> > > > <meta-info> > > > <title>XSLT Demo</title> > > > <description>Example of using XSLT Portlet</description> > > > </meta-info> > > > <url>/xml/footballers.xml</url> > > > <media-type ref="html"/> > > > <parameter name="stylesheet.text/html" > > > value="/xml/footballers.xsl" > > > hidden="false"/> > > > <category>xslt</category> > > > </portlet-entry> > > > > > > Would be nice if the demo also worked with WML...guess I'll > > save that for > > > the tutorial. > > > > > > David Sean Taylor > > > Bluesunrise.com > > > [EMAIL PROTECTED] > > > +01 (707) 773 4646 > > > > > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
