Typos in schema definition

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 UTC