> But the number have one fraction count. Ok if you do some kind of
> interpretation you can say 0.0 == 0 and so it is valid. But I think it
> is not the wanted behaviour. If you have 0.1 Xerces says it is unvalid.

Maybe it's not the behavior you want, but unfortunately that's the
behavior the spec requires. With xs:decimal, 1.000 = 1

If you want to define a schema such that you don't want to have
fractions, use xs:integer as your base type.

regards,
--
Kohsuke Kawaguchi
Sun Microsystems                   [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to