Underlines in typenames does not work with inheritance
------------------------------------------------------

                 Key: AXIS2-980
                 URL: http://issues.apache.org/jira/browse/AXIS2-980
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: 1.0
         Environment: Windows XP Professional Tomcat 5.5 Axis2 1.0
            Reporter: Desiree Hilbring
         Attachments: GMLSFUnderline.zip

The attachment includes a little inheritance example, OA_MIFASCapabilitesType 
is derived from 
OAMIServiceSpecificCapabilites. To send the xsi:type in the SOAP-Message I am 
using the 
following lines:
XmlCursor cur = 
resp.getOAGetMetaInformationResponse().getFeatureMetaInformation().getOAMIServiceSpecificCapabilities().newCursor();
cur.toFirstChild();
cur.insertAttributeWithValue("type",
    "http://www.w3.org/2001/XMLSchema-instance";,
    "OAMIFASCapabilitiesType");                 
    cur.dispose();
The SOAP-Message does include the xsi:type but the client does not recognize 
the subtype OA_MIFASCapabilitiesType.
But changing the name of OA_MIFASCapabilitiesType in delivery060803-2.xsd to 
OAMIFASCapabilitiesType will solve the problem
and the example will work.
Is it possible to use underlines in the typeNames or are there any 
restrictions, or is this a bug?

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to