W3C home > Mailing lists > Public > xml-encryption@w3.org > January 2002

Re: Semantics of xenc:EncryptedData/@Type

From: Joseph Reagle <reagle@w3.org>
Date: Wed, 9 Jan 2002 12:32:08 -0500
Message-Id: <200201091732.MAA30064@tux.w3.org>
To: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>, xml-encryption@w3.org

My understanding was that we didn't want to go out of our way to enable 
someone to encrypt part of element content. But as you note, we didn't have to do 
anything special to enable it -- follows naturally from our spec and XML1.0 
-- and some might find it useful. So unless we find and instance where this 
someone does have a pragmatic problem with it, I don't think we should 
complicate the spec in order to prohibit it.

On Friday 04 January 2002 04:46, Christian Geuer-Pollmann wrote:
> The reason why I asked is the following: During the Encryption Workshop
> in SFO/2000, I asked whether it's possible to encrypt parts of a 'pure'
> Text Node like this:
>
> <DATA>This contains secret parts</DATA>
>
> <DATA>This contains <xenc:EncryptedData Type="Content" /> parts</DATA>
>
> And the consensus was that this should not be possible (didn't find that
> in the minutes, but I have in mind that I ). It was said that if
> somethings is important enough to be encrypted, it should also be
> importat enough to have it's own markup and then use Element encryption.
> But the current spec allows encrypting parts of a Text Node (and it's
> very simple to implement ;-). Additionally, if we want to allow
> cut-and-paste for protocol scenarios where ciphertext from one msg is
> pasted into another msg, it MUST be possible to do something like this.
>
> Christian

-- 

Joseph Reagle Jr.                 http://www.w3.org/People/Reagle/
W3C Policy Analyst                mailto:reagle@w3.org
IETF/W3C XML-Signature Co-Chair   http://www.w3.org/Signature/
W3C XML Encryption Chair          http://www.w3.org/Encryption/2001/
Received on Wednesday, 9 January 2002 12:32:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:42:20 GMT