You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Josh Canfield (JIRA)" <ji...@apache.org> on 2010/10/18 00:23:24 UTC
[jira] Resolved: (TAP5-709) Element.attribute(String name, String
value) adds elements that already exist
[ https://issues.apache.org/jira/browse/TAP5-709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Canfield resolved TAP5-709.
--------------------------------
Resolution: Fixed
Fix Version/s: 5.2.2
> Element.attribute(String name, String value) adds elements that already exist
> -----------------------------------------------------------------------------
>
> Key: TAP5-709
> URL: https://issues.apache.org/jira/browse/TAP5-709
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.1.0.4, 5.1.0.5
> Reporter: Josh Canfield
> Assignee: Josh Canfield
> Priority: Minor
> Fix For: 5.2.2
>
>
> Element.attribute(String name, String value) passes null to Element.attribute(String namespace, String name, String value). The attribute stores the empty string for elements in the global namespace so there is never a match, and thus the new attribute is appended to the chain.
> Perhaps there should be a Document.GLOBAL_NAMESPACE_URI constant?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.