W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2010

Re: deprecation of redefine in XML Schema 1.1

From: Mukul Gandhi <gandhi.mukul@gmail.com>
Date: Mon, 22 Nov 2010 12:42:54 +0530
Message-ID: <AANLkTimjVsrQQzOLLrB7KsvSg5R-J6OBNQJLfMRXwbz7@mail.gmail.com>
To: www-xml-schema-comments@w3.org
I rethought about my opinion for deprecation of xs:redefine and here
are few new thoughts please.

I can't personally claim this feature to remain as it is. I can find
ambiguities in definition of xs:redefine and can feel few design
mistakes in the specification of xs:redefine.

I think the decision to deprecate xs:redefine is probably right, and
the WG can probably revisit improving the design of xs:redefine in
next version of the XML Schema spec (1.2 or may be 2.0 the future
version which I don't know).

On Mon, Nov 22, 2010 at 4:52 AM, Mukul Gandhi <gandhi.mukul@gmail.com> wrote:
> Hi all,
>   In the latest XML Schema 1.1 working draft the following is
> mentioned about xs:redefine instruction,
>
> Editorial Note: Priority Feedback Request
> <quote>
> The Working Group requests feedback from readers, schema authors,
> implementors, and other users of this specification as to the
> desirability of retaining, removing, deprecating, or not deprecating
> the use of <redefine>. Since the <override> facility provides similar
> functionality but does not require a restriction or extension relation
> between the new and the old definitions of redefined components, the
> Working Group is particularly interested in learning whether users of
> this specification find that requirement useful or not.
> </quote>
>
> Here's my personal opinion please about xs:redefine instruction:
> It's a useful schema instruction, and shouldn't be removed or
> deprecated and should exist side by side with xs:override instruction.
> I believe the capability to incorporate schema components in a source
> (parent) schema via xs:redefine with semantics of restriction or
> extension is an important capability, as is the newer XML Schema 1.1
> xs:override instruction which provides unconstrained incorporation of
> schema components.
>
> If the XML schema working group hasn't taken a final decision in this
> regard, I would request to remove the word deprecated from xs:redefine
> in XML Schema 1.1 spec.




-- 
Regards,
Mukul Gandhi
Received on Monday, 22 November 2010 07:13:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 22 November 2010 07:13:56 GMT