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 10:56:08 -0800

I'm sending this again. It didn't seem to come through earlier...

Nils Kilden-Pedersen/IT/CF/CCI wrote on 03/23/2004 09:29:47 AM:

> How about making it explicit, i.e. adding a boolean argument:
> preserveBaseURI. Would that work?
>
> Nils
>From hip AT cs.okstate.edu Tue Mar 23 14:38:04 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 76C21200F8
for <xom-interest AT lists.ibiblio.org>;
Tue, 23 Mar 2004 14:38:02 -0500 (EST)
Received: from cs.okstate.edu (localhost [127.0.0.1])
by csa.cs.okstate.edu (Postfix) with ESMTP
id 1E038A06D6; Tue, 23 Mar 2004 13:38:02 -0600 (CST)
To: Mike Fitzgerald <mikefz AT wyeast.net>
Subject: Re: [XOM-interest] Builder argument swap
In-Reply-To: Your message of "Tue, 23 Mar 2004 11:02:02 MST."
<40607B9A.1040209 AT wyeast.net>
Date: Tue, 23 Mar 2004 13:38:02 -0600
From: "Bradley S. Huffman" <hip AT cs.okstate.edu>
Message-Id: <20040323193802.1E038A06D6 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 19:38:04 -0000

Mike Fitzgerald writes:

> So upon detachment, an xml:base="{baseURI}" is written on the detached
> elemen
> t?
> This would make the baseURI explicit and leave less room for astonishment.

But then if I build from a file which has no base attributes on any of the
elements (original.xml), then detach a element from it and serialize it to
a file (say new_document.xml), then run new_document.xml back through Builder
then I have a base attribute of file://{path}/original.xml on the root
element.
Yuck! I don't think generating something that wasn't there originally is a
good idea.

Brad




Archive powered by MHonArc 2.6.24.

Top of Page