[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: modeling, validating and documenting an xml grammar


polydactyly chromosomes
John Cowan wrote:

> "Jonathan Borden" <jonathan@o...> writes:
>
> > Number of living parents,
> > grandparents,
>
> This works only if we confine ourselves to either legal or biological
> parents.  Arguably, there are living persons with five parents: an
adoptive
> mother, an adoptive father, a sperm donor, an egg donor, and a womb donor.

Ah yes. Let's assume "legal parents" in which case Ari's insistence that
this would be better modelled as (mother,father) blows up in the case of an
adoptee of a same sex marriage :-) The point is that the requirement that
the individuals (e.g. elements) be observably/nameably distinct imposes
certain restrictions on what one might want to model, or to say.

>
> > Digits on left hand
>
> But then the temptation would be to set the max to five, and blow up on
> polydactyly.
>
> > Human chromosomes...
>
> Bare X, XXY, XYY.
>

All these "blow up" *only* when we make incorrect assumptions about the
values of min/max -- e.g. digits on the left hand might be {0,8} and
chromosomes might be {45,50} -- or whatever limits *one wishes to set*, the
point being that there are real world modelling tasks where cardinalities of
(0,1,many) is not the most crisp way of modelling the problem.

I am merely pointing out that there are indeed real world situations where a
cardinality of other than (0,1,many) is hardly evidence of "poor design".

Jonathan


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.