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

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 UTC