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

Re: content type decryption clarification?

From: Takeshi Imamura <IMAMU@jp.ibm.com>
Date: Tue, 15 Jan 2002 14:44:37 +0900
To: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>
Cc: reagle@w3.org, hirsch@zolera.com, xml-encryption@w3.org
Message-ID: <OF9188CFB4.30C9141B-ON49256B42.001EADEE@LocalDomain>


>Note: If the Type is "content", the plaintext resulting from decryption
may
>not be well formed. This happens if the element whose contents have been
>encrypted was (a) an element containing more than one child element, or
(b)
>containing non-whitespace text nodes.

That also happens if an element contains only one element but also contains
character data before the element.

By the way, according to [1], shouldn't we use "well-formed" and "character
data" instead of "well formed" and "text nodes", respectively?

[1] http://www.w3.org/TR/REC-xml

Thanks,
Takeshi IMAMURA
Tokyo Research Laboratory
IBM Research
imamu@jp.ibm.com
Received on Tuesday, 15 January 2002 00:44:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:32:02 UTC