xsl-list
[Top] [All Lists]

RE: [xsl] problems around →

2006-10-06 00:38:11
Were the characters defined in that order? The spec says that if there's more 
than one mapping, the last one should be used, so I would have expected 
"→".

Michael Kay
http://www.saxonica.com/ 

-----Original Message-----
From: Frank Marent [mailto:frank(_dot_)marent(_at_)emnemics(_dot_)ch] 
Sent: 06 October 2006 08:09
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] problems around →

we found the reason for that behaviour. a character map is 
included in the xslt. we had (among 2100 others) five 
occurences for the character → in there:

   ..
   <xsl:output-character string="&amp;ShortRightArrow;"  
character="&#x02192;"/>
   ..
   <xsl:output-character string="&amp;srarr;" character="&#x02192;"/>
   ..
   <xsl:output-character string="&amp;rarr;" character="&#x02192;"/>
   ..
   <xsl:output-character string="&amp;RightArrow;"  
character="&#x02192;"/>
   ..
   <xsl:output-character string="&amp;rightarrow;"  
character="&#x02192;"/>
   ..

the correct mapping to &rarr; was ignored, &ShortRightArrow; 
was added instead and the result →︀︀︀ was caused by that (we 
need the transformation to entity references since our 
mathml2eps converting tool needs entity references).

no dtd error. no saxon error. frank error.
thanks michael, david and andrew for your kind help.

frank
--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--