sbsv2/raptor/schema/build/2_0.xsd
author Mike Kinghan <mikek@symbian.org>
Wed, 01 Dec 2010 12:02:41 +0000
changeset 42 cf609178ac39
parent 13 c327db0664bb
permissions -rw-r--r--
1) fix_tools_exports.pl need only be run on Windows hosts; was run unnecessarily on Linux too. 2) Need to export modload.pm on Linux as well as Windows hosts.

<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://symbian.com/xml/build" targetNamespace="http://symbian.com/xml/build" elementFormDefault="qualified">
	<xsd:annotation>
		<xsd:documentation xml:lang="en">
			Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
			All rights reserved.
			This component and the accompanying materials are made available
			under the terms of the License "Eclipse Public License v1.0"
			which accompanies this distribution, and is available
			at the URL "http://www.eclipse.org/legal/epl-v10.html".

			Initial Contributors:
			Nokia Corporation - initial contribution.

			Contributors:

			Description:

		</xsd:documentation>
	</xsd:annotation>
	<xsd:element name="build">
		<xsd:complexType>
			<xsd:sequence maxOccurs="unbounded">
				<xsd:element ref="var" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="alias" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="group" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="interface" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="var">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:sequence minOccurs="0">
					<xsd:element ref="varRef" minOccurs="0" maxOccurs="unbounded"/>
				</xsd:sequence>
				<xsd:sequence maxOccurs="unbounded">
					<xsd:element name="env" minOccurs="0" maxOccurs="unbounded">
						<xsd:complexType>
							<xsd:attribute name="name" type="xsd:string" use="required"/>
							<xsd:attribute name="default" type="xsd:string" use="optional"/>
							<xsd:attribute name="type" type="xsd:string"/>
							<xsd:attribute name="versionCommand" type="xsd:string"/>
							<xsd:attribute name="versionResult" type="xsd:string"/>
						</xsd:complexType>
					</xsd:element>
					<xsd:element name="set" minOccurs="0" maxOccurs="unbounded">
						<xsd:complexType>
							<xsd:attribute name="name" type="xsd:string" use="required"/>
							<xsd:attribute name="value" type="xsd:string" use="required"/>
							<xsd:attribute name="type" type="xsd:string"/>
							<xsd:attribute name="versionCommand" type="xsd:string"/>
							<xsd:attribute name="versionResult" type="xsd:string"/>
							<xsd:attribute name="host" type="xsd:string"/>
						</xsd:complexType>
					</xsd:element>
					<xsd:element name="append" minOccurs="0" maxOccurs="unbounded">
						<xsd:complexType>
							<xsd:attribute name="name" type="xsd:string" use="required"/>
							<xsd:attribute name="value" type="xsd:string" use="required"/>
							<xsd:attribute name="separator" type="xsd:string"/>
						</xsd:complexType>
					</xsd:element>
					<xsd:element name="prepend" minOccurs="0" maxOccurs="unbounded">
						<xsd:complexType>
							<xsd:attribute name="name" type="xsd:string" use="required"/>
							<xsd:attribute name="value" type="xsd:string" use="required"/>
							<xsd:attribute name="separator" type="xsd:string"/>
						</xsd:complexType>
					</xsd:element>
				</xsd:sequence>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="extends" type="xsd:string"/>
			<xsd:attribute name="host" type="xsd:string"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="alias">
		<xsd:complexType>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="meaning" type="xsd:string" use="required"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="group">
		<xsd:complexType>
			<xsd:sequence maxOccurs="unbounded">
				<xsd:element ref="varRef" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="aliasRef" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="groupRef" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="name" use="required"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="varRef">
		<xsd:complexType>
			<xsd:attribute name="ref" type="xsd:string" use="required"/>
			<xsd:attribute name="mod" type="xsd:string"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="aliasRef">
		<xsd:complexType>
			<xsd:attribute name="ref" type="xsd:string" use="required"/>
			<xsd:attribute name="mod" type="xsd:string"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="groupRef">
		<xsd:complexType>
			<xsd:attribute name="ref" type="xsd:string" use="required"/>
			<xsd:attribute name="mod" type="xsd:string"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="interface">
		<xsd:complexType>
			<xsd:sequence minOccurs="0" maxOccurs="unbounded">
				<xsd:element name="param" minOccurs="0" maxOccurs="unbounded">
					<xsd:complexType>
						<xsd:attribute name="name" type="xsd:string" use="required"/>
						<xsd:attribute name="default" type="xsd:string"/>
					</xsd:complexType>
				</xsd:element>
				<xsd:element name="paramgroup" minOccurs="0" maxOccurs="unbounded">
					<xsd:complexType>
						<xsd:attribute name="pattern" type="xsd:string" use="required"/>
						<xsd:attribute name="default" type="xsd:string"/>
					</xsd:complexType>
				</xsd:element>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="extends" type="xsd:string"/>
			<xsd:attribute name="abstract" type="xsd:boolean"/>
			<xsd:attribute name="flm" type="xsd:string"/>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>