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

Proposed Update to XML ENcryption 1.1 Parameters element schema definition to make anyType explicit

From: <Frederick.Hirsch@nokia.com>
Date: Mon, 2 Jul 2012 20:43:55 +0000
To: <cantor.2@osu.edu>
CC: <Frederick.Hirsch@nokia.com>, <mnystrom@microsoft.com>, <public-xmlsec@w3.org>
Message-ID: <85333464-2E58-477B-9870-83A3883A97AD@nokia.com>
I take it from this email thread that we are all agreed to the following change to XML Encryption 1.1:

(1) Section 5.4.2 PBKDF2, Schema Definition:

Change   " <element name="Parameters" minOccurs="0"/>" to  " <element name="Parameters" type="anyType" minOccurs="0"/>"

(2) Make the corresponding change to xenc-schema-11.xsd

(I'm do not think  a corresponding change is needed for the RELAXNG schema files xenc-schema-11.rnc, xenc-schema-11.rng, since they already define anyParameters and anyElement.)

Any objection or concern with this change?

regards, Frederick

Frederick Hirsch

On Jul 2, 2012, at 1:40 PM, ext Cantor, Scott wrote:

> On 7/2/12 1:23 PM, "Magnus Nystrom" <mnystrom@microsoft.com> wrote:
>> I don't know what version you're looking at, but there is an "anyURI"
>> type on that "Algorithm" attribute in the schema associated with the
>> 3/12/2012 draft.
> I misread the year on the draft I was looking at, thanks.
>> The "Parameter" element, as any element type without a Type
>> specification, will get the "anyType" as you surmise (see e.g.
>> http://www.w3.org/TR/xmlschema-0/#anyType). I don't see a reason to
>> change this as it is the default.
> Unless there's a good reason, I'd urge getting that corrected as an
> editorial nit. It's just bad form. It's also kind of bad in general, since
> anyType includes mixed content, but that's inherited from the original.
>> As for the wholesale copying, I agree. However, this was the decision of
>> the group at the time; some people voiced concern over having a
>> dependency on an external publication (see some of the thread here:
>> http://lists.w3.org/Archives/Public/public-xmlsec/2010Feb/0004.html)
> Got it.
> -- Scott
Received on Monday, 2 July 2012 20:44:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:42:29 UTC