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: Wolfgang Hoschek <wolfgang.hoschek AT mac.com>
  • To: 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: Thu, 5 Jan 2006 08:41:29 -0800


On Jan 5, 2006, at 7:22 AM, Steve Loughran wrote:

Why is Element.getNamespacePrefixesInScope() private?

Is it because nobody has expressed a need for it to be accessible yet?

if so, I'd like access :)

Me too :-)

Why? For the same reasons that the method exists in the first place: It's frequently needed for XPath, XQuery, all kinds of serialization, and numerous other places. XOM uses it for the very same reasons (that's why the method is already there after all), but it's not publicly exposed because XOM is somehow a more equal citizen, or, more accurately, the one and only first class citizen on the train :-)

(I've never seen this discussion go anywhere on this mailing list.

Wolfgang.




Archive powered by MHonArc 2.6.24.

Top of Page