From: mark_fletcher(_at_)peoplesoft(_dot_)com
[mailto:mark_fletcher(_at_)peoplesoft(_dot_)com]
Sent: Wednesday, April 09, 2003 12:13 PM
Subject: [xsl] Saxon is adding line breaks
Hi all,
I'm sorry if this issue has already been addressed here. But Saxon is
adding line breaks in the middle of text for no apparent
reason. Is there
a way to turn this off?
Here's an example of the source and result elements. (It's
from a French
document.):
source:
<title>Introduction aux applications Marketing du système de
gestion des
relations avec la clientèle de PeopleSoft</title>
result:
<title>Introduction aux applications Marketing du
système de gestion
des relations avec la clientèle de PeopleSoft</title>
Before writing the new title, I run a normalize-space() on
the title text.
I can't imagine this is causing the problem. (And, no, my
text editor is
not adding the breaks ;-)
Any ideas appreciated. Thanks.
The only way I could reproduce this problem on Saxon 6.5.2 (or on MSXML 3)
was to use text output without specifying an encoding, or specifying utf-8.
Support for different encoding formats for text output are
implementation-dependent, and it's likely only a narrow set (like ISO
8859-1) is supported.
Setting the encoding to iso-8859-1 (or specifying XML output) fixed the
problem, but that may not be the appropriate solution for all locales.
cheers,
b.
| brian martinez
brian(_dot_)martinez(_at_)cendant(_dot_)com |
| lead gui programmer 303.708.7248 |
| cheap tickets, part of trip network fax 303.790.9350 |
| 6436 s. racine cir. englewood, co 80111 |
| cendant travel distribution services http://www.cheaptickets.com/ |
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list