You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2009/11/22 19:41:39 UTC

[jira] Updated: (XERCESJ-1360) XML Schema API Usability improvements: java.util.List, java.util.Map and utility methods

     [ https://issues.apache.org/jira/browse/XERCESJ-1360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich updated XERCESJ-1360:
------------------------------------------

    Fix Version/s: 2.10.0

> XML Schema API Usability improvements: java.util.List, java.util.Map and utility methods
> ----------------------------------------------------------------------------------------
>
>                 Key: XERCESJ-1360
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1360
>             Project: Xerces2-J
>          Issue Type: Improvement
>          Components: XML Schema API
>    Affects Versions: 2.9.1
>            Reporter: Michael Glavassevich
>            Assignee: Michael Glavassevich
>             Fix For: 2.10.0
>
>
> As a consequence of our choice to design XSModel in IDL instead of Java we ended up creating many list type interfaces and XSNamedMap. If we had started this work in Java we would have used java.util.List and java.util.Map instead, interfaces which are built into the Java class library that have first class support in the Collections API and are used by countless applications. To improve usability we should retrofit java.util.Map everywhere into the API where we are returning XSNamedMap and java.util.List everywhere in the API where we are returning the XSModel specific list types.
> Also, we defined methods on the API which accept StringLists and LSInputLists but provided no methods for creating them. This forces users to create their own implementations. We should provide utility methods on the XSImplementation interface to eliminate this burden.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org