[ http://issues.apache.org/jira/browse/AXIS-2098?page=all ]
Jongjin Choi updated AXIS-2098: ------------------------------- Attachment: src_2005_08_01.patch Patch for ws-axis/java/src > xsi:type added to derived simple types > -------------------------------------- > > Key: AXIS-2098 > URL: http://issues.apache.org/jira/browse/AXIS-2098 > Project: Apache Axis > Type: Bug > Components: Basic Architecture > Versions: 1.2.1 > Reporter: David Kocher > Priority: Blocker > Attachments: helloworld.tar.gz, src_2005_08_01.patch > > Given a simple type such as > <xs:simpleType name="LogicType"> > <xs:restriction base="xs:boolean"> > <xs:pattern value="true"/> > <xs:pattern value="false"/> > </xs:restriction> > </xs:simpleType> > 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 'Logic'. > This is only the case in the request message; the response message of the > same type is sent correctly. > See the attached sample project. -- 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