Details

      Description

      I try and run this:

      Document.selectPath("//event-ref");

      for this xml:

      ...
      <event-refs>
      <event-ref id=".."/>
      </event-refs>

      and get this trace:

      java.lang.RuntimeException: Path too complex for xmlbeans: //event-ref
      at org.apache.xmlbeans.impl.newstore2.Path.getCompiledPath(Path.java:156)
      at org.apache.xmlbeans.impl.newstore2.Path.getCompiledPath(Path.java:89)
      at org.apache.xmlbeans.impl.newstore2.Cursor._selectPath(Cursor.java:860)
      at org.apache.xmlbeans.impl.newstore2.Cursor.selectPath(Cursor.java:2588)
      at org.apache.xmlbeans.impl.values.XmlObjectBase.selectPath(XmlObjectBase.java:427)
      at org.apache.xmlbeans.impl.values.XmlObjectBase.selectPath(XmlObjectBase.java:411)

      I have xbean_xpath.jar (2.0 beta 1), saxon8-xpath.jar, and xbean.jar on my classpath. It doesn't even look like it's using the saxon xpath api at all. What could be the problem?

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        2d 54m 1 Yana Kadiyska 01/Apr/05 06:20
        Resolved Resolved Closed Closed
        18d 21h 57m 1 Jacob Danner 20/Apr/05 04:17
        Jacob Danner made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Jacob Danner added a comment -

        This is fixed with saxon in v2 and Jaxen in V1

        Show
        Jacob Danner added a comment - This is fixed with saxon in v2 and Jaxen in V1
        Yana Kadiyska made changes -
        Field Original Value New Value
        Fix Version/s Version 1 [ 10444 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Fix Version/s Version 2 Beta 1 [ 10911 ]
        Fix Version/s Version 2 Beta 2 [ 10930 ]
        Fix Version/s Version 2 [ 10445 ]
        Hide
        Yana Kadiyska added a comment -

        Jar issue

        Show
        Yana Kadiyska added a comment - Jar issue
        Roshan Punnoose created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Roshan Punnoose
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development