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

content type decryption clarification?

From: Frederick Hirsch <hirsch@zolera.com>
Date: Fri, 11 Jan 2002 10:17:27 -0500
To: <xml-encryption@w3.org>
Message-ID: <HNEILHLKDJAILJJBNELPIECOCLAA.hirsch@zolera.com>
In the editors draft the section on encryption processing rules (4.1, item
5) states

. ( Note: If the Type is "content" the plaintext resulting from decryption
may not be well formed if the EncryptedData element was (a) the root element
of a document, or (b) has other siblings (e.g. PIs and text nodes).)


I understand the first case - decrypting the EncryptedData element will
result in a document without a root element, which is not well-formed.

I do not understand the second case. In the case of having text nodes, this
implies the EncryptedData element was the child of an element, when
decrypted there would be two text node children of that element, which is
legal isn't it? What am I missing here?

thanks


---
Frederick Hirsch
Zolera Systems, http://www.zolera.com/
Information Integrity, XML Security
Received on Friday, 11 January 2002 10:10:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:13:06 UTC