diff options
Diffstat (limited to 'sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37.xsd')
-rw-r--r-- | sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37.xsd | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37.xsd b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37.xsd new file mode 100644 index 0000000000..b2afa51290 --- /dev/null +++ b/sca-cpp/tags/native-sca-1.0.incubating-M3/test/ws.service.interop/resources/interop37.xsd @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable. + * + * Licensed 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://www.apache.org/tuscany/interop" + xmlns:tns="http://www.apache.org/tuscany/interop"> + + <group name="Group1"> + <sequence> + <element name="Element1InChoice" type="string" maxOccurs="2"/> + <element name="Element2InChoice" type="string" /> + </sequence> + </group> + + <group name="Group2"> + <sequence> + <element name="Element2InChoice" type="string" /> + <element name="Element1InChoice" type="string" maxOccurs="2"/> + </sequence> + </group> + + <element name="RootElement37"> + <complexType> + <sequence> + <choice maxOccurs="3"> + <group ref="tns:Group1"/> + <group ref="tns:Group2"/> + </choice> + </sequence> + </complexType> + </element> +</schema> |