Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XOM 1.0 alpha 1 is here

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: jcowan AT reutershealth.com
  • To: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] XOM 1.0 alpha 1 is here
  • Date: Tue, 8 Jun 2004 15:49:25 -0400

Elliotte Rusty Harold scripsit:

> * The base URI handling has been modified as follows:
> 1. getBaseURI() always returns an absolute URI or the empty
> string if the base URI is not known. Other than the empty string it
> never returns a relative URI. It never returns null.

Why return the empty string for unknown rather than null? This seems to
me to be a paradigm case for null, if not indeed an exception.

> 2. The base URI of an element does not change when it is
> detached or copied.
> 3. The setBaseURI() method only accepts an absolute URI. It
> throws a MalformedURIException if you attempt to pass it a relative
> URI, or a URI with a fragment identifier. (Relative URIs are still
> allowed in xml:base attributes.)

Good. The base URI should always be absolute.

> * DOMConverter and several methods have been rewritten with
> non-recursive algorithms. Some work remains to be done in this area,
> however.

Hurrah!

--
John Cowan jcowan AT reutershealth.com www.reutershealth.com
www.ccil.org/~cowan
Heckler: "Go on, Al, tell 'em all you know. It won't take long."
Al Smith: "I'll tell 'em all we *both* know. It won't take any longer."




Archive powered by MHonArc 2.6.24.

Top of Page