W3C home > Mailing lists > Public > xml-encryption@w3.org > November 2000

Re: Encrypting parts of a Text-Node

From: Joseph M. Reagle Jr. <reagle@w3.org>
Date: Tue, 14 Nov 2000 15:59:55 -0500
Message-Id: <>
To: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>
Cc: "Public XML Encryption List" <xml-encryption@w3.org>
At 21:37 11/14/2000 +0100, Christian Geuer-Pollmann wrote:
>>I still don't understand...
>In [1], there is mentioned
>  "Each character is a logically separate information
>   item, but XML applications are free to chunk
>   characters into larger groups as necessary or desirable."
>But if we talk about "Nodes" in a "Tree", all characters are grouped into a 
>whole node. If the smallest encryptable unit is a node, it would not be 
>possible (allowed ?) only to select specific parts of a text block 
>(character node).
>Should it be allowed to encrypt only parts of a character node without 
>adding markup prior to encryption?

Aha! I understand. In my opinion, this is not presently done by any of the 
proposals, doing this might be technically awkward (going beyond even the 
complete Information Set data model to XPath range like constructs over 
CDATA!), and IMHO I don't see enough compelling cases to go to the effort of 
doing it.

>[1] http://www.w3.org/TR/xml-infoset#infoitem.character

Joseph Reagle Jr.
W3C Policy Analyst                mailto:reagle@w3.org
IETF/W3C XML-Signature Co-Chair   http://www.w3.org/People/Reagle/
Received on Tuesday, 14 November 2000 16:00:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:31:59 UTC