[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: problems around →

Subject: RE: problems around →
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 6 Oct 2006 08:37:40 +0100
rarr
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
"&amp;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 &rarr;
>
> 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 &#x02192; 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 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.