You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Michael Jakl (JIRA)" <ji...@apache.org> on 2009/07/05 13:54:14 UTC

[jira] Created: (VYSPER-93) A XMLElement might have duplicate attributes which isn't allowed in XML

A XMLElement might have duplicate attributes which isn't allowed in XML
-----------------------------------------------------------------------

                 Key: VYSPER-93
                 URL: https://issues.apache.org/jira/browse/VYSPER-93
             Project: VYSPER
          Issue Type: Bug
          Components: core protocol
            Reporter: Michael Jakl
            Assignee: Bernd Fondermann
            Priority: Minor


It propably would make sense to have a Set of "Attribute" objects (where attributes are compared by their name and namespace and not by their value) rather than a List which allows duplicates.

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


[jira] Commented: (VYSPER-93) A XMLElement might have duplicate attributes which isn't allowed in XML

Posted by "Bernd Fondermann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VYSPER-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727323#action_12727323 ] 

Bernd Fondermann commented on VYSPER-93:
----------------------------------------

Good catch! Sounds reasonable. I'd stick with a list though and check for dups in the constructor. But if somebody finds an elegant solution, I'd reconsider this opinion.


> A XMLElement might have duplicate attributes which isn't allowed in XML
> -----------------------------------------------------------------------
>
>                 Key: VYSPER-93
>                 URL: https://issues.apache.org/jira/browse/VYSPER-93
>             Project: VYSPER
>          Issue Type: Bug
>          Components: core protocol
>            Reporter: Michael Jakl
>            Assignee: Bernd Fondermann
>            Priority: Minor
>
> It propably would make sense to have a Set of "Attribute" objects (where attributes are compared by their name and namespace and not by their value) rather than a List which allows duplicates.

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