You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "James Margaris (JIRA)" <xa...@incubator.apache.org> on 2006/12/12 00:53:21 UTC

[jira] Resolved: (XAP-191) XModify throws an exception when XPath returns 0 results

     [ http://issues.apache.org/jira/browse/XAP-191?page=all ]

James Margaris resolved XAP-191.
--------------------------------

    Resolution: Fixed

This is now printed in the log instead of throwing an exception.

> XModify throws an exception when XPath returns 0 results
> --------------------------------------------------------
>
>                 Key: XAP-191
>                 URL: http://issues.apache.org/jira/browse/XAP-191
>             Project: XAP
>          Issue Type: Bug
>          Components: XModify
>            Reporter: Trevor Oldak
>
> The Nexaweb Java client doesn't complain when an xpath query returns 0 results. However, XAP does.
> <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui">
> 	<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
> 		<xm:append select="/foo">
>                    <xal:label text="hello world!"/>
>                 </xm:append>
>        </xm:modifications>
> </xal>
> This will throw an error.
> On the other hand, it would be nice to know when something like this went wrong.

-- 
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