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

RE: Saxon is adding line breaks

Subject: RE: Saxon is adding line breaks
From: "Martinez, Brian" <brian.martinez@xxxxxxxxxxx>
Date: Wed, 9 Apr 2003 15:04:49 -0600
RE:  Saxon is adding line breaks
> From: mark_fletcher@xxxxxxxxxxxxxx 
> [mailto:mark_fletcher@xxxxxxxxxxxxxx]
> Sent: Wednesday, April 09, 2003 12:13 PM
> Subject:  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&#xe8;me de gestion
> des relations avec la client&#xe8;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.martinez@xxxxxxxxxxx |
| 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


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-2013 All Rights Reserved.