summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/assembly-xsd/src/main/resources/sca-contribution-cpp-1.1-cd02.xsd
blob: 2271b780ee3b89135d630ca24c124cb8f54bdd95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright(C) OASIS(R) 2005,2009. All Rights Reserved. 
     OASIS trademark, IPR and other policies apply.  -->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
	targetNamespace="http://docs.oasis-open.org/ns/opencsa/sca/200903"
	xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200903"
	elementFormDefault="qualified">

	<include schemaLocation="sca-contribution-1.1-cd03.xsd" />

	<element name="export.cpp" type="sca:CPPExport"
		substitutionGroup="sca:exportBase" />

	<complexType name="CPPExport">
		<complexContent>
			<extension base="sca:Export">
				<attribute name="name" type="QName" use="required" />
				<attribute name="path" type="string" use="optional" />
			</extension>
		</complexContent>
	</complexType>

	<element name="import.cpp" type="sca:CPPImport"
		substitutionGroup="sca:importBase" />

	<complexType name="CPPImport">
		<complexContent>
			<extension base="sca:Import">
				<attribute name="name" type="QName" use="required" />
				<attribute name="location" type="string" use="required" />
			</extension>
		</complexContent>
	</complexType>

</schema>