Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] How to read attribute value from Nodes class.

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Regier Avery J <RegierAveryJ AT JohnDeere.com>
  • To: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
  • Cc: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] How to read attribute value from Nodes class.
  • Date: Thu, 3 May 2012 17:40:36 -0500

Yes. That URL I was trying to replace with http://some.namespace for your
consumption. Treat it as if it were the same namespace as in the root
element. I tried using item::a:code but get the exact same error.

- Avery

On May 3, 2012, at 5:04 PM, "Elliotte Rusty Harold" <elharo AT ibiblio.org>
wrote:

> On Thu, May 3, 2012 at 5:00 PM, Regier Avery J
> <RegierAveryJ AT johndeere.com> wrote:
>
>> Caused by: nu.xom.XPathException: XPath error: No Such Function
>> {http://axiom.deere.com/Platform/Data/Services}:not
>> at nu.xom.Node.query(Unknown Source)
>> at
>> com.deere.axiom.rest.followpass.domain.XomFollowPass.query(XomFollowPass.java:159)
>> ... 28 more
>
> That's weird. There's certainly a bug here, but it may or may not be a
> bug in XOM; and in either case it's almost certainly not what you
> think it is. Can you narrow this down to a self-contained test case. I
> suspect if you do so, the problem will make itself apparent, but if
> not, send that test case here and I'll check it out.
>
> Also, do you have any idea where the URL
> http://axiom.deere.com/Platform/Data/Services is coming from? That's
> the biggest clue.
>
> --
> Elliotte Rusty Harold
> elharo AT ibiblio.org
> _______________________________________________
> 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