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 "David Kocher (JIRA)" <ax...@ws.apache.org> on 2005/07/01 15:43:05 UTC
[jira] Updated: (AXIS-2098) xsi:type added to derived simple types
[ http://issues.apache.org/jira/browse/AXIS-2098?page=all ]
David Kocher updated AXIS-2098:
-------------------------------
Attachment: helloworld.tar.gz
There is a ant build file for running the sample.
> 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
> 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"/>
> </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