- From: Aleksey Sanin <aleksey@aleksey.com>
- Date: Sat, 10 May 2003 17:07:16 -0700
- To: w3c-ietf-xmldsig@w3.org
- Message-ID: <3EBD9434.600@aleksey.com>
Hi, All!
I have a question about line feed normalization in C14N. The spec says
that :
http://www.w3.org/TR/2001/REC-xml-c14n-20010315#Terminology
- All whitespace in character content is retained (excluding
characters removed during
line feed normalization)
http://www.w3.org/TR/2001/REC-xml-c14n-20010315#DataModel
If an XML document must be converted to a node-set, XPath REQUIRES that
an XML processor be used to create the nodes of its data model to
fully represent
the document. The XML processor performs the following tasks in order:
1. normalize line feeds
2. ...
During discussion in xmlsec mailing list we came up with two possibilities:
1) All '\r' characters from the document should be removed when
document is parsed
by XML processor.
2) All '\r' should be converted to "&#D;" by the parser.
I would appreciate if someone can clarify this part of the specification.
Thank you in advance,
Aleksey Sanin
Received on Saturday, 10 May 2003 20:07:39 UTC