You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/09/02 16:57:26 UTC

DO NOT REPLY [Bug 12230] New: - Problem with creating DOM attributes

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12230>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12230

Problem with creating DOM attributes

           Summary: Problem with creating DOM attributes
           Product: Commons
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: JXPath
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: Trond.Aasan@ub.ntnu.no


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)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>