Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Element. // Used for XPath and serialization Why is Element.getNamespacePrefixesInScope() private?

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Michael Kay" <mike AT saxonica.com>
  • To: "'Elliotte Harold'" <elharo AT metalab.unc.edu>, "'Steve Loughran'" <steve.loughran AT gmail.com>
  • Cc: 'xom-interest' <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Element. // Used for XPath and serialization Why is Element.getNamespacePrefixesInScope() private?
  • Date: Mon, 23 Jan 2006 13:18:37 -0000

> > javax.xml.namespace.NamespaceContext
>
> I don't think I want to introduce an external dependency on
> that class
> since it wasn't a standard part of the JDK until 1.5, and there's
> probably some silly legal reason I can't ship it bundled into XOM.

And if you need another reason, it's a very poorly designed interface,
offering no method to find out all the namespaces that are in scope.

Michael Kay
http://www.saxonica.com/





Archive powered by MHonArc 2.6.24.

Top of Page