W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > April to June 2003

line feed normalization in C14N

From: Aleksey Sanin <aleksey@aleksey.com>
Date: Sat, 10 May 2003 17:07:16 -0700
Message-ID: <3EBD9434.600@aleksey.com>
To: w3c-ietf-xmldsig@w3.org
Hi, All!

I have a question about line feed normalization in C14N. The spec says 
that :


    -  All whitespace in character content is retained (excluding 
characters removed during
    line feed normalization)  

    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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:21:38 UTC