[ https://issues.apache.org/jira/browse/AXIS2-5926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390030#comment-17390030 ]
Robert Lazarski commented on AXIS2-5926: ---------------------------------------- I can't find any sign of where this may be happening. No file currently in git has "convertToNMToken" . Sounds like this is happening with codegen? Which binding? Can you supply a command and sample files? We are about to release 1.8. Please let us know if this issue is fixed or not. You can check out the source here: git clone https://github.com/apache/axis-axis2-java-core.git > 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.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org