W3C home > Mailing lists > Public > public-xmlsec@w3.org > January 2012

Confusing schema fragment in Encryption 1.1

From: MURATA Makoto <eb2m-mrt@asahi-net.or.jp>
Date: Thu, 12 Jan 2012 10:57:24 +0900
Message-ID: <CALvn5EDZYFpNE_R_sv8szAvasRH+cRuyp2-ZOpwuz-Fq-5QDjw@mail.gmail.com>
To: public-xmlsec@w3.org
The schema fragment in 5.5.2 RSA-OAEP in Encryption 1.1 is
confusing. This fragment contains two element declarations,

   <element name="OAEPparams" minOccurs="0" type="base64Binary"/>


   <element name="MGF" type="xenc11:MGFType"/>


The reader is likely to assume that they belong to the same schema
and thus the same namespaces.  However, OAEPparams belongs to
the namespace for XML Encryption 1.0, while MGF belongs to that
for 1.1.

It should be made clear that these two declarations occur in different



Received on Thursday, 12 January 2012 01:57:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:17 UTC