xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: John Cowan <cowan AT ccil.org>
- To: "Bradley S. Huffman" <hip AT cs.okstate.edu>
- Cc: Elliotte Rusty Harold <elharo AT metalab.unc.edu>, xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Builder argument swap
- Date: Tue, 23 Mar 2004 12:41:56 -0500
Bradley S. Huffman scripsit:
> Elliotte Rusty Harold writes:
>
> > We've discussed this in the past, and the result was the current
> > behavior. However, I could be convinced that elements should retain
> > their base URI on being detached from the parent. Right now that
> > isn't obviously right though.
>
> Right now sometimes they retain there base URI when they're detached,
> sometimes they don't, it all depends on how the base URI is set.
I think that violates the Law of Least Astonishment, and on reflection I
also now think that elements should retain their base URIs when detached.
The base URI is an essential part of an element's meaning if the element
contains relative URIs in its content or attribute values; moving it
around from one document (or part of a document) to another shouldn't
implicitly change the meaning.
If this is to be done, the question is, how? Shall detaching an element
just cause the base URI to be set internally, and leave generating
xml:base attributes up to the Serializer, or should it actually generate
an Attribute object at detach time? I incline to the former.
--
John Cowan www.ccil.org/~cowan www.reutershealth.com
jcowan AT reutershealth.com
[T]here is a Darwinian explanation for the refusal to accept Darwin.
Given the very pessimistic conclusions about moral purpose to which his
theory drives us, and given the importance of a sense of moral purpose
in helping us cope with life, a refusal to believe Darwin's theory may
have important survival value. --Ian Johnston
-
Re: [XOM-interest] Builder argument swap
, (continued)
- Re: [XOM-interest] Builder argument swap, Elliotte Rusty Harold, 03/22/2004
- Re: [XOM-interest] Builder argument swap, Bradley S. Huffman, 03/23/2004
- Re: [XOM-interest] Builder argument swap, Elliotte Rusty Harold, 03/23/2004
- [XOM-interest] Preserving base URIs on detachment, Elliotte Rusty Harold, 03/23/2004
- Re: [XOM-interest] Preserving base URIs on detachment, Elliotte Rusty Harold, 03/25/2004
- Re: [XOM-interest] Preserving base URIs on detachment, Bradley S. Huffman, 03/26/2004
- Re: [XOM-interest] Preserving base URIs on detachment, Elliotte Rusty Harold, 03/27/2004
- Re: [XOM-interest] Preserving base URIs on detachment, John Cowan, 03/27/2004
- Re: [XOM-interest] Preserving base URIs on detachment, Bradley S. Huffman, 03/27/2004
- Re: [XOM-interest] Builder argument swap, Nils_Kilden-Pedersen, 03/23/2004
- Re: [XOM-interest] Builder argument swap, John Cowan, 03/23/2004
- Re: [XOM-interest] Builder argument swap, Mike Fitzgerald, 03/23/2004
- Re: [XOM-interest] Builder argument swap, Elliotte Rusty Harold, 03/23/2004
- Re: [XOM-interest] Builder argument swap, Bradley S. Huffman, 03/23/2004
-
Re: [XOM-interest] Builder argument swap,
Nils_Kilden-Pedersen, 03/23/2004
-
Message not available
- Re: [XOM-interest] Builder argument swap, jcowan, 03/23/2004
-
Message not available
Archive powered by MHonArc 2.6.24.