Hash :
bf442eb2
Author :
Date :
2005-11-30T11:24:18
Added regression tests for the latest IDC and xs:decimal bugs. * test/schemas/decimal* test/schemas/bug322411*: Added regression tests for the latest IDC and xs:decimal bugs.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
<?xml version="1.0"?>
<!-- test the values:
- BAD
+ BAD
1.
.1
0.
.0
- 1 BAD
+ 1 BAD
. BAD
000 !
-->
<foo
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="decimal-1.xsd">
<!-- The good ones. -->
<val> 0. </val>
<val> .0 </val>
<val> .10 </val>
<val> 01. </val>
<val> 000 </val>
<val>123456789012345678</val>
<val>-123456789012345678</val>
<val>0.123456789012345678</val>
<val>-0.123456789012345678</val>
<!-- The bad ones. -->
<val>.</val>
<val>-</val>
<val>+</val>
<val>*</val>
<val>- 1</val>
<val>+ 1</val>
<val>+ 0</val>
<val>- 0</val>
<!--ref>0.0</ref-->
</foo>