axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-2047) restricted simple type as an attribute of a complex type are not generated
Date Wed, 31 Jan 2007 14:08:06 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Davanum Srinivas updated AXIS2-2047:
------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> restricted simple type as an attribute of a complex type are not generated
> --------------------------------------------------------------------------
>
>                 Key: AXIS2-2047
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2047
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1.1
>         Environment: linux/windows JDK1.5
>            Reporter: Eric Deshayes
>         Assigned To: Amila Chinthaka Suriarachchi
>         Attachments: patch_AXIS2-2047.tar.gz
>
>
> The following XSD schema:
> <schema targetNamespace="http://soapinterop.org/xsd"
>         xmlns="http://www.w3.org/2001/XMLSchema"
>         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>         xmlns:xsd1="http://soapinterop.org/xsd"
>         elementFormDefault="qualified">
>     <simpleType name="RestrictedString">
>     	<restriction base="string">
>     		<pattern value="[A-Z]{3}"></pattern>
>     	</restriction>
>     </simpleType>
>     
>     <complexType name="SOAPStruct">    	<attribute name="restString" type="xsd1:RestrictedString"></attribute>
>     </complexType>
>     <element name="myobject" type="xsd1:SOAPStruct"/>
> </schema>
> should produce a SOAPStruct class with a localRestString field that would be of type
RestrictedString.
> At the moment, that attribute is simply ignored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message