mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Fondermann (JIRA)" <j...@apache.org>
Subject [jira] Commented: (VYSPER-93) A XMLElement might have duplicate attributes which isn't allowed in XML
Date Sun, 05 Jul 2009 12:28:14 GMT

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


Mime
View raw message