Edit

kc3-lang/libxml2/test/schemas/decimal-3_0.xml

Branch :

  • Show log

    Commit

  • Author : Kasimier T. Buchcik
    Date : 2005-11-30 11:24:18
    Hash : bf442eb2
    Message : 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.

  • test/schemas/decimal-3_0.xml
  • <?xml version="1.0"?>
    <foo
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="decimal-3.xsd">
        <!-- The good ones. -->
        <val>0.12</val>
        <val>0.0</val>
        <val>0.02</val>
        <val>12</val>
        <val>1.2</val>
        <!-- The bad ones. -->
        <val>0.123</val>
        <val>0.023</val>
        <val>123</val>
        <val>12.3</val>
    </foo>