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

Re: Parents disinherit their children

Subject: Re: Parents disinherit their children
From: James Clark <jjc@xxxxxxxxxx>
Date: Thu, 14 Oct 1999 09:36:51 +0700
wed design for parents
Elliotte Rusty Harold wrote:

> However, I'm concerned about the logical inconsistency in this
> statement as currently written. In common usage, both technical and
> genealogical, the statement that A is the parent of B clearly implies
> that B is the child of A. Why is this common understanding of
> language broken here?

This was discussed at enormous length in the XSL WG.  It boiled down to
a choice between the design as it is now and an alternative design in
which

1. "parent" is the inverse of "children"
2. there's a new "bearer" axis that gets from an attribute/namespace to
the element that bears it
3. there's a new "parent-or-bearer" axis that means what parent means
now
4. .. is an abbreviation for parent-or-bearer::node()

The WG decided to stick with the current design because

a) the alternate design added significant complexity (two new axes)
without any increased functionality

b) it complicates usage of ancestor. Either

- ancestor on an attribute is always empty, or
- you introduce new axes that are like ancestor/ancestor-or-self but
work for attributes, or
- you make ancestor no longer equivalent to parent or parent's parent
etc

None of these seem attractive options. 

> Is there anything that can be done to fix it?

No.  At this stage, the scope for change is very limited (unless you
want to see the Recommendation delayed for many months).

James



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.