summaryrefslogtreecommitdiff
path: root/testxml/xsd/xlink.xsd
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-15 22:37:20 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-15 22:45:54 +0300
commitaf3f61a4eb113088d2007f8979c03110afa1c188 (patch)
tree0b942dda9ae0fd8a5f44bcddf308eefbbe193293 /testxml/xsd/xlink.xsd
parentab236e4c360ea53514ec83e6c8909585f237aaf5 (diff)
downloadtools-af3f61a4eb113088d2007f8979c03110afa1c188.tar.gz
tools-af3f61a4eb113088d2007f8979c03110afa1c188.tar.bz2
tools-af3f61a4eb113088d2007f8979c03110afa1c188.tar.xz
tools-af3f61a4eb113088d2007f8979c03110afa1c188.zip
testxml: add xsdcheck script for check xml files based on schemes.
Diffstat (limited to 'testxml/xsd/xlink.xsd')
-rw-r--r--testxml/xsd/xlink.xsd80
1 files changed, 80 insertions, 0 deletions
diff --git a/testxml/xsd/xlink.xsd b/testxml/xsd/xlink.xsd
new file mode 100644
index 0000000..6349600
--- /dev/null
+++ b/testxml/xsd/xlink.xsd
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import schemaLocation="xmlspec-its.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
+ <xs:attribute name="type">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="simple"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attributeGroup name="show">
+ <xs:attribute name="show" use="optional" form="qualified">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="embed"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="actuate">
+ <xs:attribute name="actuate" use="optional" form="qualified">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="onLoad"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="show1">
+ <xs:attribute name="show" use="optional" form="qualified">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="replace"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="actuate1">
+ <xs:attribute name="actuate" use="optional" form="qualified">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="onRequest"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="show2">
+ <xs:attribute name="show" use="optional" form="qualified">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="new"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="its-type">
+ <xs:attribute name="type" use="optional">
+ <xs:annotation>
+ <xs:documentation>Type of pointer to external rules files.</xs:documentation>
+ </xs:annotation>
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="simple">
+ <xs:annotation>
+ <xs:documentation>Simple link.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="its-href">
+ <xs:attribute name="href" type="xs:anyURI" use="optional">
+ <xs:annotation>
+ <xs:documentation>Pointer to external rules files.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+</xs:schema>