W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2008

Re: Implementations/Non-Implementations of xs:redefine?

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Wed, 09 Jan 2008 13:43:48 +0000
To: Eliot Kimber <ekimber@reallysi.com>
Cc: xmlschema-dev@w3.org, Michael Kay <mike@saxonica.com>
Message-ID: <f5bve63w1uz.fsf@hildegard.inf.ed.ac.uk>

Hash: SHA1

Eliot Kimber writes:

> I think DITA shines a spotlight on [the dark corners of xs:redefine
> interop]. In particular, any two topic specializations used in the
> same environment (which will be all realistic uses of DITA, which,
> out-of-the-box, defines three specializations of the base topic
> type) will re-use the same base schema modules and apply *different*
> redefines.
> I think that's exactly the main issue Mike is describing: schemas B
> and C (e.g., topic-type-specific "shell" schemas) both redefine groups
> defined in schema A (the base "topic" topic type schema module).

I'm not sure I understand.  Do you mean that user 1 and/or document 1
need schema B, which redefines schema A, while user 2 and/or document
2 need schema C, which redefines schema A?  Or do you mean that some
users/documents need schemas B _and_ C, both of which redefine schema

The former is fine, it's only the latter which is tricky and, in fact,
I would say, an error (because B and C will produce distinct
definitions of some top-level items. . .).

> In a CMS system that's trying to manage these topics, I can imagine a
> serious problem if it expects to be able keep a single, invariant
> version of the "topic" module in memory or reflected in its internal
> schema or whatever.

Yes, well, doing the wrong thing with multiple versions is a sign of a
bad CMS, regardless of how the multiple versions arise. . .

- -- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
Version: GnuPG v1.2.6 (GNU/Linux)

Received on Wednesday, 9 January 2008 13:43:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:45 UTC