commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Reed (JIRA)" <j...@apache.org>
Subject [jira] Created: (JXPATH-74) Exception trying to set value with xpath vendor/location[@id = '100']
Date Tue, 14 Nov 2006 20:18:37 GMT
Exception trying to set value with xpath vendor/location[@id = '100']
---------------------------------------------------------------------

                 Key: JXPATH-74
                 URL: http://issues.apache.org/jira/browse/JXPATH-74
             Project: Commons JXPath
          Issue Type: Test
    Affects Versions: 1.2 Final
         Environment: Mac OS X 10.4

plus the following packages installed (for dependencies):
 i   commons-beanutils                   1.7.0-4                    Jakarta Commons - BeanUtils
 i   commons-collections                 3.2-3                      Jakarta Commons - Collections
 i   commons-logging                     1.1-1                      Jakarta Commons - Logging
 i   jdom                                1:1.0-1                    Alternative DOM processing
API for java
 i   xerces-j                            2.8.0-1                    XML parser in Java

            Reporter: Benjamin Reed


the junit tests fail on one of the jdom tests:

    [junit] Testcase: testGetNode took 1.287 sec
    [junit] Testcase: testID took 0.071 sec
    [junit] Testcase: testDocumentOrder took 0.121 sec
    [junit] Testcase: testSetValue took 0.083 sec
    [junit]     Caused an ERROR
    [junit] Exception trying to set value with xpath vendor/location[@id = '100']; org.jdom.Element.addContent(Lorg/jdom/Text;)Lorg/jdom/Element;
    [junit] org.apache.commons.jxpath.JXPathException: Exception trying to set value with
xpath vendor/location[@id = '100']; org.jdom.Element.addContent(Lorg/jdom/Text;)Lorg/jdom/Element;
    [junit]     at org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.setValue(JXPathContextReferenceImpl.java:421)
    [junit]     at org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.setValue(JXPathContextReferenceImpl.java:412)
    [junit]     at org.apache.commons.jxpath.JXPathTestCase.assertXPathSetValue(JXPathTestCase.java:83)
    [junit]     at org.apache.commons.jxpath.JXPathTestCase.assertXPathSetValue(JXPathTestCase.java:77)
    [junit]     at org.apache.commons.jxpath.ri.model.XMLModelTestCase.testSetValue(XMLModelTestCase.java:129)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message