Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Builder argument swap

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Nils_Kilden-Pedersen AT Countrywide.Com
  • To: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Builder argument swap
  • Date: Tue, 23 Mar 2004 13:07:57 -0800

xom-interest-bounces AT lists.ibiblio.org wrote on 03/23/2004 10:37:57 AM:

> At 9:29 AM -0800 3/23/04, Nils_Kilden-Pedersen AT Countrywide.Com wrote:
> >How about making it explicit, i.e. adding a boolean argument:
> >preserveBaseURI. Would that work?
>
> Too confusing. I'd prefer to pick one approach and stick with it. And
> where would this be set anyway?

On detach(), i.e. detach(true);

Seems quite sensible to me.
>From hip AT cs.okstate.edu Tue Mar 23 16:13:52 2004
Return-Path: <hip AT cs.okstate.edu>
Delivered-To: xom-interest AT lists.ibiblio.org
Received: from csa.cs.okstate.edu (a.cs.okstate.edu [139.78.113.1])
by happyhouse.metalab.unc.edu (Postfix) with ESMTP id 0FCE020014
for <xom-interest AT lists.ibiblio.org>;
Tue, 23 Mar 2004 16:13:52 -0500 (EST)
Received: from cs.okstate.edu (localhost [127.0.0.1])
by csa.cs.okstate.edu (Postfix) with ESMTP
id C1222A0796; Tue, 23 Mar 2004 15:13:51 -0600 (CST)
To: Nils_Kilden-Pedersen AT Countrywide.Com
Subject: Re: [XOM-interest] Builder argument swap
In-Reply-To: Your message of "Tue, 23 Mar 2004 13:07:57 PST."

<OF4E9ACA5D.CD742492-ON88256E60.0073FCD9-88256E60.007415CB AT countrywide.com>
Date: Tue, 23 Mar 2004 15:13:51 -0600
From: "Bradley S. Huffman" <hip AT cs.okstate.edu>
Message-Id: <20040323211351.C1222A0796 AT csa.cs.okstate.edu>
Cc: xom-interest AT lists.ibiblio.org
X-BeenThere: xom-interest AT lists.ibiblio.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: xom-interest.lists.ibiblio.org
List-Unsubscribe: <http://lists.ibiblio.org/mailman/listinfo/xom-interest>,
<mailto:xom-interest-request AT lists.ibiblio.org?subject=unsubscribe>
List-Archive: <https://lists.ibiblio.org/sympa/arc/xom-interest>
List-Post: <mailto:xom-interest AT lists.ibiblio.org>
List-Help: <mailto:sympa AT lists.ibiblio.org?subject=HELP>
List-Subscribe: <http://lists.ibiblio.org/mailman/listinfo/xom-interest>,
<mailto:xom-interest-request AT lists.ibiblio.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Mar 2004 21:13:52 -0000

Nils_Kilden-Pedersen AT Countrywide.Com writes:

> On detach(), i.e. detach(true);

The problem I have with this is you don't know what "true" means. Without
reading the javadocs it could be interpreted as "detach node? yes!".

Also detach() isn't the only way to remove a node from it's parent, i.e.
ParentNode.removeChild(Node).

Brad




Archive powered by MHonArc 2.6.24.

Top of Page