commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JXPATH-74) Exception trying to set value with xpath vendor/location[@id = '100']
Date Fri, 05 Jan 2007 16:13:27 GMT

     [ https://issues.apache.org/jira/browse/JXPATH-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Niall Pemberton resolved JXPATH-74.
-----------------------------------

    Resolution: Invalid

Thansk for posting back, closing as INVALID

> Exception trying to set value with xpath vendor/location[@id = '100']
> ---------------------------------------------------------------------
>
>                 Key: JXPATH-74
>                 URL: https://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: https://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