axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Kocher (JIRA)" <>
Subject [jira] Created: (AXIS-2098) xsi:type added to derived simple types
Date Fri, 01 Jul 2005 13:43:01 GMT
xsi:type added to derived simple types

         Key: AXIS-2098
     Project: Apache Axis
        Type: Bug
  Components: Basic Architecture  
    Versions: 1.2.1    
    Reporter: David Kocher
 Attachments: helloworld.tar.gz

Given a simple type such as

    <xs:simpleType name="LogicType">
        <xs:restriction base="xs:boolean">
            <xs:pattern value="true"/>
            <xs:pattern value="false"/>

Axis will serialize this as 

               <Logic xsi:type="xsd:boolean">true</Logic>

which won't validate because

Type 'xsd:boolean' is not validly derived from the type definition, 'LogicType', of element

This is only the case in the request message; the response message of the same type is sent

See the attached sample project.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message