You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by asheikh <as...@gmail.com> on 2009/01/07 07:44:43 UTC

Re: ADB maxlength

Hi

I have similar problem, can anyone, please,  put some light why axis2
1.3/1.4 doesn't check  xsd:maxLength,

In my case, the client application can set the field value either in Arabic
or English which has different character length.

Thanks in advance

On Wed, May 21, 2008 at 10:52 PM, sultanat <as...@yahoo.com> wrote:

>
> For the following schema, the axis2 1.4 ADB doesnt check for max length, it
> is only checking for the regular expression. Can anyone please help me with
> this.
> <xsd:element name="name" >
>  <xsd:simpleType>
>    <xsd:restriction base="xsd:NCName">
>      <xsd:pattern value="[a-zA-Z_0-9]+"/>
>      <xsd:maxLength value="30"/>
>    </xsd:restriction>
>  </xsd:simpleType>
> </xsd:element>
>
> --
> View this message in context:
> http://www.nabble.com/ADB-maxlength-tp17369134p17369134.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>