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,
namely


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


and


   <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
schemas.

-- 

Regards,

Makoto
Received on Thursday, 12 January 2012 01:57:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 12 January 2012 01:57:58 GMT