Re: [xml] final output filtering?
- From: Aleksey Sanin <aleksey aleksey com>
- Cc: Chris Ryland <cpr emsoftware com>, XML List <xml gnome org>
- Subject: Re: [xml] final output filtering?
- Date: Sun, 08 Jun 2003 09:18:47 -0700
Recently I had to investigate "line feed" issue in xmlsec and with great
help
from smart people on xmldsig mailing list I found that XML processor always
ignores '\r' character:
To simplify the tasks of applications, the characters passed to an
application by the XML processor must be as if the XML processor
normalized all line breaks in external parsed entities (including the
document entity) on input, before parsing, by translating both the
two-character sequence #xD #xA and any #xD that is not followed
by #xA to a single #xA character.
http://www.w3.org/TR/REC-xml#sec-line-ends
And LibXML does exactly this. You should have no problems with
Unix vs. DOS end of lines.
Aleksey
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]