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: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Base URIs
- Date: Wed, 25 Sep 2002 11:17:15 -0400
At 4:04 PM +0200 9/25/02, Johannes Döbler wrote:
setBaseURI() makes only sense for Element and Document nodes.
No, consider an external entity reference or an XInclude that loads up a document containing only text, comments, and processing instructions. These would have a base URI that differs from the base of their parent element. So I think that setBaseURI does make sense for these kinds of nodes. It only really doesn't make sense for document type declarations and attributes.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo AT metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| XML in a Nutshell, 2nd Edition (O'Reilly, 2002) |
| http://www.cafeconleche.org/books/xian2/ |
| http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+
-
[XOM-interest] Base URIs,
Elliotte Rusty Harold, 09/25/2002
-
Re: [XOM-interest] Base URIs,
Johannes Döbler, 09/25/2002
-
Re: [XOM-interest] Base URIs,
Elliotte Rusty Harold, 09/25/2002
- Re: [XOM-interest] Base URIs, John Cowan, 09/25/2002
- Re: [XOM-interest] Base URIs, Laurent Bihanic, 09/26/2002
-
Re: [XOM-interest] Base URIs,
Elliotte Rusty Harold, 09/25/2002
-
Re: [XOM-interest] Base URIs,
John Cowan, 09/25/2002
- Re: [XOM-interest] Base URIs, Elliotte Rusty Harold, 09/27/2002
-
Re: [XOM-interest] Base URIs,
Laurent Bihanic, 09/25/2002
-
Re: [XOM-interest] Base URIs,
Elliotte Rusty Harold, 09/25/2002
-
Re: [XOM-interest] Base URIs,
Laurent Bihanic, 09/26/2002
-
Re: [XOM-interest] Base URIs,
Elliotte Rusty Harold, 09/26/2002
-
Re: [XOM-interest] Base URIs,
Laurent Bihanic, 09/26/2002
- Re: [XOM-interest] Base URIs, Elliotte Rusty Harold, 09/26/2002
-
Re: [XOM-interest] Base URIs,
Laurent Bihanic, 09/26/2002
-
Re: [XOM-interest] Base URIs,
Elliotte Rusty Harold, 09/26/2002
-
Re: [XOM-interest] Base URIs,
Laurent Bihanic, 09/26/2002
-
Re: [XOM-interest] Base URIs,
Elliotte Rusty Harold, 09/25/2002
-
Re: [XOM-interest] Base URIs,
Johannes Döbler, 09/25/2002
Archive powered by MHonArc 2.6.24.