Re: content type decryption clarification?

--On Freitag, 11. Januar 2002 10:15 -0500 Joseph Reagle <reagle@w3.org> 
wrote:

> Frederick,
>
> I too have a sense that the text isn't quite right, but I was hoping
> folks  would check me on it in this thread:
>   http://lists.w3.org/Archives/Public/xml-encryption/2002Jan/0023.html
>
> See Christian's original email:
>   http://lists.w3.org/Archives/Public/xml-encryption/2002Jan/0017.html


Maybe this helps:

PIs and Comments do not have an impact on well-formedness. So the only 
thing which can cause problems of the EncryptedData becomes a new document 
element is that it contains multiple elements of non-whitespace text nodes:

Change

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).)

To (please make this more fluid - sorry for my english ;-)

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.

Received on Friday, 11 January 2002 14:40:12 UTC