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

Typos in schema definition

From: Takeshi Imamura <IMAMU@jp.ibm.com>
Date: Fri, 8 Mar 2002 17:38:04 +0900
To: xml-encryption@w3.org
Message-ID: <OF093A03BC.422D9B63-ON49256B76.002D5F15@LocalDomain>

Hi,

I found two typos in [1].

1. With the following, the OAEPParams element cannot be a child of the
EncryptionMethod element because of namespace="##other" of <any>.

  <complexType name='EncryptionMethodType' mixed='true'>
    <sequence>
      <element name='KeySize' minOccurs='0'
               type='xenc:KeySizeType'/>
      <any namespace='##other' minOccurs='0'
                               maxOccurs='unbounded'/>
    </sequence>
    <attribute name='Algorithm' type='anyURI' use='required'/>
  </complexType>

2. With the following, either the DataReference or KeyReference element can
be a child of the ReferenceList element.  minOccurs="0" and maxOccurs
="unbounded" would be attributes of <choice>.

  <element name='ReferenceList'>
    <complexType>
      <choice>
        <element name='DataReference' type='xenc:ReferenceType'
         minOccurs='0' maxOccurs='unbounded'/>
        <element name='KeyReference' type='xenc:ReferenceType'
         minOccurs='0' maxOccurs='unbounded'/>
      </choice>
    </complexType>
  </element>

[1] http://www.w3.org/TR/xmlenc-core

Thanks,
Takeshi IMAMURA
Tokyo Research Laboratory
IBM Research
imamu@jp.ibm.com
Received on Friday, 8 March 2002 03:38:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:42:20 GMT