Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XPathContext and lookups

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] XPathContext and lookups
  • Date: Fri, 14 Apr 2006 00:37:22 +0100

Elliotte, every time someone asks for facilities to do namespace prefix
lookups you ask them why they need it. What can't you just accept that they
do? From here, it's like watching a steady stream of customer going to a
corner shop asking for matches and being told that they don't stock them
because there's no demand...

Michael Kay

> -----Original Message-----
> From: xom-interest-bounces AT lists.ibiblio.org
> [mailto:xom-interest-bounces AT lists.ibiblio.org] On Behalf Of
> Elliotte Harold
> Sent: 13 April 2006 23:31
> To: Steve Loughran
> Cc: xom-interest
> Subject: Re: [XOM-interest] XPathContext and lookups
>
> Steve Loughran wrote:
> > On 13/04/06, Elliotte Harold <elharo AT metalab.unc.edu> wrote:
> >> Steve Loughran wrote:
> >>> Am I right in concluding that there is no way for things
> outside the
> >>> xom package to map from prefix to uri in an XPathContext?
> >>>
> >> I don't think so. Why would you conclude that?
> XPathContext should be
> >> fully usable by any class that needs it in any package.
> It's public, not
> >> package protected.
> >>
> >
> > Its public, but there is no public method to do a lookup
> from prefix to xmlns.
> >
>
> What is it you want to do? What's your use case? That class for the
> moment is just intended to provide a context for XPath
> evaluation, which
> it does, Why do you want a public lookup method?
>
> --
> ?Elliotte Rusty Harold elharo AT metalab.unc.edu
> XML in a Nutshell 3rd Edition Just Published!
> http://www.cafeconleche.org/books/xian3/
> http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/
> ref=nosim
> _______________________________________________
> XOM-interest mailing list
> XOM-interest AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/xom-interest
>






Archive powered by MHonArc 2.6.24.

Top of Page