You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
661 B

<?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>