1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | * :tabSize=2:indentSize=2:noTabs=true:
|
---|
4 | * :folding=explicit:collapseFolds=1:
|
---|
5 | *
|
---|
6 | * InnoTek VirtualBox Settings Schema Version 1.0-linux
|
---|
7 |
|
---|
8 | * Copyright (C) 2006 InnoTek Systemberatung GmbH
|
---|
9 | *
|
---|
10 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
11 | * available from http://www.virtualbox.org. This file is free software;
|
---|
12 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
13 | * General Public License as published by the Free Software Foundation,
|
---|
14 | * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
15 | * distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
16 | * be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
17 | *
|
---|
18 | * If you received this file as part of a commercial VirtualBox
|
---|
19 | * distribution, then only the terms of your commercial VirtualBox
|
---|
20 | * license agreement apply instead of the previous paragraph.
|
---|
21 | -->
|
---|
22 |
|
---|
23 | <xsd:schema
|
---|
24 | xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
---|
25 | xmlns="http://www.innotek.de/VirtualBox-settings"
|
---|
26 | xmlns:vb="http://www.innotek.de/VirtualBox-settings"
|
---|
27 | targetNamespace="http://www.innotek.de/VirtualBox-settings"
|
---|
28 | elementFormDefault="qualified"
|
---|
29 | >
|
---|
30 |
|
---|
31 | <xsd:annotation>
|
---|
32 | <xsd:documentation xml:lang="en">
|
---|
33 | InnoTek VirtualBox Settings Schema Version 1.0-linux.
|
---|
34 | Copyright (c) 2004-2007 InnoTek Systemberatung GmbH.
|
---|
35 | </xsd:documentation>
|
---|
36 | </xsd:annotation>
|
---|
37 |
|
---|
38 | <xsd:include schemaLocation="VirtualBox-settings-common.xsd"/>
|
---|
39 |
|
---|
40 | <!--
|
---|
41 | // Simple types
|
---|
42 | /////////////////////////////////////////////////////////////////////////
|
---|
43 | -->
|
---|
44 |
|
---|
45 | <!--
|
---|
46 | // Complex types
|
---|
47 | /////////////////////////////////////////////////////////////////////////
|
---|
48 | -->
|
---|
49 |
|
---|
50 | <xsd:complexType name="TMemory">
|
---|
51 | <xsd:attribute name="RAMSize" use="required">
|
---|
52 | <xsd:simpleType>
|
---|
53 | <xsd:restriction base="xsd:unsignedInt">
|
---|
54 | <xsd:minInclusive value="4"/>
|
---|
55 | <xsd:maxInclusive value="2000"/>
|
---|
56 | </xsd:restriction>
|
---|
57 | </xsd:simpleType>
|
---|
58 | </xsd:attribute>
|
---|
59 | </xsd:complexType>
|
---|
60 |
|
---|
61 | <xsd:complexType name="TNetwork">
|
---|
62 | <xsd:sequence>
|
---|
63 | <xsd:element name="Adapter" minOccurs="0" maxOccurs="unbounded">
|
---|
64 | <xsd:complexType>
|
---|
65 | <xsd:complexContent>
|
---|
66 | <xsd:extension base="TAdapter">
|
---|
67 | <xsd:choice minOccurs="0">
|
---|
68 | <xsd:element name="NAT">
|
---|
69 | <xsd:complexType/>
|
---|
70 | </xsd:element>
|
---|
71 | <xsd:element name="HostInterface">
|
---|
72 | <xsd:complexType>
|
---|
73 | <xsd:attribute name="name" type="TLocalFile"/>
|
---|
74 | <xsd:attribute name="TAPSetup" type="TLocalFile"/>
|
---|
75 | <xsd:attribute name="TAPTerminate" type="TLocalFile"/>
|
---|
76 | </xsd:complexType>
|
---|
77 | </xsd:element>
|
---|
78 | <xsd:element name="InternalNetwork">
|
---|
79 | <xsd:complexType>
|
---|
80 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
81 | </xsd:complexType>
|
---|
82 | </xsd:element>
|
---|
83 | </xsd:choice>
|
---|
84 | </xsd:extension>
|
---|
85 | </xsd:complexContent>
|
---|
86 | </xsd:complexType>
|
---|
87 | </xsd:element>
|
---|
88 | </xsd:sequence>
|
---|
89 | </xsd:complexType>
|
---|
90 |
|
---|
91 | <xsd:complexType name="TAudioAdapter">
|
---|
92 | <xsd:attribute name="enabled" type="xsd:boolean"/>
|
---|
93 | <xsd:attribute name="driver" use="required">
|
---|
94 | <!--- @todo (dmik) capitalize enum values on next format change! -->
|
---|
95 | <xsd:simpleType>
|
---|
96 | <xsd:restriction base="xsd:token">
|
---|
97 | <xsd:enumeration value="null"/>
|
---|
98 | <xsd:enumeration value="oss"/>
|
---|
99 | <xsd:enumeration value="alsa"/>
|
---|
100 | </xsd:restriction>
|
---|
101 | </xsd:simpleType>
|
---|
102 | </xsd:attribute>
|
---|
103 | </xsd:complexType>
|
---|
104 |
|
---|
105 | <!--
|
---|
106 | // Root element
|
---|
107 | /////////////////////////////////////////////////////////////////////////
|
---|
108 | -->
|
---|
109 |
|
---|
110 | <xsd:element name="VirtualBox">
|
---|
111 | <xsd:complexType>
|
---|
112 | <xsd:complexContent>
|
---|
113 | <xsd:extension base="TVirtualBox">
|
---|
114 | <xsd:attribute name="version" type="xsd:token" fixed="1.2-linux" use="required"/>
|
---|
115 | </xsd:extension>
|
---|
116 | </xsd:complexContent>
|
---|
117 | </xsd:complexType>
|
---|
118 | </xsd:element>
|
---|
119 |
|
---|
120 | </xsd:schema>
|
---|