- From: Joseph M. Reagle Jr. <reagle@w3.org>
- Date: Fri, 15 Dec 2000 18:02:34 -0500
- To: mmurata@trl.ibm.co.jp
- Cc: <w3c-ietf-xmldsig@w3.org>, xmetal-support@softquad.com
At 10:53 12/15/2000 +0900, mmurata@trl.ibm.co.jp wrote: >Please use (#PCDATA|a)* rather than (foo|#PCDATA)*, which is >illegal in XML. (I wondered about that, but the DTD RulesMaker didn't choke on structures like: <!ENTITY % Method.External ''> <!ENTITY % Method.ANY '(%Method.External;#PCDATA|foo)*'> either and I was too lazy to check the BNF.) > Here is a rewrite. Thanks! Plus given I know now how to combine entities with other content properly <smile> we could remove a level of indirection (External) and have very good equivalence with the schema structures! (Right?) See [1], excerpts: [1] http://www.w3.org/Signature/Drafts/xmldsig-core/xmldsig-core-schema.dtd <!ENTITY % KeyInfo.ANY ''> <!ENTITY % KeyValue.ANY ''> ... <!ELEMENT KeyInfo (#PCDATA|KeyName|KeyValue|RetrievalMethod| X509Data|PGPData|MgmtData %KeyInfo.ANY;)* > <!ATTLIST KeyInfo Id ID #IMPLIED > ... <!ELEMENT KeyValue (#PCDATA|DSAKeyValue|RSAKeyValue %KeyValue.ANY;)* > __ Joseph Reagle Jr. W3C Policy Analyst mailto:reagle@w3.org IETF/W3C XML-Signature Co-Chair http://www.w3.org/People/Reagle/
Received on Friday, 15 December 2000 18:02:52 UTC