xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- To: "Bradley S. Huffman" <hip AT cs.okstate.edu>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Builder argument swap
- Date: Tue, 23 Mar 2004 13:33:28 -0500
At 11:52 AM -0600 3/23/04, Bradley S. Huffman wrote:
After more thought and when base URIs come up again on the JDOM mailing
list, I think I'm going to suggest that parent nodes carry the actual base
URI with methods to set/get the actual base URI only, and move all code for
resolution to a seperate class (XBase). It means a extra class, but it
would keep things simple in the core with no infomation hidden and moves
the troubling parts to single class that could be subclassed when ambiguities
arise. To me this approach seems to follow the K.I.S.S. principle.
I disagree. I'm not 100% clear on what you're proposing, but it seems to add an extra class without adding any functionality. I don't see how subclassers could use this to change the behavior of base URI resolution on detachment, nor would I want to add such an unusual piece of functionality. The use case feels too small to justify the extra cl;ass.
--
Elliotte Rusty Harold
elharo AT metalab.unc.edu
Effective XML (Addison-Wesley, 2003)
http://www.cafeconleche.org/books/effectivexml
http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA
-
Re: [XOM-interest] Preserving base URIs on detachment
, (continued)
- 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.