xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...
- From: Mike Colbert <mbcolbert AT yahoo.com>
- To: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...
- Date: Wed, 15 Mar 2006 09:19:39 -0800 (PST)
> But because Node is abstract, there are no such "objects x", so it
> doesn't directly apply.
I'm not so sure. Does this hold even if getParent is not abstract (which
it's not)?
Mike
----- Original Message ----
From: John Cowan <cowan AT ccil.org>
To: Mike Colbert <mbcolbert AT yahoo.com>
Cc: xom-interest AT lists.ibiblio.org
Sent: Wednesday, March 15, 2006 11:55:25 AM
Subject: Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...
Mike Colbert scripsit:
> But Attribute inherits getParent from Node. I suspect I'm way off-base,
> but I'm starting to question the IS-A relationship between Attribute
> and Node. Liskov/LSP comes to mind.
The LSP says:
Let q(x) be a property provable about objects x of type T. Then
q(y) should be true for objects y of type S where S is a subtype
of T.
But because Node is abstract, there are no such "objects x", so it doesn't
directly apply.
--
Work hard, John Cowan
play hard, cowan AT ccil.org
die young, http://www.ap.org
rot quickly. http://www.ccil.org/~cowan
-
Re: [XOM-interest] Query: Any way to determine ordering of twonodes?,
Mike Colbert, 03/15/2006
-
Re: [XOM-interest] Query: Any way to determine ordering of twonodes?,
Michael Kay, 03/15/2006
- Re: [XOM-interest] Query: Any way to determine ordering of twonodes?, Gregory Garretson, 03/15/2006
- <Possible follow-up(s)>
-
Re: [XOM-interest] Query: Any way to determine ordering of twonodes?,
Mike Colbert, 03/15/2006
-
[XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
Mike Colbert, 03/15/2006
-
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
John Cowan, 03/15/2006
-
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
Mike Colbert, 03/15/2006
-
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
John Cowan, 03/15/2006
- Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ..., Mike Colbert, 03/15/2006
-
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
Tatu Saloranta, 03/15/2006
-
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
Mike Colbert, 03/15/2006
- Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ..., Wolfgang Hoschek, 03/15/2006
- Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ..., John Cowan, 03/16/2006
- Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ..., Mike Colbert, 03/16/2006
- Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ..., John Cowan, 03/16/2006
- Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ..., Mike Colbert, 03/16/2006
- Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ..., Michael Kay, 03/16/2006
- Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ..., Tatu Saloranta, 03/16/2006
-
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
Mike Colbert, 03/15/2006
-
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
John Cowan, 03/15/2006
-
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
Mike Colbert, 03/15/2006
-
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
John Cowan, 03/15/2006
-
[XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
Mike Colbert, 03/15/2006
-
Re: [XOM-interest] Query: Any way to determine ordering of twonodes?,
Michael Kay, 03/15/2006
Archive powered by MHonArc 2.6.24.