You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ke...@apache.org on 2007/06/11 19:03:54 UTC

svn commit: r546200 - /incubator/tuscany/java/sdo/tools/src/test/resources/CustomerAccount.xsd

Author: kelvingoodson
Date: Mon Jun 11 10:03:53 2007
New Revision: 546200

URL: http://svn.apache.org/viewvc?view=rev&rev=546200
Log:
add missing XSD for test data

Added:
    incubator/tuscany/java/sdo/tools/src/test/resources/CustomerAccount.xsd

Added: incubator/tuscany/java/sdo/tools/src/test/resources/CustomerAccount.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/tools/src/test/resources/CustomerAccount.xsd?view=auto&rev=546200
==============================================================================
--- incubator/tuscany/java/sdo/tools/src/test/resources/CustomerAccount.xsd (added)
+++ incubator/tuscany/java/sdo/tools/src/test/resources/CustomerAccount.xsd Mon Jun 11 10:03:53 2007
@@ -0,0 +1,38 @@
+<?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.    
+ -->
+<xs:schema xmlns:sdo="commonj.sdo" xmlns:sdoJava="commonj.sdo/java" xmlns:stn_1="http://example.com/customer" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://example.com/customer">
+
+	<xs:complexType abstract="false" name="Account">
+		<xs:sequence/>
+		<xs:attribute default="0" name="accountNum" type="xs:int"/>
+	</xs:complexType>
+
+	<xs:element name="account" type="stn_1:Account"/>
+	
+	<xs:complexType abstract="false" name="Customer">
+		<xs:sequence>
+			<xs:element name="account" type="stn_1:Account"/>
+		</xs:sequence>
+		<xs:attribute name="firstName" type="xs:string"/>
+	</xs:complexType>
+	
+	<xs:element name="customer" type="stn_1:Customer"/>
+
+</xs:schema>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org