Re: Restriction totalDigits

Kishanthan Thangarajah <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CAHt68vHmEiX_w7nqkCZEdCQpJjM_hgiM2=ywKEbK9v-+euykqA@mail.gmail.com>
Hi,

On Tue, Nov 13, 2012 at 5:19 PM, Carlos Emanuel Madruga de Sousa <
[email protected]> wrote:

> Hi to all,
>     I'm having problems with restriction totalDigits to type decimal.
> <xsd:restriction base="xsd:decimal">
>   <xsd:totalDigits value="13" />
>   <xsd:fractionDigits value="3" />
> </xsd:restriction>
>
> By this restriction the minor valid number is 99999999999999.0 because the
> code generate by axis. On totalDigits restriction I understand that is
> valid any number between 0 and 10^13. Am I right? Or this restriction is to
> numbers bigger than 99999999999999.0 ?
>

Yes, the totalDigits 13 means that the valid number(mod value) should be
less than 10 ^ 13. But please note that the support for fractionDigits is
not there for now in the current release [1].

Thanks,
Kishanthan.
[1] https://issues.apache.org/jira/browse/AXIS2-5358

>
> Thanks,
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.