Subject: RE: problems around →
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 6 Oct 2006 08:37:40 +0100
|
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
"&rightarrow;".
Michael Kay
http://www.saxonica.com/
> -----Original Message-----
> From: Frank Marent [mailto:frank.marent@xxxxxxxxxxx]
> Sent: 06 October 2006 08:09
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: 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="&ShortRightArrow;"
> character="→"/>
> ..
> <xsl:output-character string="&srarr;" character="→"/>
> ..
> <xsl:output-character string="&rarr;" character="→"/>
> ..
> <xsl:output-character string="&RightArrow;"
> character="→"/>
> ..
> <xsl:output-character string="&rightarrow;"
> character="→"/>
> ..
>
> the correct mapping to → was ignored, →
> was added instead and the result bo8o8o8 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
|