Uploaded image for project: 'Commons JXPath'
  1. Commons JXPath
  2. JXPATH-23

Problem with creating DOM attributes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 12230

    Description

      Nightly build: commons-jxpath-20020902

      SAMPLE XML:
      <nill>
      <test>Blah</test>
      </nill>

      SAMPLE CODE:
      jxpathContext.createPathAndSetValue("nill/test/@a", "blah");

      SYMPTOMS:
      Throws a JXPathException in JXPathContextReferenceImpl (line 354, where
      comment says "This should never happen")

      DEBUG INFO:
      line 341: "Object result = expr.computeValue(getRootContext());"
      "result" is null instead of a NullPointer (or whatever it should be)

      Attachments

        Activity

          People

            Unassigned Unassigned
            trond.aasan@ub.ntnu.no trond.aasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: