W3C home > Mailing lists > Public > xml-encryption@w3.org > August 2002

Re: #element or #content

From: Joseph Reagle <reagle@w3.org>
Date: Fri, 23 Aug 2002 09:50:42 -0400
To: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>, "'XML Encryption'" <xml-encryption@w3.org>
Message-Id: <200208230950.42196.reagle@w3.org>


2.1.4 Encrypting Arbitrary Data and XML Documents

If the application scenario requires all of the information to be encrypted, 
the whole document is encrypted as an octet sequence. This applies to 
arbitrary data including XML documents.

  <?xml version='1.0'?>
  <EncryptedData xmlns='http://www.w3.org/2001/04/xmlenc#'

On Friday 23 August 2002 07:54 am, Christian Geuer-Pollmann wrote:
> short question: Given this XML file
> <!-- some comment>
> <root />
> <?pi data?>
> When I encrypt it completely so that I substitute the comment, the
> document element and the PI by a single xenc:EncryptedData element,
> what's the type of it?
> My guess is #content, but it's not an element's content ;-))
Received on Friday, 23 August 2002 09:50:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:32:04 UTC