axis2-wsdl2code-maven-plugin-xmlbeans not validating schema restrictions
------------------------------------------------------------------------
Key: AXIS2-5015
URL: https://issues.apache.org/jira/browse/AXIS2-5015
Project: Axis2
Issue Type: Bug
Components: codegen
Affects Versions: 1.5
Reporter: Nina Kumar
The gencode classes not validating the restriction in the schema. See below.
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<goals>
<goal>wsdl2code</goal>
</goals>
</execution>
</executions>
<configuration>
<packageName>test</packageName>
<wsdlFile>test.wsdl</wsdlFile>
<databindingName>xmlbeans</databindingName>
<generateServerSide>true</generateServerSide>
<generateServerSideInterface>true</generateServerSideInterface>
<generateServicesXml>true</generateServicesXml>
<generateAllClasses>true</generateAllClasses>
</configuration>
Schema
<xs:element name="applicationDate" type="dateWithoutTimeZoneRestriction"/>
<xs:simpleType name="dateWithoutTimeZoneRestriction">
<xs:restriction base="xs:date">
<xs:pattern value="\d{4}-\d{2}-\d{2}"/>
</xs:restriction>
</xs:simpleType>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]