Edit

kc3-lang/libxml2/test/schemas/decimal-2_1.xsd

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-2_1.xsd
  • <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    
        <xsd:simpleType name="myDecimal">
            <xsd:restriction base="xsd:decimal">
                <xsd:minInclusive value="0"/>
            </xsd:restriction>
        </xsd:simpleType>
    
        <xsd:element name="foo">
            <xsd:complexType>
                <xsd:sequence>
                    <xsd:element name="val" type="myDecimal" maxOccurs="unbounded"/>
                </xsd:sequence>
            </xsd:complexType>
        </xsd:element>
    
    </xsd:schema>