Thanks, Brian. I'm using the xml output method with utf-8 encoding. Also,
I'm outputting in 'standalone' mode (no DTD specified). My Saxon version
is 6.5.2.
How long a line of text did you try? Did you use my example text (which,
by the way was wrapped by email--the source text really is unwrapped)?
Mark Fletcher
PeopleSoft Language Engineering
925.694.3753
mark_fletcher(_at_)peoplesoft(_dot_)com
"Martinez, Brian"
<brian(_dot_)martinez(_at_)cendant(_dot_)co To:
"'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'"
m>
<xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent by: cc:
owner-xsl-list(_at_)lists(_dot_)mulbe Subject:
RE: [xsl] Saxon is adding line breaks
rrytech.com
04/09/2003 02:04 PM
Please respond to xsl-list
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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list