W3C home > Mailing lists > Public > xproc-dev@w3.org > April 2017

Re: method="text" producing spurious EOL in xmlcalabash 1.1.15

From: Christophe Marchand <christophe.marchand@contactoffice.net>
Date: Mon, 3 Apr 2017 17:59:55 +0200 (CEST)
To: "Henry S. Thompson" <ht@inf.ed.ac.uk>, xproc-dev@w3.org
Message-ID: <1669581429.402163.1491235195315.JavaMail.root@orville>
It produces two 0x0A under linux with Morgana.
With calabash under linux, I have an empty file.

Best,
Christophe

> ----------------------------------------
> From: Henry S. Thompson <ht@inf.ed.ac.uk>
> Sent: Mon Apr 03 15:40:58 CEST 2017
> To: <xproc-dev@w3.org>
> Subject: method="text" producing spurious EOL in xmlcalabash 1.1.15
> 
> 
> The following pipeline
> 
>   <p:pipeline xmlns:p="http://www.w3.org/ns/xproc" version="1.0">
>    <p:serialization method="text" port="result"/>
>    <p:identity><p:input port="source"><p:inline><a/></p:inline></p:input></p:identity>
>   </p:pipeline>
> 
> produces (on Windoz) a document with two characters in it: \r\n
> 
> Of course I don't want such a document, but the real problem is that I
> _don't_ want a spurious extra (Windows) newline at the end of my real
> method="text" pipeline.
> 
> Is this a bug in Calabash, or am I missing something?
> 
> ht
> -- 
>        Henry S. Thompson, School of Informatics, University of Edinburgh
>       10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
>                 Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
>                        URL: http://www.ltg.ed.ac.uk/~ht/
>  [mail from me _always_ has a .sig like this -- mail without it is forged spam]
> 
Received on Monday, 3 April 2017 16:00:27 UTC

This archive was generated by hypermail 2.3.1 : Monday, 3 April 2017 16:00:28 UTC