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

Michael Glavassevich updated XERCESJ-906:
-----------------------------------------

    Component/s:     (was: XNI)
                 XML Schema API
       Priority: Minor
       Assignee:     (was: Xerces-J Developers Mailing List)
     Issue Type: New Feature  (was: Bug)

> missing XSConstants.NMTOKENS_DT
> -------------------------------
>
>                 Key: XERCESJ-906
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-906
>             Project: Xerces2-J
>          Issue Type: New Feature
>          Components: XML Schema API
>    Affects Versions: 2.6.2
>         Environment: Operating System: All
> Platform: All
>            Reporter: Olaf Braatz
>            Priority: Minor
>
> Java mapping for the built-in simple XML data types [JAX-RPC 1.1 chapter 4] 
> as 
> well as derived Java mapping for the remaining built-in simple XML data types 
> [JAX-RPC 1.1 chapter 4] describe that NMTOKENS is a valid and supported type. 
> But in XSConstants exists no entry for NMTOKENS_DT. For type decision using 
> XSSimpleTypeDefinition.getBuiltInKind() it would be convenient if 
> XSConstants.NMTOKENS_DT exists to avoid a slow string compare.
> My current workarround to this fact is in:
> switch(myXSSimpleTypeDefinition.getBuiltInKind())
> is in making in default case a string compare:
> if ("NMTOKENS".equals(myXSSimpleTypeDefinition.getName())) {
>   ...
> }

-- 
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-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-dev-h...@xerces.apache.org

Reply via email to