W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > April to June 2000

Re: DTDs and ANY

From: Joseph M. Reagle Jr. <reagle@w3.org>
Date: Wed, 03 May 2000 21:56:50 -0400
Message-Id: <>
To: "Martin J. Duerst" <duerst@w3.org>
Cc: "IETF/W3C XML-DSig WG" <w3c-ietf-xmldsig@w3.org>

I included thing.ANYs such that those things where we want to use extensible
content models can be easily tweaked. 

<!-- These entity declarations permit the flexible parts of Signature
     content model to be easily expanded -->

<!ENTITY % Object.ANY '(#PCDATA| SignatureProperties| Manifest)*'>
<!ENTITY % Method.ANY '(#PCDATA|HMACOutputLength)*'>
<!ENTITY % Key.ANY '(#PCDATA|DSAKeyValue|RSAKeyValue)*'>

The DTD including these entities (that I'm rapping into the next version) is


Thanks for your help!

At 10:53 PM 4/13/00 +0900, Martin J. Duerst wrote:
 > Basically, what you do is the following. At any place you want to
 > have ANY, you put something like:
 > <!ELEMENT Object %Object.ANY; >
 > Then *before* that, in the same file, you declare as follows:
 > <!ENTITY % Object.ANY "EMPTY">
 > Use EMPTY or whatever appropriate for the 'null' case.

Joseph Reagle Jr.   
W3C Policy Analyst                mailto:reagle@w3.org
IETF/W3C XML-Signature Co-Chair   http://www.w3.org/People/Reagle/
Received on Wednesday, 3 May 2000 21:57:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:21:33 UTC