summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/tuscany-sca-contributions.xsd
diff options
context:
space:
mode:
authorramkumar <ramkumar@13f79535-47bb-0310-9956-ffa450edef68>2008-12-10 17:41:36 +0000
committerramkumar <ramkumar@13f79535-47bb-0310-9956-ffa450edef68>2008-12-10 17:41:36 +0000
commit7fe8a63460dc8094f264489b540ddad94c8519b5 (patch)
tree2d10b3ac2e062c601614a9a249aa18b6c8e60279 /branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/tuscany-sca-contributions.xsd
parent7a0847b72ba180ac899e8a2730557f7ca2dab297 (diff)
Fixes for TUSCANY-2740
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@725357 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/tuscany-sca-contributions.xsd')
-rw-r--r--branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/tuscany-sca-contributions.xsd67
1 files changed, 67 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/tuscany-sca-contributions.xsd b/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/tuscany-sca-contributions.xsd
new file mode 100644
index 0000000000..d8ee19af03
--- /dev/null
+++ b/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/tuscany-sca-contributions.xsd
@@ -0,0 +1,67 @@
+<?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.0"
+ xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0"
+ elementFormDefault="qualified">
+
+ <element name="import.resource" type="t:ImportResourceType"/>
+ <complexType name="ImportResourceType">
+ <sequence>
+ <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="namespace" type="string" use="optional"/>
+ <attribute name="location" type="anyURI" use="optional"/>
+ <attribute name="uri" type="anyURI" use="required"/>
+ <anyAttribute namespace="##other" processContents="lax"/>
+ </complexType>
+
+ <element name="export.resource" type="t:ExportResourceType"/>
+ <complexType name="ExportResourceType">
+ <sequence>
+ <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="namespace" type="string" use="optional"/>
+ <attribute name="uri" type="anyURI" use="required"/>
+ <anyAttribute namespace="##other" processContents="lax"/>
+ </complexType>
+
+ <element name="import.java" type="t:ImportJavaType"/>
+ <complexType name="ImportJavaType">
+ <sequence>
+ <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="namespace" type="string" use="optional"/>
+ <attribute name="location" type="anyURI" use="optional"/>
+ <attribute name="package" type="string" use="required"/>
+ <anyAttribute namespace="##other" processContents="lax"/>
+ </complexType>
+
+ <element name="export.java" type="t:ExportJavaType"/>
+ <complexType name="ExportJavaType">
+ <sequence>
+ <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="namespace" type="string" use="optional"/>
+ <attribute name="package" type="string" use="required"/>
+ <anyAttribute namespace="##other" processContents="lax"/>
+ </complexType>
+</schema>