Sync with 5.4.1
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / xsd / decimal_fractiondigits.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
3 xmlns:xs="http://www.w3.org/2001/XMLSchema"
4 targetNamespace="www.example.org/decimal/fractiondigits">
5
6 <xs:simpleType name="celsiusBodyTemp">
7 <xs:restriction base="decimal">
8 <totalDigits value="4"/>
9 <fractionDigits value="1"/>
10 </xs:restriction>
11 </xs:simpleType>
12
13 <xs:element name="union_with_fraction">
14 <xs:simpleType>
15 <union>
16 <xs:simpleType>
17 <xs:restriction base="decimal">
18 <totalDigits value="4"/>
19 <fractionDigits value="1"/>
20 </xs:restriction>
21 </xs:simpleType>
22 <xs:simpleType>
23 <restriction base="xs:float"/>
24 </xs:simpleType>
25 <xs:simpleType>
26 <restriction base="xs:integer"/>
27 </xs:simpleType>
28 </union>
29 </xs:simpleType>
30 </xs:element>
31
32
33 </xs:schema>
This page took 0.033687 seconds and 5 git commands to generate.