xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: "Bradley S. Huffman" <hip AT cs.okstate.edu>
- To: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Builder argument swap
- Date: Mon, 22 Mar 2004 10:45:06 -0600
Elliotte Rusty Harold writes:
> My thought is that the File object provides its own base URI. If you
> pass a File object the base URI will be set on the resulting
> document. This isn't true for a plain input stream created from a
> file. Plus, I'd rather not ask the user to specify a file URI if they
> don't really want to change the location. file URIs are very tricky
> and platform dependent, and it's easy to get them wrong. I'm not sure
> the File.toURL() method actually does get them right, but I suspect
> it does a better job than mot users are likely to do by rolling their
> own. Since the most common case is that the base URI is the URI of
> the file itself, that's what XOM supports.
Speaking of tricky things, would there be a reason for an application to
set the base uri, as opposed to it only being set in Builder?
Brad
-
[XOM-interest] Builder argument swap,
Elliotte Harold - java FAQ, 03/19/2004
-
Re: [XOM-interest] Builder argument swap,
jcowan, 03/19/2004
- Re: [XOM-interest] Builder argument swap, Elliotte Rusty Harold, 03/21/2004
-
Re: [XOM-interest] Builder argument swap,
Elliotte Rusty Harold, 03/22/2004
-
Re: [XOM-interest] Builder argument swap,
Bradley S. Huffman, 03/22/2004
-
Re: [XOM-interest] Builder argument swap,
Elliotte Rusty Harold, 03/22/2004
-
Re: [XOM-interest] Builder argument swap,
Bradley S. Huffman, 03/22/2004
-
Re: [XOM-interest] Builder argument swap,
Elliotte Rusty Harold, 03/22/2004
- Re: [XOM-interest] Builder argument swap, Bradley S. Huffman, 03/22/2004
- 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] Builder argument swap,
Elliotte Rusty Harold, 03/22/2004
-
Re: [XOM-interest] Builder argument swap,
Bradley S. Huffman, 03/22/2004
-
Re: [XOM-interest] Builder argument swap,
Elliotte Rusty Harold, 03/22/2004
-
Re: [XOM-interest] Builder argument swap,
Bradley S. Huffman, 03/22/2004
-
Re: [XOM-interest] Builder argument swap,
jcowan, 03/19/2004
Archive powered by MHonArc 2.6.24.