DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27397>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27397 missing XSConstants.NMTOKENS_DT Summary: missing XSConstants.NMTOKENS_DT Product: Xerces2-J Version: 2.6.2 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: XNI AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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())) { ... } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]