Error compiling generated code related to type xsd__NMTOKEN
-----------------------------------------------------------

         Key: AXISCPP-491
         URL: http://issues.apache.org/jira/browse/AXISCPP-491
     Project: Axis-C++
        Type: Bug
  Components: WSDL processing  
    Versions: current (nightly)    
    Reporter: Samisa Abeysinghe
    Priority: Critical
     Fix For: 1.5 Final


There is an error related to xsd__NMTOKEN in the generated code.
This prevents the code being compiled. As an example, the inquire_v2 test fails 
giving many error instances similar to that shown below.

[cc] /home/obj/test/generated/cpp/inquire_v2/tModelList.cpp:51: error: cannot
[cc]    convert `char*' to `char**' in assignment

The corresponding code looks like:


xsd__NMTOKEN * truncated_Ref = NULL;
        if ((truncated_Ref = pIWSDZ->getAttributeAsString( "truncated",0)) != 
NULL)
                param->truncated_Ref = *( truncated_Ref );

This is a blocker issue as I cannot compile code to test other issues that I 
want to fix. E.g. I want a working inquire_v2 test to test for proxy settings.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to