commit | 72f50c18d917b50664bc0770cebe83de0bcae831 | [log] [tgz] |
---|---|---|
author | Kasimier T. Buchcik <kbuchcik@src.gnome.org> | Mon Nov 28 16:36:30 2005 +0000 |
committer | Kasimier T. Buchcik <kbuchcik@src.gnome.org> | Mon Nov 28 16:36:30 2005 +0000 |
tree | cd5704a8c4b6b6ad27f62229cd10b280ed483c09 | |
parent | 132ba5f5da005bfdb798885e318d524230418494 [diff] |
Fixed parsing of xs:decimal to allow/deny special lexical forms. Fixed the * xmlschemastypes.c: Fixed parsing of xs:decimal to allow/deny special lexical forms. Fixed the totalDigits for values in the range (x < 1) && (x > -1) && (x != 0); E.g "0.123" has now a totalDigits of 3 (was 4 previously). Adjusted the comparison function for decimals due to this change. As a side effect comparison against zeroes was optimized.