Re: regarding XMl Encrption

On Wednesday 25 June 2003 05:30, Muthumanickam, Rajesh Muthukrishnan 
(Cognizant) wrote:
> Hi,
> 	can we able to validate XML document with XML Encryption against DTD.???

As Don said, not unless you wrote the DTD to permit the appearence of the  
xenc element as an alternative to the plain text element. Also, see [1].

[1] http://www.w3.org/TR/xml-encryption-req#sec-Requirements
|     2. XML Instance Validity {WS}
|          1. Encrypted instances must be well-formed but need
|             not be valid against their original definition
|             (i.e. applications that encrypt the element
|             structure are purposefully hiding that structure.)
|          2. Instance authors that want to validate encrypted
|             instances must do one of the following:
|               1. Write the original schema so as to validate
|                  resulting instances given the change in its
|                  structure and inclusion of element types from
|                  the XML Encryption namespace.
|               2. Provide a post-encryption schema for
|                  validating encrypted instances.
|               3. Provide information on how to restore the
|                  document to its original state via application
|                  context (e.g., headers). {List: Reagle}

Received on Wednesday, 25 June 2003 09:30:21 UTC