Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Preserving base URIs on detachment

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • 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, jcowan AT reutershealth.com
  • Subject: Re: [XOM-interest] Preserving base URIs on detachment
  • Date: Fri, 26 Mar 2004 17:29:32 -0500

At 2:50 PM -0600 3/26/04, Bradley S. Huffman wrote:

What if you don't detach or remove a element, but remove the base attribute
from it (assuming it was loaded with one). That can effect the base URI of
not only the element, but all it's descendants. Should the base URI be
frozen then?

This one's easy. Changing an xml:base attribute changes the calculation of the base URI for that element and its descendants. However, it does not change the actual base URI for any of them.
--

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




Archive powered by MHonArc 2.6.24.

Top of Page