[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to