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 "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/02/02 11:24:05 UTC

[jira] Commented: (AXIS2-2047) restricted simple type as an attribute of a complex type are not generated

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

Amila Chinthaka Suriarachchi commented on AXIS2-2047:
-----------------------------------------------------

I did not see you pathch and I fixed it. any way I will evaluate your patch and If your patch and see

> 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