Re: [xslt] HTML vs. XHTML: different output when including a file with \r\n [WAS: xmllint vs. xsltproc: different output when including a file with \r\n]
- From: "Martin (gzlist)" <gzlist googlemail com>
- To: veillard redhat com, The Gnome XSLT library mailing-list <xslt gnome org>
- Cc: Boris Schaeling <boris highscore de>, xml gnome org
- Subject: Re: [xslt] HTML vs. XHTML: different output when including a file with \r\n [WAS: xmllint vs. xsltproc: different output when including a file with \r\n]
- Date: Mon, 1 Feb 2010 20:28:56 +0000
On 01/02/2010, Daniel Veillard <veillard redhat com> wrote:
>
> Not a bug.
I don't know the XInclude spec, but reading the bug report:
<https://bugzilla.gnome.org/show_bug.cgi?id=608333>
When a text file is included with
<include href="text.txt" parse="text"
xmlns="http://www.w3.org/2001/XInclude"/>
and the text file uses \r\n end line markers...
Isn't the problem that the file should be opened in text-mode so the
\r characters get removed before they ever get as far as the XML
serialisation?
Martin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]