Re: Fwd: Re: Minutes of 011119-tele

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