You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Julio Kriger <jk...@bancorio.com.ar> on 2001/10/11 16:19:29 UTC

Help! I do not what is wrong.

Hi,
	I have this litle problem and do not what I'm doing wrong.
	I work on an Sun Solaris 2.6 over an sparc machine. I'm using xalan 1.2
for solaris, of course.
	I'm Argentino, so I have to use spanish characters like á é í ó ú ü Á É
Í Ó Ú Ü ñ Ñ.
	I do this simple test:

testXSLT -in debitodirecto.xml -xsl nodebitarapdmail.xsl -out out.html

	And I get the following error:

========= Parsing nodebitarapdmail.xsl ==========

Fatal Error at (file nodebitarapdmail.xsl, line 5, column 2): An
exception occured! Type:TranscodingException, Message:An invalid
multi-byte source text sequence was encountered

SAXException Message is: An exception occured!
Type:TranscodingException, Message:An invalid multi-byte source text
sequence was encountered



	The file "nodebitarapdmail.xsl" looks like:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">

	<xsl:variable name="propaganda1">
	á é í ó ú ü Á É Í Ó Ú Ü ñ Ñ
		<a
href="http://www.bancorio.com.ar/doFrames.jsp?p=/docs/promo/promocion.htm">
		<xsl:choose>
		<xsl:when test="./CONSULTAS/LINKSRCIMG=1">
			<img src="http://rioonline.bancorio.com.ar/images/banner_promo1.gif "
alt="Super plazo fijo - Banco RIO" width="120" height="60"/>
		</xsl:when>
		<xsl:otherwise>
			<img src="images/banner_promo1.gif " alt="Promocion - Banco RIO"
width="120" height="60"/>
		</xsl:otherwise>
		</xsl:choose>
		</a>
	</xsl:variable>

	<xsl:variable name="propaganda2">
		<a
href="http://www.bancorio.com.ar/docs/bindi/seguros_vivienda_accdir.htm">
		<xsl:choose>

	and so on.
	As you can see, it shout at the á character. 
	I'm out of ideas to try. Can you help me? please tell me how.
	Cheers!

************************************************************************
Visite http://www.bancorio.com.ar y tenga el Banco al alcance de su mano.
************************************************************************

NOTA DE CONFIDENCIALIDAD / CONFIDENTIALITY NOTE
Este mensaje (y sus anexos) es confidencial y puede contener informacion
(i) de propiedad exclusiva de Banco Rio de la Plata S.A. sus afiliadas o
subsidiarias; o (ii) amparada por el secreto profesional. Si usted ha
recibido este fax o e-mail por error, por favor comuniquelo
inmediatamente via fax o e-mail y tenga la amabilidad de destruirlo; no
debera copiar el mensaje ni divulgar su contenido a ninguna persona.
Muchas gracias.

This message (including attachments) is confidential. It may also
contain information that (i) is exclusively property of Banco Rio de la
Plata S.A. or its affiliates or subsidiaries; or (ii) is privileged or
otherwise legally exempt from disclosure. If you have received it by
mistake please let us know by fax or e-mail immediately and destroy or
delete it from your files or system; you should also not copy the
message nor disclose its contents to anyone. Thank you.
**************************************************************************