Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Controlled Intermixing of Namespaced Element Types

From: ht@---.--.--.-- (----- -. --------)
To: Eliot Kimber <ekimber@---------------.--->
Date: 3/25/2005 10:10:00 AM
Eliot Kimber <ekimber@i...> writes:

> OK. I'm not sure why Henry put the cell type into a separate schema, but
> in any case I was able to create a simple working example following his
> model, except in my case it is the cell element that gets substituted
> (since having a lower-level content element just adds an unnecessary
> level of containment [but see below]).

I was responding to your requirement that the users' cell fill-ins be
in a different namespace -- with hindsight it was overkill, I agree.

> But my solution should be functionally equivalent [to parameter
> entities]

Agreed.

> *if* processing is based on the underlying type and not on the
> element type name, in which case there is no ambiguity about the
> semantic of the substituted cell element. If processing may be based
> only on the element type name then the extra level of containment is
> required so that the cell element type name is invariant (and thus
> generalized table processors will reliably recognize the element as
> being a table cell). Hmmm.

Well, that's up to your processor, not XML Schema -- see Michael Kay's
reply to the effect that yes, it's now (XPath 2.0 and friends) easy to
select on type. . .

Wrt you element/type issue, I find it helpful to think of a lot of
document design in terms of what I call relation normal form in [1]
(or see Edinburgh normal form in [2]), in which from the domain
semantics perspective elements and attributes encode relations and
types encode (classes of) entities.

So it's a domain-empirical question whether the same class of entity
is the value of one or many relations.

Hope this helps,

ht

[1] http://www.ltg.ed.ac.uk/~ht/normalForms.html
[2] http://www.idealliance.org/papers/extreme03/html/2003/Thompson01/EML2003Thompson01.html
-- 
 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@i...
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]

From ht@i... Fri Mar 25 10:13:14 2005
Received: from lisa.w3.org ([128.30.52.41])


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent