diff options
author | Liang Qi <liang.qi@qt.io> | 2017-01-25 11:55:29 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2017-01-25 11:55:29 +0100 |
commit | afa273865b7f2697c6e28fb1511486d2f9ce6bfe (patch) | |
tree | 0f33dd43a368f5c9bd4399eed67763b1e9e74032 /tests/auto/xmlpatternsvalidator/files | |
parent | fabf557bb8390a94ff4b5d8688a91ffe4abd17ec (diff) | |
parent | 82c5cc6532ac5d0323ecda94b6767e1fdaef2639 (diff) | |
download | qtxmlpatterns-afa273865b7f2697c6e28fb1511486d2f9ce6bfe.tar.gz |
Merge remote-tracking branch 'origin/5.8' into devv5.9.0-alpha1
Conflicts:
.qmake.conf
Change-Id: I1e57330ccf8e964fa41637849b4958dea64360fd
Diffstat (limited to 'tests/auto/xmlpatternsvalidator/files')
-rw-r--r-- | tests/auto/xmlpatternsvalidator/files/fractiondigits.xml | 4 | ||||
-rw-r--r-- | tests/auto/xmlpatternsvalidator/files/fractiondigits.xsd | 15 |
2 files changed, 19 insertions, 0 deletions
diff --git a/tests/auto/xmlpatternsvalidator/files/fractiondigits.xml b/tests/auto/xmlpatternsvalidator/files/fractiondigits.xml new file mode 100644 index 0000000..55c2ee8 --- /dev/null +++ b/tests/auto/xmlpatternsvalidator/files/fractiondigits.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tns:number xmlns:tns="http://www.example.org/FractionDigitsTest" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.example.org/FractionDigitsTest FractionDigitsTest.xsd"> + <tns:value>1234.560000</tns:value> +</tns:number> diff --git a/tests/auto/xmlpatternsvalidator/files/fractiondigits.xsd b/tests/auto/xmlpatternsvalidator/files/fractiondigits.xsd new file mode 100644 index 0000000..b8f266a --- /dev/null +++ b/tests/auto/xmlpatternsvalidator/files/fractiondigits.xsd @@ -0,0 +1,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> |