W3C home > Mailing lists > Public > xml-encryption@w3.org > June 2003

Re: regarding XMl Encrption

From: Joseph Reagle <reagle@w3.org>
Date: Wed, 25 Jun 2003 09:30:12 -0400
To: "Muthumanickam, Rajesh Muthukrishnan (Cognizant)" <MRajesh1@chn.cognizant.com>
Cc: <xml-encryption@w3.org>
Message-Id: <200306250930.12519.reagle@w3.org>

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

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