[
https://issues.apache.org/jira/browse/AXIS2-5926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17893477#comment-17893477
]
Robert Lazarski commented on AXIS2-5926:
----------------------------------------
I am going to mark this as incomplete but we can reopen it if more info is
given on the problem.
> list of NMTOKEN in xsd generating wrong method : convertToNMToken
> -----------------------------------------------------------------
>
> Key: AXIS2-5926
> URL: https://issues.apache.org/jira/browse/AXIS2-5926
> Project: Axis2
> Issue Type: Bug
> Components: adb, codegen, wsdl
> Affects Versions: 1.6.2, 1.7.5, 1.7.6, 1.7.7, 1.7.8
> Environment: Eclipse, MVN, command line, windows
> Reporter: harsha
> Assignee: Robert Lazarski
> Priority: Critical
>
> This to report a bug and error on NMTOKEN Simple Type
> In the xsd file if the NMTOKEN variable is used as list for example
> {color:#808080}<{color}{color:#569cd6}xs:simpleType{color}
> {color:#9cdcfe}name{color}{color:#d4d4d4}={color}{color:#ce9178}"ReferenceListType"{color}{color:#808080}>{color}
> {color:#808080}<{color}{color:#569cd6}xs:list{color}
> {color:#9cdcfe}itemType{color}{color:#d4d4d4}={color}{color:#ce9178}"xs:NMTOKEN"{color}
> {color:#808080}/>{color}
> {color:#808080}</{color}{color:#569cd6}xs:simpleType{color}{color:#808080}>{color}
> It generates the class Reference type :
> fromString Method with following line
> objectValues[i] =
> org.apache.axis2.databinding.utils.ConverterUtil.convertToNMToken(values[i]);
> As per the reference symbole convertToNMToken doesnt exist, looking at the
> abailable methos it should be convertToNMTOKEN(...)
> Token is capital, once the java file is corrected the code compiles
> can you please investigate why axis2 (i tested with 1.6.4 and 1.7.7, 1.7.8)
> we get this error
> can you please fix ?
> Kind Regards
> Harsha S
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]