restricted simole 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
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 attibute 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]