XPath with XML Beans

Discussion in 'XML' started by Alexander Heinrich, Feb 15, 2005.

  1. Hi

    I'm working with XML Beans and want to pass a complex XPath Query to
    the XmlObject.selectPath() method. When running the application I get
    an UnsupportedOperationException with message 'This query is too
    complex to be processed'. The FAQ on xmlbeans.apache.org says that
    selectPath() can process only very simple querys, but can process more
    complex ones (using Jaxen) if xbean_xpath.jar is on the classpath. But
    no matter what I do, I always get the same exception.
    How can I make XML Beans 1.0.3 process XPath querys with predicates
    (e.g. '//LANGUAGE/parent::*')?
    I've been surfing the net for days, but couldn't find a solution.

    Thanks for every reply!

    Regards,
    Alexander Heinrich
     
    Alexander Heinrich, Feb 15, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Torsten Schmeissel
    Replies:
    0
    Views:
    431
    Torsten Schmeissel
    Apr 29, 2005
  2. Marvin_123456

    "Memory leak" in javax.xml.xpath.XPath

    Marvin_123456, Jul 29, 2005, in forum: Java
    Replies:
    4
    Views:
    1,993
    jan V
    Jul 29, 2005
  3. Alastair Cameron
    Replies:
    1
    Views:
    7,444
    SQL Server Development Team [MSFT]
    Jul 8, 2003
  4. Anna
    Replies:
    0
    Views:
    541
  5. Replies:
    3
    Views:
    1,881
    Arne Vajhøj
    Jan 9, 2009
Loading...

Share This Page