Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] BaseRelativeResolver: uninitialized field 'base'

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Janek Bogucki <janekdb AT yahoo.co.uk>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] BaseRelativeResolver: uninitialized field 'base'
  • Date: Sat, 31 May 2003 00:04:19 +0100 (BST)

Hi,

BaseRelativeResolver has a bug in the form of an uninitialized field 'base':

class BaseRelativeResolver implements EntityResolver {

private URL base;

public BaseRelativeResolver(String base) {

if (base == null) return;
try {
URL u = new URL(base);
}
catch (MalformedURLException ex) {
// can't do anything; just use defaults for all resolutions
}
}

--snip--
}


Cheers,
Janek Bogucki

__________________________________________________
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html




Archive powered by MHonArc 2.6.24.

Top of Page