summaryrefslogtreecommitdiff
path: root/tests/auto/xmlpatternsvalidator/files/fractiondigits.xsd
blob: b8f266af89ea5ff808abc4bcd475e58568f1cb72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.org/FractionDigitsTest" xmlns:tns="http://www.example.org/FractionDigitsTest" elementFormDefault="qualified">
        <element name="number" type="tns:NumberType" />
        <complexType name="NumberType">
                <sequence>
                        <element name="value">
                                <simpleType>
                                        <restriction base="decimal">
                                                <fractionDigits value="2"/>
                                        </restriction>
                                </simpleType>
                        </element>
                </sequence>
        </complexType>
</schema>