commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIGESTER-134) Bug in SetPropertyRule
Date Sun, 26 Sep 2010 18:55:33 GMT

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

Simone Tripodi updated DIGESTER-134:
------------------------------------

    Fix Version/s: 2.2
                       (was: 2.1)

> Bug in SetPropertyRule
> ----------------------
>
>                 Key: DIGESTER-134
>                 URL: https://issues.apache.org/jira/browse/DIGESTER-134
>             Project: Commons Digester
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Alexander Krasnukhin
>             Fix For: 2.2
>
>
> In method begin(Attributes attributes) there seems like something wrong there:
> if (name.equals(this.name)) {
>                 actualName = value;
> } else if (name.equals(this.value)) {
>                 actualValue = value;
> }
> But actually must me fixed this way:
> if (name.equals(this.name)) {
>                 actualName = name;
>                 actualValue = value;
>                 break;
> }
> It wont work without that fix. I tested.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message