Re: [xml-dev] Two quick questions regarding restriction in XML Schema

From
Jeff Greif <>
To
Murali Mani <>,
Date
2002-05-23T00:41:08Z
ID
<051101c201f2$8744c660$6400a8c0@JMG>
Thread
Re: [xml-dev] Two quick questions regarding restriction in XML Schema
There is some danger in using 'accidental' subtype relationships that arise
from similar but unrelated hedge types.

We could have:
   president isa manager isa employee isa person
  vice-president isa manager isa employee isa person

and hedge types:
company-bowling-team -> (employee+)
5-year-plan-strategists -> (president, vice-president*)

Yes, the president and vice-presidents could form a bowling team,
but it's unlikely that the author of these types had that in mind.

Jeff