axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-2047) restricted simple type as an attribute of a complex type are not generated
Date Fri, 02 Feb 2007 10:32:05 GMT

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

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

is this patch working, as I saw I have done almost the same thing at the schemacompiler but
we have to support this in the ADBBeanTemplate as well

> 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