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.5, 5.1.0.4
            Reporter: Josh Canfield
            Priority: Minor


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.

Reply via email to