ADB does not handle multiple pattern facets in a restriction
------------------------------------------------------------
Key: AXIS2-4555
URL: https://issues.apache.org/jira/browse/AXIS2-4555
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Affects Versions: 1.5
Environment: Windows Server 2003, Java 1.6.0_10, Axis2 1.5
Reporter: Martin Cresswell
As described in http://issues.apache.org/jira/browse/AXIS2-3237.
<xs:element name="xyzPermitted" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="pattern1" />
<xs:pattern value="pattern2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
Produces
public void setxyzPermitted_type0(java.lang.String param){
if (java.lang.String.valueOf(param).matches("pattern2")) {
this.localBootROMSupported_type0=param;
}
else {
throw new java.lang.RuntimeException();
}
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.