W3C home > Mailing lists > Public > xml-encryption@w3.org > December 2001

Re: Fwd: Re: Minutes of 011119-tele

From: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>
Date: Mon, 10 Dec 2001 21:17:30 +0100
To: reagle@w3.org
Cc: XML Encryption WG <xml-encryption@w3.org>
Message-ID: <2996703025.1008019050@pinkpanther>
>> <P>Note: If the <CODE>EncryptedData</CODE> element is used as the root
>> element of a new document, the <STRONG>encryptor</STRONG> MUST ensure
>> that the Type is not element '<A
>> href="http://www.w3.org/TR/2000/REC-xml-20001006#NT-content">content</A>'
>> . Otherwise <A
>> HREF="http://www.w3.org/TR/2000/REC-xml-20001006#dt-wellformed">well-form
>> ed ness</A> would be broken after decryption. </P>
>
> Thanks! But I'm not sure if I agree with that. The spec says, "Type is an
> optional attribute identifying type information about the plaintext form
> of  the encrypted content." And I think the intent was to add a warning,
> not a  conformance requirement. I think we intended something closer to:
>
>   (Note: If the EncryptedData element is used as the root element of a
>   new document and its Type is 'content' the plaintext resulting
>   from decryption will not be well-formed.)

I agree that it should not be a conformance requirement, so your text 
matches the situation better. But it should read

   (Note: If the EncryptedData element is used as the root element of a
   new document and its Type is 'content' the plaintext resulting
   from decryption can possibly be not well-formed.)

If you encrypt some PIs, Comments and ONE Element (with descendants), it IS 
well-formed.


Thanks,
Christian
Received on Monday, 10 December 2001 15:14:44 UTC

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