1
<?xml version="1.0" encoding="UTF-8"?>
3
About COLLADA 1.5 sidref_type pattern.
5
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
6
targetNamespace="http://www.netallied.de/xsd2cppsax/tests"
7
xmlns="http://www.netallied.de/xsd2cppsax/tests"
8
elementFormDefault="qualified">
10
<xs:element name="root" type="RootType"></xs:element>
12
<xs:complexType name="RootType">
14
<xs:element name="sid" type="sidref_type" minOccurs="0" maxOccurs="unbounded" />
18
<xs:simpleType name="sidref_type">
19
<xs:restriction base="xs:string">
20
<xs:pattern value="(([\i-[:]][\c-[:]]*)|.)(/[\i-[:\.]][\c-[:]]*)+((\.[\i-[:]][\c-[:]]*)|(\([0-9]+\)){1,2})?"/>