You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Robert Lazarski (Jira)" <ji...@apache.org> on 2024/10/28 14:25:00 UTC
[jira] [Resolved] (AXIS2-5926) list of NMTOKEN in xsd generating wrong method : convertToNMToken
[ https://issues.apache.org/jira/browse/AXIS2-5926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Lazarski resolved AXIS2-5926.
------------------------------------
Resolution: Incomplete
> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org