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/05/10 11:42:29 UTC

svn commit: r536798 - in /incubator/tuscany/java/cts/sdo2.1/src/main/resources: mixed2.xml mixedopen.xml simpleWithChangeSummary.xml simpleWithChangeSummary.xsd simpleWithChangeSummaryUndone.xml

Author: kelvingoodson
Date: Thu May 10 02:42:28 2007
New Revision: 536798

URL: http://svn.apache.org/viewvc?view=rev&rev=536798
Log:
TUSCANY-1252 these files are sufficient to fix the rest of the failures caused by resource leakage in the adopted tests.  Continuing with search for option test leakage.

Added:
    incubator/tuscany/java/cts/sdo2.1/src/main/resources/mixed2.xml   (with props)
    incubator/tuscany/java/cts/sdo2.1/src/main/resources/mixedopen.xml   (with props)
    incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummary.xml   (with props)
    incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummary.xsd   (with props)
    incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummaryUndone.xml   (with props)

Added: incubator/tuscany/java/cts/sdo2.1/src/main/resources/mixed2.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/cts/sdo2.1/src/main/resources/mixed2.xml?view=auto&rev=536798
==============================================================================
--- incubator/tuscany/java/cts/sdo2.1/src/main/resources/mixed2.xml (added)
+++ incubator/tuscany/java/cts/sdo2.1/src/main/resources/mixed2.xml Thu May 10 02:42:28 2007
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="ASCII"?>
+<mixed:mixedStockQuote 
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+  xmlns:mixed="http://www.example.com/mixed" 
+  xsi:type="mixed:MixedQuote">
+  <symbol>fbnt</symbol>
+  <companyName>FlyByNightTechnology</companyName>
+  some text
+  <quotes><price>2000.0</price></quotes>
+  more text
+  <price>1000.0</price>
+</mixed:mixedStockQuote>
\ No newline at end of file

Propchange: incubator/tuscany/java/cts/sdo2.1/src/main/resources/mixed2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/cts/sdo2.1/src/main/resources/mixed2.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/cts/sdo2.1/src/main/resources/mixed2.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/cts/sdo2.1/src/main/resources/mixedopen.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/cts/sdo2.1/src/main/resources/mixedopen.xml?view=auto&rev=536798
==============================================================================
--- incubator/tuscany/java/cts/sdo2.1/src/main/resources/mixedopen.xml (added)
+++ incubator/tuscany/java/cts/sdo2.1/src/main/resources/mixedopen.xml Thu May 10 02:42:28 2007
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="ASCII"?>
+<mixed:mixedOpenStockQuote 
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+  xmlns:mixed="http://www.example.com/mixed" 
+  xmlns:open="http://www.example.com/open"
+  xsi:type="mixed:MixedOpenQuote">
+  <open:symbol>fbnt</open:symbol>
+  <companyName>FlyByNightTechnology</companyName>
+  some text
+  <quotes><price>2000.0</price></quotes>
+  more text
+  <price>1000.0</price>
+</mixed:mixedOpenStockQuote>

Propchange: incubator/tuscany/java/cts/sdo2.1/src/main/resources/mixedopen.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/cts/sdo2.1/src/main/resources/mixedopen.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/cts/sdo2.1/src/main/resources/mixedopen.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummary.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummary.xml?view=auto&rev=536798
==============================================================================
--- incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummary.xml (added)
+++ incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummary.xml Thu May 10 02:42:28 2007
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="ASCII"?>
+<cs:stockQuote xmlns:cs="http://www.example.com/simpleCS">
+  <symbol>FBNT</symbol>
+  <companyName>FlyByNightTechnology</companyName>
+  <price>999.0</price>
+  <volume>1000.0</volume>
+  <quotes>
+    <price>1500.0</price>
+  </quotes>
+  <quotes>
+    <price>2500.0</price>
+  </quotes>
+  <quotes>
+    <price>3000.0</price>
+  </quotes>
+  <quotes>
+    <price>4000.0</price>
+  </quotes>
+  <changes create="#//quotes[3] #//quotes[4]" delete="#//changes/stockQuote[1]/quotes[2]" logging="false" xmlns:sdo="commonj.sdo">
+    <cs:stockQuote sdo:ref="#/stockQuote" sdo:unset="volume">
+      <symbol>fbnt</symbol>
+      <price>1000.0</price>
+      <quotes sdo:ref="#//quotes[1]" />
+      <quotes><price>2000.0</price><quotes><price>2000.99</price></quotes></quotes>
+      <quotes sdo:ref="#//quotes[2]" />
+    </cs:stockQuote>
+  </changes>
+</cs:stockQuote>
\ No newline at end of file

Propchange: incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummary.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummary.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummary.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummary.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummary.xsd?view=auto&rev=536798
==============================================================================
--- incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummary.xsd (added)
+++ incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummary.xsd Thu May 10 02:42:28 2007
@@ -0,0 +1,49 @@
+<?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.
+ -->
+<xsd:schema xmlns:sdo="commonj.sdo" xmlns:cs="http://www.example.com/simpleCS" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.example.com/simpleCS">
+  
+    		  
+  <xsd:import namespace="commonj.sdo" schemaLocation="sdoModel.xsd"/>
+  
+  <xsd:complexType name="RootQuote">
+  	<xsd:complexContent>
+  	  <xsd:extension base="cs:Quote">
+  	    <xsd:sequence>
+  	    	<xsd:element name="changes" type="sdo:ChangeSummaryType"/>
+  	    </xsd:sequence>
+  	  </xsd:extension>
+  	</xsd:complexContent>
+
+  </xsd:complexType>
+  		   
+  <xsd:element name="stockQuote" type="cs:RootQuote"/>
+
+  <xsd:complexType name="Quote">
+    <xsd:sequence>
+      <xsd:element name="symbol" type="xsd:string"/>
+      <xsd:element name="companyName" type="xsd:string"/>
+      <xsd:element name="price" type="xsd:decimal"/>
+      <xsd:element name="open1" type="xsd:decimal"/>
+      <xsd:element name="high" type="xsd:decimal"/>
+      <xsd:element name="low" type="xsd:decimal"/>
+      <xsd:element name="volume" type="xsd:double"/>
+      <xsd:element name="change1" type="xsd:double"/>
+      <xsd:element maxOccurs="unbounded" minOccurs="0" name="quotes" type="cs:Quote"/>
+    </xsd:sequence>
+  </xsd:complexType>
+
+</xsd:schema>

Propchange: incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummary.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummary.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummary.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummaryUndone.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummaryUndone.xml?view=auto&rev=536798
==============================================================================
--- incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummaryUndone.xml (added)
+++ incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummaryUndone.xml Thu May 10 02:42:28 2007
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="ASCII"?>
+<cs:stockQuote xmlns:cs="http://www.example.com/simpleCS">
+  <symbol>fbnt</symbol>
+  <companyName>FlyByNightTechnology</companyName>
+  <price>1000.0</price>
+  <quotes>
+    <price>1500.0</price>
+  </quotes>
+  <quotes>
+    <price>2000.0</price>
+    <quotes>
+      <price>2000.99</price>
+    </quotes>
+  </quotes>
+  <quotes>
+    <price>2500.0</price>
+  </quotes>
+  <changes logging="false" />
+</cs:stockQuote>
\ No newline at end of file

Propchange: incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummaryUndone.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummaryUndone.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/cts/sdo2.1/src/main/resources/simpleWithChangeSummaryUndone.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



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