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]



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]