Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-109

Jaxen XPath integration bug - Example Included - Certain expressions cause ClassCastException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Version 1.0.4
    • Component/s: None
    • Labels:
      None
    • Environment:
      WinXP, 1.0.4 Snapshot

      Description

      Jaxen XPath integration bug - Example Included - Certain expressions cause ClassCastException

      I included a simple test file which will test a XML document and a XPath expression. First it will call Jaxen directly and output the expected result, next it will invoke via XmlBeans and fail with a ClassCastException. *Note I have run simple XPath expressions with no failures, so this may just be an untested case.

      This has not been tested on v2.0 codebase, but code seems to be the same at first glance.

        Attachments

        1. Test.java
          4 kB
          Salvatore Campana

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              scamp Salvatore Campana
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: