VirtualBox

source: vbox/trunk/src/libs/libxml2-2.9.14/test/schemas/restrict-CT-attr-ref_0.xsd@ 98321

Last change on this file since 98321 was 95312, checked in by vboxsync, 3 years ago

libs/{curl,libxml2}: OSE export fixes, bugref:8515

File size: 780 bytes
Line 
1<?xml version="1.0"?>
2<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3 attributeFormDefault="qualified"
4 xmlns:foo="http://FOO"
5 targetNamespace="http://FOO">
6
7 <xsd:attribute name="id" type="xsd:ID"/>
8
9 <xsd:complexType name="typeIDAttr">
10 <xsd:attribute ref="foo:id"/>
11 </xsd:complexType>
12
13 <xsd:simpleType name="fooID">
14 <xsd:restriction base="xsd:ID">
15 <xsd:pattern value="b\d{10}"/>
16 </xsd:restriction>
17 </xsd:simpleType>
18
19 <xsd:element name="foo">
20 <xsd:complexType>
21 <xsd:complexContent>
22 <xsd:restriction base="foo:typeIDAttr">
23 <xsd:attribute name="id" type="foo:fooID"/>
24 </xsd:restriction>
25 </xsd:complexContent>
26 </xsd:complexType>
27 </xsd:element>
28
29
30</xsd:schema>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette