diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-16 21:31:55 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-16 21:31:55 +0000 |
commit | d7f043799799120cf6be7b2c18cdb54b9d9df284 (patch) | |
tree | f839c947dd4c168f16ac6f2a98827975c1d2f6f6 /sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources | |
parent | 7f3b1600785ab32438b87494ef0e55dc34323203 (diff) |
Port implementation-script-runtime into 2.x
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@923996 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
2 files changed, 41 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1-implementation-script.xsd b/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1-implementation-script.xsd new file mode 100644 index 0000000000..ebb622cb9b --- /dev/null +++ b/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1-implementation-script.xsd @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://tuscany.apache.org/xmlns/sca/1.1" + xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912" + xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" + elementFormDefault="qualified"> + + <import namespace="http://docs.oasis-open.org/ns/opencsa/sca/200912" schemaLocation="sca-1.1-cd04.xsd"/> + + <element name="implementation.script" type="t:ScriptImplementation" substitutionGroup="sca:implementation"/> + + <complexType name="ScriptImplementation"> + <complexContent> + <extension base="sca:Implementation"> + <attribute name="script" type="anyURI" use="optional"/> + <attribute name="uri" type="anyURI" use="optional"/> + <attribute name="location" type="anyURI" use="optional"/> + </extension> + </complexContent> + </complexType> + +</schema> diff --git a/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1.xsd b/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1.xsd index 4a1a1e000d..92b7703278 100644 --- a/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1.xsd +++ b/sca-java-2.x/trunk/modules/assembly-xsd/src/main/resources/tuscany-sca-1.1.xsd @@ -32,4 +32,5 @@ <include schemaLocation="tuscany-sca-1.1-implementation-osgi.xsd"/> <include schemaLocation="tuscany-sca-1.1-implementation-widget.xsd"/> + <include schemaLocation="tuscany-sca-1.1-implementation-script.xsd"/> </schema>
\ No newline at end of file |