summaryrefslogtreecommitdiffstats
path: root/cpp/sca/xsd/sca-contribution-java-1.1-cd02.xsd
blob: 1dcd515c98a2eed8c474438c6d4e32c23d1764e0 (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
<?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" 
   xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200903" 
   targetNamespace="http://docs.oasis-open.org/ns/opencsa/sca/200903" 
   elementFormDefault="qualified">

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

   <!-- Import.java -->   
   <element name="import.java" type="sca:JavaImportType"
      substitutionGroup="sca:importBase" />
   <complexType name="JavaImportType">
      <complexContent>
         <extension base="sca:Import">
            <attribute name="package" type="NCName" use="required"/>
            <attribute name="location" type="anyURI" use="optional"/>
         </extension>
      </complexContent>
   </complexType>
   
   <!-- Export.java -->
   <element name="export.java" type="sca:JavaExportType"
      substitutionGroup="sca:exportBase" />
   <complexType name="JavaExportType">
      <complexContent>
         <extension base="sca:Export">
            <attribute name="package" type="NCName" use="required"/>
         </extension>
      </complexContent>
   </complexType>

</schema>