[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML Schema as a data modeling tool
Thank you. But that's amazing. A person who does not think that he or she has a phone number, rather than the other way around, would be exceptional. So there is a difference in "commonness" as to the two alternatives of parent and child.
I would not hesitate one moment to construct a conceptual model of an enterprise in which a person has zero, one or more phone numbers. I can transform this information content at any moment into a mapping of phone numbers to people, if the need arises. The model is sound and more readily understood by the majority or people than a set of "edges" between phone numbers and people. I do not understand that it "does not reflect the management of phone numbers, devices and people." I do not understand that I "haven't done data modeling". I think I have, all parts have been accommodated, no information is lost. The fact that I cannot assert that this is the only possible way to construct the model does not mean that it is not a sensible, useful, satisfactory way to do it. Perhaps we have different notions of what a conceptual model is. Hans-J��n Von: Peter Hunsberger <peter.hunsberger@gmail.com> An: Hans-Juergen Rennau <hrennau@y...> CC: Michael Kay <mike@s...>; "xml-dev@l..." <xml-dev@l...> Gesendet: 0:05 Dienstag, 1.Oktober 2013 Betreff: Re: XML Schema as a data modeling tool Here's a real simple real world example: People have phones Phones have phone numbers Except, sometimes the same phone number goes to a fax as well as a desk phone, or a single phone number is shared between multiple people, or people have more than one phone number. So what sits at the top of the tree? Phone number or Person? If your answer is that it depends on the problem at hand then you haven't done data modelling, you've modelled a single instance within our problem domain. Or, in-other-words, a tree can model a document that gives a single way to handle phones numbers, devices and people, but that single tree model does not reflect the management of phones numbers,
devices and people within the enterprise.
More generally, you cannot represent any many to many relationship as a single tree. So, the answer to your question is that these models are not ever best represented as trees.
Peter Hunsberger
On Mon, Sep 30, 2013 at 4:43 PM, Hans-Juergen Rennau <hrennau@yahoo.de> wrote:
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|