W3C home > Mailing lists > Public > public-xmlsec@w3.org > September 2011

Re: Importing 1.0 while normatively referencing 1.1 ( LC-2544) ( LC-2561)

From: MURATA Makoto <eb2m-mrt@asahi-net.or.jp>
Date: Tue, 6 Sep 2011 15:43:15 +0900
Message-ID: <CALvn5EAcSitXbZN3WjLj0dy4BTuhNcN9=OVXKOf7hw3ThdKObw@mail.gmail.com>
To: "public-xmlsec@w3.org" <public-xmlsec@w3.org>
2011/9/6 Cantor, Scott <cantor.2@osu.edu>:
> On 9/4/11 6:11 PM, "MURATA Makoto" <eb2m-mrt@asahi-net.or.jp> wrote:
>
>>Are there any advantages in not referencing to the Signature 1.1
>>schema from the Encryption 1.1 schema?
>
> There are two. One is simple correctness, use of import properly instead
> of as a substitute for some other intent that XSD does not support.

This is not an advantage but your personal belief.

>The
> other is for instances that are validating only types from the original
> Signature schema, of which there are plenty. If applications don't need
> the newer types, their validation won't fail simply due to a missing
> import.

Of course, many definitions in schemas are not used for simple
documents.  This happens in most schemas.  But this does not mean
that such definitions are useless.  They will be used for other
documents.

Regards,

Makoto
Received on Tuesday, 6 September 2011 06:43:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 6 September 2011 06:43:55 GMT