You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2010/10/19 21:45:32 UTC

[jira] Commented: (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:comment-tabpanel&focusedCommentId=12922688#action_12922688 ] 

Hudson commented on TAP5-709:
-----------------------------

Integrated in tapestry-5.2-freestyle #212 (See [https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/212/])
    

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