tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bryan" <>
Subject RE: Xtag taglib and iso-8859-1 *** HELP ***
Date Tue, 11 Feb 2003 10:11:12 GMT
It's hard to give an answer here as there are so very many different
areas where the problem could be originating. 
1. Xtags is deprecated as far as I understand, should probably switch to
the jstl, it may be that there is some encoding stuff going on that no
one is ever going to fix in Xtags, although I've never had any problems
of an encoding nature - then again I've never attempted a stylesheet
like the one you show.
2. cdata-section-elements attribute on the xsl:output element only
effects xml output; so does omit-xml-declaration for that matter.
3. Is there actually a <meta http-equiv="Content-Type"
charset="iso-8859-1"> in your output somewhere; just something to check?
4. disable-output-escaping should be avoided as it's implementation
varies from processor to processor.
5. At any rate is there a reason that you need to have this text inside
of a CDATA section, this should also be avoided.

-----Original Message-----
From: Dariush Behboudi [] 
Sent: Tuesday, February 11, 2003 9:54 AM
To: Tag Libraries Users List
Subject: R: Xtag taglib and iso-8859-1 *** HELP ***

No answers?

-----Messaggio originale-----
Da: Dariush Behboudi []
Inviato: lunedì 10 febbraio 2003 23.08
Oggetto: Xtag taglib and iso-8859-1 *** HELP ***

Hi everyone,
I've a problem applying xsl files to iso-8859-1 encoded xml files.
I'm using the xpath taglib.
Here my very simple jsp code:

<xtags:style xsl="xsl.xsl">
<?xml version="1.0" encoding="ISO-8859-1"?>

And here my xsl file:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
<xsl:output encoding="iso-8859-1" method="html"
cdata-section-elements="clobText" omit-xml-declaration="yes"
<xsl:template match="testo">
   <xsl:value-of select="clobText" disable-output-escaping="yes"/>

My CDATA results corrupted after parsing.
PLEASE HELP, Any suggestion is great.

Regards, Dariush.

Dariush Behboudi Resp.Software Engineering
Phone: +39 02 45441.238Mobile Phone: 335 1207222Fax: +39 02
45441.300dariush.behboudi@glamm.comwww.glamm.comGlamm Interactive Spa
      Via Negroli, 35
      20133 Milano (Italy)

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

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

View raw message