summaryrefslogtreecommitdiffstats
path: root/sandbox/sebastien/java/dynamic/modules/assembly-xsd/src/main/resources/sca-binding-ejb-1.1-cd01.xsd
blob: 4bccf9d5f8837643824526fd5387b8c72dfd98ff (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
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright(C) OASIS(R) 2005,2010. 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/200912"
        targetNamespace="http://docs.oasis-open.org/ns/opencsa/sca/200912"
        elementFormDefault="qualified">
        
    <include schemaLocation="sca-core-1.1-cd05.xsd"/>

    <element name="binding.ejb" type="sca:EJBSessionBeanBinding" 
             substitutionGroup="sca:binding" />

    <simpleType name="VersionValue">
        <restriction base="string">
            <enumeration value="EJB2"/>
            <enumeration value="EJB3"/>
        </restriction>
    </simpleType>

    <complexType name="EJBSessionBeanBinding">
        <complexContent>
            <extension base="sca:Binding">
                <!-- sequence>
                    <any namespace="##other" processContents="lax"
                         minOccurs="0" maxOccurs="unbounded"/>
                </sequence-->
                <attribute name="homeInterface" type="NCName" use="optional"/>
                <attribute name="ejb-link-name" type="string" use="optional"/>
                <attribute name="ejb-version" type="sca:VersionValue" use="optional" default="EJB3"/>
            </extension>
        </complexContent>
    </complexType>
</schema>