[ 
https://issues.apache.org/jira/browse/AXIS2-4555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Cresswell closed AXIS2-4555.
-----------------------------------

       Resolution: Not A Problem
    Fix Version/s: 1.5

Problem arose as a result of using Axis2 Support plugin (current version, 1.2) 
for Netbeans IDE. It uses v1.3 Axis classes.

> 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
>             Fix For: 1.5
>
>
> 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.

Reply via email to