[
https://issues.apache.org/jira/browse/DIGESTER-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebb updated DIGESTER-134:
--------------------------
Summary: Bug in SetPropertyRule (was: But in SetPropertyRule)
> 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
> Fix For: 2.1
>
>
> 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.