You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by dk...@apache.org on 2006/08/28 20:54:46 UTC

svn commit: r437778 [31/42] - in /incubator/tuscany/java: ./ buildtools/ buildtools/src/main/resources/ das/ das/rdb/ das/rdb/src/main/java/org/apache/tuscany/das/rdb/ das/rdb/src/main/java/org/apache/tuscany/das/rdb/generator/impl/ das/rdb/src/main/ja...

Modified: incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/TypeRoundTripTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/TypeRoundTripTestCase.java?rev=437778&r1=437777&r2=437778&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/TypeRoundTripTestCase.java (original)
+++ incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/TypeRoundTripTestCase.java Mon Aug 28 11:53:49 2006
@@ -1,144 +1,144 @@
-/**
- *
- *  Copyright 2005 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.
- */
-package org.apache.tuscany.sdo.test;
-
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.util.ArrayList;
-import java.util.Comparator;
-import java.util.List;
-
-import junit.framework.TestCase;
-
-import org.apache.tuscany.sdo.util.SDOUtil;
-
-import commonj.sdo.Type;
-import commonj.sdo.helper.DataHelper;
-import commonj.sdo.helper.TypeHelper;
-
-public class TypeRoundTripTestCase extends TestCase {
-
-  private static class Test {
-    Type type;
-    String value;
-    Object obj;
-    Comparator comp;
-    
-    Test(Type type, String value, Object obj) {
-      this.type = type;
-      this.value = value;
-      this.obj = obj;
-    }
-    
-    Test(Type type, String value, Object obj, Comparator comp) {
-      this.type = type;
-      this.value = value;
-      this.obj = obj;
-      this.comp = comp;
-    }    
-  }
-  
-  private static class ListComparator implements Comparator {
-    public int compare(Object list1, Object list2) {
-      int answer = 1;
-      if (list1 instanceof List && list2 instanceof List) {
-        List l1 = (List) list1;
-        List l2 = (List) list2;
-        if (l1.size() == l2.size()) {
-          for (int n = 0; n < l1.size(); n++) {
-            if (!l1.get(n).equals(l2.get(n))) {
-              answer = 0;
-              break;
-            }
-          }
-        } else {
-          answer = 0;
-        }
-      } else {
-        answer = 0;
-      }
-      return answer;
-    }    
-  }
-  
-  private static class BytesComparator implements Comparator {
-    public int compare(Object o1, Object o2) {
-      o2 = new String((byte[])o2);
-      if (o1.equals(o2)) return 1;
-      else return 0;
-    }
-  }
-  
-  public void testTypeRoundTrips() throws Exception {
-    String URI = "commonj.sdo";
-    TypeHelper types = TypeHelper.INSTANCE;
-    
-    List list = new ArrayList();
-    list.add("foo");
-    list.add("bar");
-    list.add("test");
-    Test[] tests = {
-      new Test(types.getType(URI, "Boolean"),      "true", new Boolean(true)),
-      new Test(types.getType(URI, "Byte"),         "49", new Byte((byte)49)),
-      new Test(types.getType(URI, "Bytes"),        "Zm9v", "foo", new BytesComparator()),
-      new Test(types.getType(URI, "Character"),    "a", new Character('a')),
-      new Test(types.getType(URI, "Date"),         "2005-12-12T12:12:12.012Z", DataHelper.INSTANCE.toDate("2005-12-12T12:12:12.012Z")),
-      new Test(types.getType(URI, "DateTime"),     "2005-12-12T12:12:12zz", "2005-12-12T12:12:12zz"),
-      new Test(types.getType(URI, "Day"),          "---12", "---12"),
-      new Test(types.getType(URI, "Decimal"),      "12.12", new BigDecimal("12.12")),
-      new Test(types.getType(URI, "Double"),       "12.12", new Double(12.12)),
-      new Test(types.getType(URI, "Duration"),     "P5Y2M10D", "P5Y2M10D"),
-      new Test(types.getType(URI, "Float"),        "12.12", new Float(12.12f)),
-      new Test(types.getType(URI, "Int"),          "12", new Integer(12)),
-      new Test(types.getType(URI, "Integer"),      "12", new BigInteger("12")),
-      new Test(types.getType(URI, "Long"),         "12", new Long(12l)),
-      new Test(types.getType(URI, "Month"),        "--12", "--12"),
-      new Test(types.getType(URI, "MonthDay"),     "--12-12", "--12-12"),
-      new Test(types.getType(URI, "Object"),       "test", "test"),
-      new Test(types.getType(URI, "Short"),        "12", new Short((short)12)),
-      new Test(types.getType(URI, "String"),       "test", "test"),
-      new Test(types.getType(URI, "Strings"),      "foo bar test", list, new ListComparator()),
-      new Test(types.getType(URI, "Time"),         "12:12:12.12", "12:12:12.12"),
-      new Test(types.getType(URI, "URI"),          "http://example.org", "http://example.org"),
-      new Test(types.getType(URI, "Year"),         "2005", "2005"),
-      new Test(types.getType(URI, "YearMonth"),    "2005-12", "2005-12"),
-      new Test(types.getType(URI, "YearMonthDay"), "2005-12-12", "2005-12-12")
-    };
-    
-    for (int n = 0; n < tests.length; n++) {
-      assertEquals(
-        SDOUtil.convertToString(tests[n].type, SDOUtil.createFromString(tests[n].type, tests[n].value)), 
-        tests[n].value
-      );
-      
-      //System.out.print(".");
-      
-      if (tests[n].comp == null) {
-        assertEquals(
-          SDOUtil.createFromString(tests[n].type, SDOUtil.convertToString(tests[n].type, tests[n].obj)), 
-          tests[n].obj
-        );
-      } else {
-        String o1 = SDOUtil.convertToString(tests[n].type, tests[n].obj);
-        Object o2 = SDOUtil.createFromString(tests[n].type, o1);
-        assertEquals(tests[n].comp.compare(tests[n].obj, o2), 1);
-      }
-    }
-    
-  }
-  
-}
+/**
+ *
+ *  Copyright 2005 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.
+ */
+package org.apache.tuscany.sdo.test;
+
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.util.ArrayList;
+import java.util.Comparator;
+import java.util.List;
+
+import junit.framework.TestCase;
+
+import org.apache.tuscany.sdo.util.SDOUtil;
+
+import commonj.sdo.Type;
+import commonj.sdo.helper.DataHelper;
+import commonj.sdo.helper.TypeHelper;
+
+public class TypeRoundTripTestCase extends TestCase {
+
+  private static class Test {
+    Type type;
+    String value;
+    Object obj;
+    Comparator comp;
+    
+    Test(Type type, String value, Object obj) {
+      this.type = type;
+      this.value = value;
+      this.obj = obj;
+    }
+    
+    Test(Type type, String value, Object obj, Comparator comp) {
+      this.type = type;
+      this.value = value;
+      this.obj = obj;
+      this.comp = comp;
+    }    
+  }
+  
+  private static class ListComparator implements Comparator {
+    public int compare(Object list1, Object list2) {
+      int answer = 1;
+      if (list1 instanceof List && list2 instanceof List) {
+        List l1 = (List) list1;
+        List l2 = (List) list2;
+        if (l1.size() == l2.size()) {
+          for (int n = 0; n < l1.size(); n++) {
+            if (!l1.get(n).equals(l2.get(n))) {
+              answer = 0;
+              break;
+            }
+          }
+        } else {
+          answer = 0;
+        }
+      } else {
+        answer = 0;
+      }
+      return answer;
+    }    
+  }
+  
+  private static class BytesComparator implements Comparator {
+    public int compare(Object o1, Object o2) {
+      o2 = new String((byte[])o2);
+      if (o1.equals(o2)) return 1;
+      else return 0;
+    }
+  }
+  
+  public void testTypeRoundTrips() throws Exception {
+    String URI = "commonj.sdo";
+    TypeHelper types = TypeHelper.INSTANCE;
+    
+    List list = new ArrayList();
+    list.add("foo");
+    list.add("bar");
+    list.add("test");
+    Test[] tests = {
+      new Test(types.getType(URI, "Boolean"),      "true", new Boolean(true)),
+      new Test(types.getType(URI, "Byte"),         "49", new Byte((byte)49)),
+      new Test(types.getType(URI, "Bytes"),        "Zm9v", "foo", new BytesComparator()),
+      new Test(types.getType(URI, "Character"),    "a", new Character('a')),
+      new Test(types.getType(URI, "Date"),         "2005-12-12T12:12:12.012Z", DataHelper.INSTANCE.toDate("2005-12-12T12:12:12.012Z")),
+      new Test(types.getType(URI, "DateTime"),     "2005-12-12T12:12:12zz", "2005-12-12T12:12:12zz"),
+      new Test(types.getType(URI, "Day"),          "---12", "---12"),
+      new Test(types.getType(URI, "Decimal"),      "12.12", new BigDecimal("12.12")),
+      new Test(types.getType(URI, "Double"),       "12.12", new Double(12.12)),
+      new Test(types.getType(URI, "Duration"),     "P5Y2M10D", "P5Y2M10D"),
+      new Test(types.getType(URI, "Float"),        "12.12", new Float(12.12f)),
+      new Test(types.getType(URI, "Int"),          "12", new Integer(12)),
+      new Test(types.getType(URI, "Integer"),      "12", new BigInteger("12")),
+      new Test(types.getType(URI, "Long"),         "12", new Long(12l)),
+      new Test(types.getType(URI, "Month"),        "--12", "--12"),
+      new Test(types.getType(URI, "MonthDay"),     "--12-12", "--12-12"),
+      new Test(types.getType(URI, "Object"),       "test", "test"),
+      new Test(types.getType(URI, "Short"),        "12", new Short((short)12)),
+      new Test(types.getType(URI, "String"),       "test", "test"),
+      new Test(types.getType(URI, "Strings"),      "foo bar test", list, new ListComparator()),
+      new Test(types.getType(URI, "Time"),         "12:12:12.12", "12:12:12.12"),
+      new Test(types.getType(URI, "URI"),          "http://example.org", "http://example.org"),
+      new Test(types.getType(URI, "Year"),         "2005", "2005"),
+      new Test(types.getType(URI, "YearMonth"),    "2005-12", "2005-12"),
+      new Test(types.getType(URI, "YearMonthDay"), "2005-12-12", "2005-12-12")
+    };
+    
+    for (int n = 0; n < tests.length; n++) {
+      assertEquals(
+        SDOUtil.convertToString(tests[n].type, SDOUtil.createFromString(tests[n].type, tests[n].value)), 
+        tests[n].value
+      );
+      
+      //System.out.print(".");
+      
+      if (tests[n].comp == null) {
+        assertEquals(
+          SDOUtil.createFromString(tests[n].type, SDOUtil.convertToString(tests[n].type, tests[n].obj)), 
+          tests[n].obj
+        );
+      } else {
+        String o1 = SDOUtil.convertToString(tests[n].type, tests[n].obj);
+        Object o2 = SDOUtil.createFromString(tests[n].type, o1);
+        assertEquals(tests[n].comp.compare(tests[n].obj, o2), 1);
+      }
+    }
+    
+  }
+  
+}

Propchange: incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/TypeRoundTripTestCase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/TypeRoundTripTestCase.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XMLDocumentTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XMLDocumentTestCase.java?rev=437778&r1=437777&r2=437778&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XMLDocumentTestCase.java (original)
+++ incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XMLDocumentTestCase.java Mon Aug 28 11:53:49 2006
@@ -1,107 +1,107 @@
-/**
- *
- *  Copyright 2005 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.
- */
-package org.apache.tuscany.sdo.test;
-
-
-import java.io.IOException;
-
-import junit.framework.TestCase;
-
-import commonj.sdo.helper.XMLDocument;
-import commonj.sdo.helper.XMLHelper;
-
-
-public class XMLDocumentTestCase extends TestCase
-{
-  private final String TEST_XML_DOCUMENT = "/XMLDocumentTestCase.xml";
-
-  // remember that NS1... and NS2... items are expected in sorted order by name
-  private final String NS1_SCHEMA_NAME = "http://www.example.com/open";
-
-  private final String NS1_SCHEMA_LOCATION = "/open.xsd";
-
-  private final String NS2_SCHEMA_NAME = "http://www.example.com/xmlDocumentSchemaLocation";
-
-  private final String NS2_SCHEMA_LOCATION = "/XMLDocumentSchemaLocation.xsd";
-
-  private final String NS_SET_NAME_LOCATION = "namespace schemaLocation";
-
-  //private final String NNS_SCHEMA_LOCATION = "http://www.example.com/XMLDocumentNoNamespaceSchemaLocation.xsd";
-  private final String NNS_SCHEMA_LOCATION = "/XMLDocumentNoNamespaceSchemaLocation.xsd";
-
-  private final String NNS_SET_LOCATION = "noNamespaceSchemaLocation";
-
-  /**
-   * This method will load an xml document consisting of a xsi:schemaLocation and 
-   * xsi:noNamespaceSchemaLocation defined.  It will then use the XMLDocument API to get and
-   * set the schemaLocation property.
-   * 
-   * @throws IOException
-   */
-  public void testSchemaLocation() throws IOException
-  {
-    // load the xml document which has xsi:noNamespaceSchemaLocation and xsi:schemaLocation defined
-    XMLDocument doc = XMLHelper.INSTANCE.load(getClass().getResourceAsStream(TEST_XML_DOCUMENT));
-
-    // get the schemaLocation
-    assertEquals(NS1_SCHEMA_NAME + " " + NS1_SCHEMA_LOCATION + " " + NS2_SCHEMA_NAME + " " + NS2_SCHEMA_LOCATION, doc.getSchemaLocation());
-
-    // set the schemaLocation to another value and test to see if the value was set
-    doc.setSchemaLocation(NS_SET_NAME_LOCATION);
-    assertEquals(NS_SET_NAME_LOCATION, doc.getSchemaLocation());
-
-    // remove the schemaLocation and ensure it returns null
-    doc.setSchemaLocation(null);
-    assertNull(doc.getSchemaLocation());
-
-    // ensure changes to schemaLocation have not changed noNamespaceSchemaLocation
-    assertEquals(NNS_SCHEMA_LOCATION, doc.getNoNamespaceSchemaLocation());
-  }
-
-  /**
-   * This method will load an xml document consisting of a xsi:schemaLocation and 
-   * xsi:noNamespaceSchemaLocation defined.  It will then use the XMLDocument API to get and
-   * set the noNamespaceSchemaLocation property.
-   * 
-   * @throws IOException
-   */
-  public void testNoNamespaceSchemaLocation() throws IOException
-  {
-    // load the xml document which has xsi:noNamespaceSchemaLocation and xsi:schemaLocation defined
-    XMLDocument doc = XMLHelper.INSTANCE.load(getClass().getResourceAsStream(TEST_XML_DOCUMENT));
-
-    // get the noNamespaceSchemaLocation
-    assertEquals(NNS_SCHEMA_LOCATION, doc.getNoNamespaceSchemaLocation());
-
-    // set the noNameSpaceSchemaLocation to another value and test to see if the value was set
-    doc.setNoNamespaceSchemaLocation(NNS_SET_LOCATION);
-    assertEquals(NNS_SET_LOCATION, doc.getNoNamespaceSchemaLocation());
-
-    // remove the noNameSpaceSchemaLocation and ensure it returns null
-    doc.setNoNamespaceSchemaLocation(null);
-    assertNull(doc.getNoNamespaceSchemaLocation());
-
-    // ensure changes to noNameSpaceSchemaLocation have not changed schemaLocation
-    assertEquals(NS1_SCHEMA_NAME + " " + NS1_SCHEMA_LOCATION + " " + NS2_SCHEMA_NAME + " " + NS2_SCHEMA_LOCATION, doc.getSchemaLocation());
-  }
-
-  protected void setUp() throws Exception
-  {
-    super.setUp();
-  }
-
-}
+/**
+ *
+ *  Copyright 2005 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.
+ */
+package org.apache.tuscany.sdo.test;
+
+
+import java.io.IOException;
+
+import junit.framework.TestCase;
+
+import commonj.sdo.helper.XMLDocument;
+import commonj.sdo.helper.XMLHelper;
+
+
+public class XMLDocumentTestCase extends TestCase
+{
+  private final String TEST_XML_DOCUMENT = "/XMLDocumentTestCase.xml";
+
+  // remember that NS1... and NS2... items are expected in sorted order by name
+  private final String NS1_SCHEMA_NAME = "http://www.example.com/open";
+
+  private final String NS1_SCHEMA_LOCATION = "/open.xsd";
+
+  private final String NS2_SCHEMA_NAME = "http://www.example.com/xmlDocumentSchemaLocation";
+
+  private final String NS2_SCHEMA_LOCATION = "/XMLDocumentSchemaLocation.xsd";
+
+  private final String NS_SET_NAME_LOCATION = "namespace schemaLocation";
+
+  //private final String NNS_SCHEMA_LOCATION = "http://www.example.com/XMLDocumentNoNamespaceSchemaLocation.xsd";
+  private final String NNS_SCHEMA_LOCATION = "/XMLDocumentNoNamespaceSchemaLocation.xsd";
+
+  private final String NNS_SET_LOCATION = "noNamespaceSchemaLocation";
+
+  /**
+   * This method will load an xml document consisting of a xsi:schemaLocation and 
+   * xsi:noNamespaceSchemaLocation defined.  It will then use the XMLDocument API to get and
+   * set the schemaLocation property.
+   * 
+   * @throws IOException
+   */
+  public void testSchemaLocation() throws IOException
+  {
+    // load the xml document which has xsi:noNamespaceSchemaLocation and xsi:schemaLocation defined
+    XMLDocument doc = XMLHelper.INSTANCE.load(getClass().getResourceAsStream(TEST_XML_DOCUMENT));
+
+    // get the schemaLocation
+    assertEquals(NS1_SCHEMA_NAME + " " + NS1_SCHEMA_LOCATION + " " + NS2_SCHEMA_NAME + " " + NS2_SCHEMA_LOCATION, doc.getSchemaLocation());
+
+    // set the schemaLocation to another value and test to see if the value was set
+    doc.setSchemaLocation(NS_SET_NAME_LOCATION);
+    assertEquals(NS_SET_NAME_LOCATION, doc.getSchemaLocation());
+
+    // remove the schemaLocation and ensure it returns null
+    doc.setSchemaLocation(null);
+    assertNull(doc.getSchemaLocation());
+
+    // ensure changes to schemaLocation have not changed noNamespaceSchemaLocation
+    assertEquals(NNS_SCHEMA_LOCATION, doc.getNoNamespaceSchemaLocation());
+  }
+
+  /**
+   * This method will load an xml document consisting of a xsi:schemaLocation and 
+   * xsi:noNamespaceSchemaLocation defined.  It will then use the XMLDocument API to get and
+   * set the noNamespaceSchemaLocation property.
+   * 
+   * @throws IOException
+   */
+  public void testNoNamespaceSchemaLocation() throws IOException
+  {
+    // load the xml document which has xsi:noNamespaceSchemaLocation and xsi:schemaLocation defined
+    XMLDocument doc = XMLHelper.INSTANCE.load(getClass().getResourceAsStream(TEST_XML_DOCUMENT));
+
+    // get the noNamespaceSchemaLocation
+    assertEquals(NNS_SCHEMA_LOCATION, doc.getNoNamespaceSchemaLocation());
+
+    // set the noNameSpaceSchemaLocation to another value and test to see if the value was set
+    doc.setNoNamespaceSchemaLocation(NNS_SET_LOCATION);
+    assertEquals(NNS_SET_LOCATION, doc.getNoNamespaceSchemaLocation());
+
+    // remove the noNameSpaceSchemaLocation and ensure it returns null
+    doc.setNoNamespaceSchemaLocation(null);
+    assertNull(doc.getNoNamespaceSchemaLocation());
+
+    // ensure changes to noNameSpaceSchemaLocation have not changed schemaLocation
+    assertEquals(NS1_SCHEMA_NAME + " " + NS1_SCHEMA_LOCATION + " " + NS2_SCHEMA_NAME + " " + NS2_SCHEMA_LOCATION, doc.getSchemaLocation());
+  }
+
+  protected void setUp() throws Exception
+  {
+    super.setUp();
+  }
+
+}

Propchange: incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XMLDocumentTestCase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XMLDocumentTestCase.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XMLStreamHelperTestCase.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Mon Aug 28 11:53:49 2006
@@ -1 +1 @@
-Rev,Date
+Rev Date

Modified: incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XPathTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XPathTestCase.java?rev=437778&r1=437777&r2=437778&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XPathTestCase.java (original)
+++ incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XPathTestCase.java Mon Aug 28 11:53:49 2006
@@ -1,125 +1,125 @@
-/**
- *
- *  Copyright 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.
- */
-package org.apache.tuscany.sdo.test;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.URL;
-
-import org.apache.tuscany.sdo.util.SDOUtil;
-
-import junit.framework.TestCase;
-
-import commonj.sdo.DataObject;
-import commonj.sdo.helper.TypeHelper;
-import commonj.sdo.helper.XMLDocument;
-import commonj.sdo.helper.XMLHelper;
-import commonj.sdo.helper.XSDHelper;
-
-public class XPathTestCase extends TestCase {
-
-    private final String TEST_MODEL = "/xpath.xsd";
-    private final String XPATH_XML = "/xpath.xml";
-
-    /**
-     * The presence or absence of the @ sign in a path has no meaning.
-     * Properties are always matched by name independent of their XML representation.
-     * @throws IOException
-     */
-    public void testAtSignProperty() throws IOException {
-        TypeHelper typeHelper = SDOUtil.createTypeHelper();
-        XSDHelper xsdHelper = SDOUtil.createXSDHelper(typeHelper);
-        XMLHelper xmlHelper = SDOUtil.createXMLHelper(typeHelper);
-        
-        URL url = getClass().getResource(TEST_MODEL);
-        InputStream inputStream = url.openStream();
-        xsdHelper.define(inputStream, url.toString());
-        
-        inputStream.close();
-        
-        XMLDocument doc = xmlHelper.load(getClass().getResourceAsStream(XPATH_XML));
-          
-        DataObject drive = doc.getRootObject();
-        DataObject folder1 = (DataObject) drive.get("Folder.1");
-        String value = folder1.getString("@creation_date");
-         
-        assertEquals(value, "2000-03-23");
-    }
-    
-    public void testListIndexing() throws Exception {
-        TypeHelper typeHelper = SDOUtil.createTypeHelper();
-        XSDHelper xsdHelper = SDOUtil.createXSDHelper(typeHelper);
-        XMLHelper xmlHelper = SDOUtil.createXMLHelper(typeHelper);
-
-        URL url = getClass().getResource(TEST_MODEL);
-        InputStream inputStream = url.openStream();
-        xsdHelper.define(inputStream, url.toString());
-
-        inputStream.close();
-
-        XMLDocument doc = xmlHelper.load(getClass().getResourceAsStream(XPATH_XML));
-
-        DataObject root = doc.getRootObject();
-        DataObject folder1 = root.getDataObject("Folder[1]");
-        assertNotNull(folder1);
-        DataObject folder1a = root.getDataObject("Folder.0");
-        assertEquals(folder1, folder1a);
-        folder1a = root.getDataObject("Folder[FolderName=Folder00000000000]");
-        assertEquals(folder1, folder1a);
-
-        DataObject noFolder = null;
-
-        try {
-            noFolder = root.getDataObject("Folder[3]");
-            assertFalse("bad indexing passed", true);
-        } catch (IndexOutOfBoundsException iobe) {
-            // as expected
-        } catch (Exception e) {
-            assertFalse("bad indexing generated wrong exception" + e, true);
-        }
-
-        try {
-            noFolder = root.getDataObject("Folder[0]");
-            assertFalse("bad indexing passed", true);
-        } catch (IndexOutOfBoundsException iobe) {
-            // as expected
-        } catch (Exception e) {
-            assertFalse("bad indexing generated wrong exception" + e, true);
-        }
-
-        try {
-            noFolder = root.getDataObject("Folder.2");
-            assertFalse("bad indexing passed", true);
-        } catch (IndexOutOfBoundsException iobe) {
-            // as expected
-        } catch (Exception e) {
-            assertFalse("bad indexing generated wrong exception" + e, true);
-        }
-
-        try {
-            noFolder = root.getDataObject("Folder.-1");
-            assertFalse("bad indexing passed", true);
-        } catch (IndexOutOfBoundsException iobe) {
-            // as expected
-        } catch (Exception e) {
-            assertFalse("bad indexing generated wrong exception" + e, true);
-        }
-
-        noFolder = root.getDataObject("Folder[FolderName=foo]");
-        assertNull(noFolder);
-    }
-}
+/**
+ *
+ *  Copyright 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.
+ */
+package org.apache.tuscany.sdo.test;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.URL;
+
+import org.apache.tuscany.sdo.util.SDOUtil;
+
+import junit.framework.TestCase;
+
+import commonj.sdo.DataObject;
+import commonj.sdo.helper.TypeHelper;
+import commonj.sdo.helper.XMLDocument;
+import commonj.sdo.helper.XMLHelper;
+import commonj.sdo.helper.XSDHelper;
+
+public class XPathTestCase extends TestCase {
+
+    private final String TEST_MODEL = "/xpath.xsd";
+    private final String XPATH_XML = "/xpath.xml";
+
+    /**
+     * The presence or absence of the @ sign in a path has no meaning.
+     * Properties are always matched by name independent of their XML representation.
+     * @throws IOException
+     */
+    public void testAtSignProperty() throws IOException {
+        TypeHelper typeHelper = SDOUtil.createTypeHelper();
+        XSDHelper xsdHelper = SDOUtil.createXSDHelper(typeHelper);
+        XMLHelper xmlHelper = SDOUtil.createXMLHelper(typeHelper);
+        
+        URL url = getClass().getResource(TEST_MODEL);
+        InputStream inputStream = url.openStream();
+        xsdHelper.define(inputStream, url.toString());
+        
+        inputStream.close();
+        
+        XMLDocument doc = xmlHelper.load(getClass().getResourceAsStream(XPATH_XML));
+          
+        DataObject drive = doc.getRootObject();
+        DataObject folder1 = (DataObject) drive.get("Folder.1");
+        String value = folder1.getString("@creation_date");
+         
+        assertEquals(value, "2000-03-23");
+    }
+    
+    public void testListIndexing() throws Exception {
+        TypeHelper typeHelper = SDOUtil.createTypeHelper();
+        XSDHelper xsdHelper = SDOUtil.createXSDHelper(typeHelper);
+        XMLHelper xmlHelper = SDOUtil.createXMLHelper(typeHelper);
+
+        URL url = getClass().getResource(TEST_MODEL);
+        InputStream inputStream = url.openStream();
+        xsdHelper.define(inputStream, url.toString());
+
+        inputStream.close();
+
+        XMLDocument doc = xmlHelper.load(getClass().getResourceAsStream(XPATH_XML));
+
+        DataObject root = doc.getRootObject();
+        DataObject folder1 = root.getDataObject("Folder[1]");
+        assertNotNull(folder1);
+        DataObject folder1a = root.getDataObject("Folder.0");
+        assertEquals(folder1, folder1a);
+        folder1a = root.getDataObject("Folder[FolderName=Folder00000000000]");
+        assertEquals(folder1, folder1a);
+
+        DataObject noFolder = null;
+
+        try {
+            noFolder = root.getDataObject("Folder[3]");
+            assertFalse("bad indexing passed", true);
+        } catch (IndexOutOfBoundsException iobe) {
+            // as expected
+        } catch (Exception e) {
+            assertFalse("bad indexing generated wrong exception" + e, true);
+        }
+
+        try {
+            noFolder = root.getDataObject("Folder[0]");
+            assertFalse("bad indexing passed", true);
+        } catch (IndexOutOfBoundsException iobe) {
+            // as expected
+        } catch (Exception e) {
+            assertFalse("bad indexing generated wrong exception" + e, true);
+        }
+
+        try {
+            noFolder = root.getDataObject("Folder.2");
+            assertFalse("bad indexing passed", true);
+        } catch (IndexOutOfBoundsException iobe) {
+            // as expected
+        } catch (Exception e) {
+            assertFalse("bad indexing generated wrong exception" + e, true);
+        }
+
+        try {
+            noFolder = root.getDataObject("Folder.-1");
+            assertFalse("bad indexing passed", true);
+        } catch (IndexOutOfBoundsException iobe) {
+            // as expected
+        } catch (Exception e) {
+            assertFalse("bad indexing generated wrong exception" + e, true);
+        }
+
+        noFolder = root.getDataObject("Folder[FolderName=foo]");
+        assertNull(noFolder);
+    }
+}

Propchange: incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XPathTestCase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XPathTestCase.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/XSDHelperTestCase.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Mon Aug 28 11:53:49 2006
@@ -1 +1 @@
-Rev,Date
+Rev Date

Modified: incubator/tuscany/java/sdo/impl/src/test/resources/SubstitutionValues.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/resources/SubstitutionValues.xsd?rev=437778&r1=437777&r2=437778&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/resources/SubstitutionValues.xsd (original)
+++ incubator/tuscany/java/sdo/impl/src/test/resources/SubstitutionValues.xsd Mon Aug 28 11:53:49 2006
@@ -1,12 +1,12 @@
-<schema xmlns="http://www.w3.org/2001/XMLSchema"
-        targetNamespace="http://www.apache.org/tuscany/SubstitutionValues" 
-        xmlns:sv="http://www.apache.org/tuscany/SubstitutionValues"> 
-  <element name="groupHead" type="string"/>
-  <complexType name="TestObject">
-    <sequence>
-      <element ref="sv:groupHead"/>
-      <element name="nonGroupHead" type="string"/>
-    </sequence>
-  </complexType>
-  <element name="groupMember" type="string" substitutionGroup="sv:groupHead"/>
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+        targetNamespace="http://www.apache.org/tuscany/SubstitutionValues" 
+        xmlns:sv="http://www.apache.org/tuscany/SubstitutionValues"> 
+  <element name="groupHead" type="string"/>
+  <complexType name="TestObject">
+    <sequence>
+      <element ref="sv:groupHead"/>
+      <element name="nonGroupHead" type="string"/>
+    </sequence>
+  </complexType>
+  <element name="groupMember" type="string" substitutionGroup="sv:groupHead"/>
 </schema>

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/SubstitutionValues.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/SubstitutionValues.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/SubstitutionValues.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentNoNamespaceSchemaLocation.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentNoNamespaceSchemaLocation.xsd?rev=437778&r1=437777&r2=437778&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentNoNamespaceSchemaLocation.xsd (original)
+++ incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentNoNamespaceSchemaLocation.xsd Mon Aug 28 11:53:49 2006
@@ -1,28 +1,28 @@
-<?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:xsd="http://www.w3.org/2001/XMLSchema">
-
- <xsd:element name="aNoNamespaceSchemaLocationElement">
-  <xsd:complexType>
-   <xsd:sequence>
-    <xsd:element name="anElement" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/>
-   </xsd:sequence>
-   <xsd:attribute name="date" type="xsd:date"/>
-  </xsd:complexType>
- </xsd:element>
-
-</xsd:schema>
+<?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:xsd="http://www.w3.org/2001/XMLSchema">
+
+ <xsd:element name="aNoNamespaceSchemaLocationElement">
+  <xsd:complexType>
+   <xsd:sequence>
+    <xsd:element name="anElement" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/>
+   </xsd:sequence>
+   <xsd:attribute name="date" type="xsd:date"/>
+  </xsd:complexType>
+ </xsd:element>
+
+</xsd:schema>

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentNoNamespaceSchemaLocation.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentNoNamespaceSchemaLocation.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentNoNamespaceSchemaLocation.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentSchemaLocation.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentSchemaLocation.xsd?rev=437778&r1=437777&r2=437778&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentSchemaLocation.xsd (original)
+++ incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentSchemaLocation.xsd Mon Aug 28 11:53:49 2006
@@ -1,32 +1,32 @@
-<?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:xsd="http://www.w3.org/2001/XMLSchema"
-  targetNamespace="http://www.example.com/xmlDocumentSchemaLocation"
-  xmlns:sl="http://www.example.com/xmlDocumentSchemaLocation">
-
- <xsd:element name="schemaLocationElement" type="xsd:string" />
-
- <xsd:element name="purchaseReport">
-  <xsd:complexType>
-   <xsd:sequence>
-    <xsd:any minOccurs="1" maxOccurs="unbounded"/>
-   </xsd:sequence>
-   <xsd:attribute name="periodEnding" type="xsd:date"/>
-  </xsd:complexType>
- </xsd:element>
-
-</xsd:schema>
+<?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:xsd="http://www.w3.org/2001/XMLSchema"
+  targetNamespace="http://www.example.com/xmlDocumentSchemaLocation"
+  xmlns:sl="http://www.example.com/xmlDocumentSchemaLocation">
+
+ <xsd:element name="schemaLocationElement" type="xsd:string" />
+
+ <xsd:element name="purchaseReport">
+  <xsd:complexType>
+   <xsd:sequence>
+    <xsd:any minOccurs="1" maxOccurs="unbounded"/>
+   </xsd:sequence>
+   <xsd:attribute name="periodEnding" type="xsd:date"/>
+  </xsd:complexType>
+ </xsd:element>
+
+</xsd:schema>

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentSchemaLocation.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentSchemaLocation.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentSchemaLocation.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentTestCase.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentTestCase.xml?rev=437778&r1=437777&r2=437778&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentTestCase.xml (original)
+++ incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentTestCase.xml Mon Aug 28 11:53:49 2006
@@ -1,14 +1,14 @@
-<sl:purchaseReport
-  xmlns:sl="http://www.example.com/xmlDocumentSchemaLocation"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://www.example.com/xmlDocumentSchemaLocation
-  /XMLDocumentSchemaLocation.xsd
-  http://www.example.com/open 
-  /open.xsd"
-  xsi:noNamespaceSchemaLocation="/XMLDocumentNoNamespaceSchemaLocation.xsd"
-  periodEnding="2007-12-31">
-  <sl:schemaLocationElement>some string</sl:schemaLocationElement>
-  <aNoNamespaceSchemaLocationElement date="2006-04-01">
-    <anElement>another string</anElement>
-  </aNoNamespaceSchemaLocationElement>
-</sl:purchaseReport>
+<sl:purchaseReport
+  xmlns:sl="http://www.example.com/xmlDocumentSchemaLocation"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://www.example.com/xmlDocumentSchemaLocation
+  /XMLDocumentSchemaLocation.xsd
+  http://www.example.com/open 
+  /open.xsd"
+  xsi:noNamespaceSchemaLocation="/XMLDocumentNoNamespaceSchemaLocation.xsd"
+  periodEnding="2007-12-31">
+  <sl:schemaLocationElement>some string</sl:schemaLocationElement>
+  <aNoNamespaceSchemaLocationElement date="2006-04-01">
+    <anElement>another string</anElement>
+  </aNoNamespaceSchemaLocationElement>
+</sl:purchaseReport>

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentTestCase.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentTestCase.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/XMLDocumentTestCase.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/api_test.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/api_test.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/company.xsd
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Mon Aug 28 11:53:49 2006
@@ -1 +1 @@
-Rev,Date
+Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/company.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/tuscany/java/sdo/impl/src/test/resources/customer1.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/resources/customer1.xml?rev=437778&r1=437777&r2=437778&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/resources/customer1.xml (original)
+++ incubator/tuscany/java/sdo/impl/src/test/resources/customer1.xml Mon Aug 28 11:53:49 2006
@@ -1,8 +1,8 @@
-<?xml version="1.0" encoding="ASCII"?>
-<customer:Customer 
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-  xmlns:customer="http://example.com/customer" 
-  xsi:type="customer:Customer"
-  custNum="1" 
-  firstName="John" 
+<?xml version="1.0" encoding="ASCII"?>
+<customer:Customer 
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+  xmlns:customer="http://example.com/customer" 
+  xsi:type="customer:Customer"
+  custNum="1" 
+  firstName="John" 
   lastName="Adams"/>

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/customer1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/customer1.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/customer1.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/tuscany/java/sdo/impl/src/test/resources/customer2.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/resources/customer2.xml?rev=437778&r1=437777&r2=437778&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/resources/customer2.xml (original)
+++ incubator/tuscany/java/sdo/impl/src/test/resources/customer2.xml Mon Aug 28 11:53:49 2006
@@ -1,8 +1,8 @@
-<?xml version="1.0" encoding="ASCII"?>
-<customer:Customer 
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-  xmlns:customer="http://example.com/customer" 
-  xsi:type="customer:Customer"
-  custNum="2" 
-  firstName="Jeremy" 
+<?xml version="1.0" encoding="ASCII"?>
+<customer:Customer 
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+  xmlns:customer="http://example.com/customer" 
+  xsi:type="customer:Customer"
+  custNum="2" 
+  firstName="Jeremy" 
   lastName="Pavick"/>

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/customer2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/customer2.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/customer2.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/tuscany/java/sdo/impl/src/test/resources/datatype.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/resources/datatype.xsd?rev=437778&r1=437777&r2=437778&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/resources/datatype.xsd (original)
+++ incubator/tuscany/java/sdo/impl/src/test/resources/datatype.xsd Mon Aug 28 11:53:49 2006
@@ -1,31 +1,31 @@
-<?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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:datatype="http://www.example.com/datatype" xmlns:sdoJava="commonj.sdo/java" targetNamespace="http://www.example.com/datatype"> 
-
-	<xsd:simpleType name="SimpleSDOType">
-		<xsd:restriction base="xsd:string"/>
-	</xsd:simpleType>
-	
-	<xsd:simpleType name="SimpleSDOTypeInstanceClass" sdoJava:instanceClass="java.lang.Integer">
-		<xsd:restriction base="xsd:string"/>
-	</xsd:simpleType>
-	
-	<xsd:simpleType name="SimpleSDOTypeExtendedInstanceClass" sdoJava:extendedInstanceClass="java.lang.String">
-		<xsd:restriction base="xsd:string"/>
-	</xsd:simpleType>
-
-</xsd:schema>
+<?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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:datatype="http://www.example.com/datatype" xmlns:sdoJava="commonj.sdo/java" targetNamespace="http://www.example.com/datatype"> 
+
+	<xsd:simpleType name="SimpleSDOType">
+		<xsd:restriction base="xsd:string"/>
+	</xsd:simpleType>
+	
+	<xsd:simpleType name="SimpleSDOTypeInstanceClass" sdoJava:instanceClass="java.lang.Integer">
+		<xsd:restriction base="xsd:string"/>
+	</xsd:simpleType>
+	
+	<xsd:simpleType name="SimpleSDOTypeExtendedInstanceClass" sdoJava:extendedInstanceClass="java.lang.String">
+		<xsd:restriction base="xsd:string"/>
+	</xsd:simpleType>
+
+</xsd:schema>

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/datatype.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/datatype.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/datatype.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/foo-ext.xml
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Mon Aug 28 11:53:49 2006
@@ -1 +1 @@
-Rev,Date
+Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/foo-ext.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/foo-ext.xsd
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Mon Aug 28 11:53:49 2006
@@ -1 +1 @@
-Rev,Date
+Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/foo-ext.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/foo.xsd
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Mon Aug 28 11:53:49 2006
@@ -1 +1 @@
-Rev,Date
+Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/foo.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/mixed.xml
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Mon Aug 28 11:53:49 2006
@@ -1 +1 @@
-Rev,Date
+Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/mixed.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/mixed.xsd
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Mon Aug 28 11:53:49 2006
@@ -1 +1 @@
-Rev,Date
+Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/mixed.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/tuscany/java/sdo/impl/src/test/resources/mixed2.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/resources/mixed2.xml?rev=437778&r1=437777&r2=437778&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/resources/mixed2.xml (original)
+++ incubator/tuscany/java/sdo/impl/src/test/resources/mixed2.xml Mon Aug 28 11:53:49 2006
@@ -1,12 +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>
+<?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>

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/mixed2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/mixed2.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/mixed2.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/tuscany/java/sdo/impl/src/test/resources/mixedopen.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/resources/mixedopen.xml?rev=437778&r1=437777&r2=437778&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/resources/mixedopen.xml (original)
+++ incubator/tuscany/java/sdo/impl/src/test/resources/mixedopen.xml Mon Aug 28 11:53:49 2006
@@ -1,13 +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>
+<?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/sdo/impl/src/test/resources/mixedopen.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/mixedopen.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/mixedopen.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/tuscany/java/sdo/impl/src/test/resources/names.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/resources/names.xsd?rev=437778&r1=437777&r2=437778&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/resources/names.xsd (original)
+++ incubator/tuscany/java/sdo/impl/src/test/resources/names.xsd Mon Aug 28 11:53:49 2006
@@ -1,30 +1,30 @@
-<?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 
-  targetNamespace="http://www.example.com/names"
-  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
-  xmlns:names="http://www.example.com/names"> 
-  
-   <xsd:element name="class" type="names:class"/>
-   <xsd:element name="test.element" type="names:test.element" />
-   <xsd:element name="void" type="names:void" />
-
-   <xsd:complexType name="class" />
-   <xsd:complexType name="test.element" />
-   <xsd:complexType name="void" />
-
-</xsd:schema>
+<?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 
+  targetNamespace="http://www.example.com/names"
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+  xmlns:names="http://www.example.com/names"> 
+  
+   <xsd:element name="class" type="names:class"/>
+   <xsd:element name="test.element" type="names:test.element" />
+   <xsd:element name="void" type="names:void" />
+
+   <xsd:complexType name="class" />
+   <xsd:complexType name="test.element" />
+   <xsd:complexType name="void" />
+
+</xsd:schema>

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/names.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/names.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/names.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/open.xml
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Mon Aug 28 11:53:49 2006
@@ -1 +1 @@
-Rev,Date
+Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/open.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/open.xsd
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Mon Aug 28 11:53:49 2006
@@ -1 +1 @@
-Rev,Date
+Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/open.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/tuscany/java/sdo/impl/src/test/resources/open2.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/resources/open2.xml?rev=437778&r1=437777&r2=437778&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/resources/open2.xml (original)
+++ incubator/tuscany/java/sdo/impl/src/test/resources/open2.xml Mon Aug 28 11:53:49 2006
@@ -1,9 +1,9 @@
-<?xml version="1.0" encoding="ASCII"?>
-<open:openStockQuote 
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-  xmlns:open="http://www.example.com/open" 
-  xsi:type="open:OpenQuote">
-  <open:symbol>s1</open:symbol>
-  <open:company name="FlyByNightTechnology"/>
-  <open:price>1000.0</open:price>
-</open:openStockQuote>
+<?xml version="1.0" encoding="ASCII"?>
+<open:openStockQuote 
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+  xmlns:open="http://www.example.com/open" 
+  xsi:type="open:OpenQuote">
+  <open:symbol>s1</open:symbol>
+  <open:company name="FlyByNightTechnology"/>
+  <open:price>1000.0</open:price>
+</open:openStockQuote>

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/open2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/open2.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/open2.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/po.xsd
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Mon Aug 28 11:53:49 2006
@@ -1 +1 @@
-Rev,Date
+Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/po.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/quote.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/tuscany/java/sdo/impl/src/test/resources/sdoannotations.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/resources/sdoannotations.xsd?rev=437778&r1=437777&r2=437778&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/resources/sdoannotations.xsd (original)
+++ incubator/tuscany/java/sdo/impl/src/test/resources/sdoannotations.xsd Mon Aug 28 11:53:49 2006
@@ -1,57 +1,57 @@
-<?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 
-  targetNamespace="http://www.example.com/sdoannotations"
-  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
-  xmlns:sdoa="http://www.example.com/sdoannotations"
-  xmlns:sdo="commonj.sdo/xml"
-  xmlns:sdoj="commonj.sdo/java"> 
-  
-  <!--  simple element with no annotations -->
-  <xsd:element name="foo0" type="xsd:string" />
-  
-  <!--  simple element with sdo:name -->
-  <xsd:element name="foo1" type="xsd:string" sdo:name="foo2" />
-  
-  <!--  simple element with sdo:type -->
-  <xsd:element 
-    name="foo3" type="xsd:int" 
-    sdo:dataType="xsd:string"
-    sdo:aliasName="foo4"
-    sdo:readOnly="true" />
-  
-  <xsd:element
-    name="foo5" type="sdoa:foo6" />
-  
-  <!--  complex type with no annotations -->
-  <xsd:complexType name="foo6">
-    <xsd:sequence>
-      <xsd:element name="bar1" type="xsd:int" />
-    </xsd:sequence>
-    <xsd:attribute name="bar2" type="xsd:int" />
-  </xsd:complexType>
-
-  <xsd:element 
-    name="foo7" type="sdoa:foo8" />
-
-  <xsd:complexType name="foo8" sdo:name="foo9" sdoj:instanceClass="org.apache.tuscany.sdo.test.XSDHelperTestCase">
-    <xsd:sequence>
-      <xsd:element name="bar3" type="xsd:int" sdo:string="true" />
-    </xsd:sequence>
-  </xsd:complexType>
-
-</xsd:schema>
+<?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 
+  targetNamespace="http://www.example.com/sdoannotations"
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+  xmlns:sdoa="http://www.example.com/sdoannotations"
+  xmlns:sdo="commonj.sdo/xml"
+  xmlns:sdoj="commonj.sdo/java"> 
+  
+  <!--  simple element with no annotations -->
+  <xsd:element name="foo0" type="xsd:string" />
+  
+  <!--  simple element with sdo:name -->
+  <xsd:element name="foo1" type="xsd:string" sdo:name="foo2" />
+  
+  <!--  simple element with sdo:type -->
+  <xsd:element 
+    name="foo3" type="xsd:int" 
+    sdo:dataType="xsd:string"
+    sdo:aliasName="foo4"
+    sdo:readOnly="true" />
+  
+  <xsd:element
+    name="foo5" type="sdoa:foo6" />
+  
+  <!--  complex type with no annotations -->
+  <xsd:complexType name="foo6">
+    <xsd:sequence>
+      <xsd:element name="bar1" type="xsd:int" />
+    </xsd:sequence>
+    <xsd:attribute name="bar2" type="xsd:int" />
+  </xsd:complexType>
+
+  <xsd:element 
+    name="foo7" type="sdoa:foo8" />
+
+  <xsd:complexType name="foo8" sdo:name="foo9" sdoj:instanceClass="org.apache.tuscany.sdo.test.XSDHelperTestCase">
+    <xsd:sequence>
+      <xsd:element name="bar3" type="xsd:int" sdo:string="true" />
+    </xsd:sequence>
+  </xsd:complexType>
+
+</xsd:schema>

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/sdoannotations.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/sdoannotations.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/sdoannotations.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/tuscany/java/sdo/impl/src/test/resources/sdotypes.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/resources/sdotypes.xsd?rev=437778&r1=437777&r2=437778&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/resources/sdotypes.xsd (original)
+++ incubator/tuscany/java/sdo/impl/src/test/resources/sdotypes.xsd Mon Aug 28 11:53:49 2006
@@ -1,68 +1,68 @@
-<?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 
-  targetNamespace="http://www.example.com/sdotypes"
-  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
-  xmlns:sdot="http://www.example.com/sdotypes"> 
-  
-  <xsd:element name="foo0" type="xsd:anySimpleType"/>
-  <xsd:element name="foo2" type="xsd:anyURI"/>
-  <xsd:element name="foo3" type="xsd:base64Binary"/>
-  <xsd:element name="foo4" type="xsd:boolean"/>
-  <xsd:element name="foo5" type="xsd:byte"/>
-  <xsd:element name="foo6" type="xsd:date"/>
-  <xsd:element name="foo7" type="xsd:dateTime"/>
-  <xsd:element name="foo8" type="xsd:decimal"/>
-  <xsd:element name="foo9" type="xsd:double"/>
-  <xsd:element name="foo10" type="xsd:duration"/>
-  <xsd:element name="foo11" type="xsd:ENTITIES"/>
-  <xsd:element name="foo12" type="xsd:ENTITY"/>
-  <xsd:element name="foo13" type="xsd:float"/>
-  <xsd:element name="foo14" type="xsd:gDay"/>
-  <xsd:element name="foo15" type="xsd:gMonth"/>
-  <xsd:element name="foo16" type="xsd:gMonthDay"/>
-  <xsd:element name="foo17" type="xsd:gYear"/>
-  <xsd:element name="foo18" type="xsd:gYearMonth"/>
-  <xsd:element name="foo19" type="xsd:hexBinary"/>
-  <xsd:element name="foo20" type="xsd:ID"/>
-  <xsd:element name="foo21" type="xsd:IDREF"/>
-  <xsd:element name="foo22" type="xsd:IDREFS"/>
-  <xsd:element name="foo23" type="xsd:int"/>
-  <xsd:element name="foo24" type="xsd:integer"/>
-  <xsd:element name="foo25" type="xsd:language"/>
-  <xsd:element name="foo26" type="xsd:long"/>
-  <xsd:element name="foo27" type="xsd:Name"/>
-  <xsd:element name="foo28" type="xsd:NCName"/>
-  <xsd:element name="foo29" type="xsd:negativeInteger"/>
-  <xsd:element name="foo30" type="xsd:NMTOKEN"/>
-  <xsd:element name="foo31" type="xsd:NMTOKENS"/>
-  <xsd:element name="foo32" type="xsd:nonNegativeInteger"/>
-  <xsd:element name="foo33" type="xsd:nonPositiveInteger"/>
-  <xsd:element name="foo34" type="xsd:normalizedString"/>
-  <xsd:element name="foo35" type="xsd:NOTATION"/>
-  <xsd:element name="foo36" type="xsd:positiveInteger"/>
-  <xsd:element name="foo37" type="xsd:QName"/>
-  <xsd:element name="foo38" type="xsd:short"/>
-  <xsd:element name="foo39" type="xsd:string"/>
-  <xsd:element name="foo40" type="xsd:time"/>
-  <xsd:element name="foo41" type="xsd:token"/>
-  <xsd:element name="foo42" type="xsd:unsignedByte"/>
-  <xsd:element name="foo43" type="xsd:unsignedInt"/>
-  <xsd:element name="foo44" type="xsd:unsignedLong"/>
-  <xsd:element name="foo45" type="xsd:unsignedShort"/>
-
-</xsd:schema>
+<?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 
+  targetNamespace="http://www.example.com/sdotypes"
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+  xmlns:sdot="http://www.example.com/sdotypes"> 
+  
+  <xsd:element name="foo0" type="xsd:anySimpleType"/>
+  <xsd:element name="foo2" type="xsd:anyURI"/>
+  <xsd:element name="foo3" type="xsd:base64Binary"/>
+  <xsd:element name="foo4" type="xsd:boolean"/>
+  <xsd:element name="foo5" type="xsd:byte"/>
+  <xsd:element name="foo6" type="xsd:date"/>
+  <xsd:element name="foo7" type="xsd:dateTime"/>
+  <xsd:element name="foo8" type="xsd:decimal"/>
+  <xsd:element name="foo9" type="xsd:double"/>
+  <xsd:element name="foo10" type="xsd:duration"/>
+  <xsd:element name="foo11" type="xsd:ENTITIES"/>
+  <xsd:element name="foo12" type="xsd:ENTITY"/>
+  <xsd:element name="foo13" type="xsd:float"/>
+  <xsd:element name="foo14" type="xsd:gDay"/>
+  <xsd:element name="foo15" type="xsd:gMonth"/>
+  <xsd:element name="foo16" type="xsd:gMonthDay"/>
+  <xsd:element name="foo17" type="xsd:gYear"/>
+  <xsd:element name="foo18" type="xsd:gYearMonth"/>
+  <xsd:element name="foo19" type="xsd:hexBinary"/>
+  <xsd:element name="foo20" type="xsd:ID"/>
+  <xsd:element name="foo21" type="xsd:IDREF"/>
+  <xsd:element name="foo22" type="xsd:IDREFS"/>
+  <xsd:element name="foo23" type="xsd:int"/>
+  <xsd:element name="foo24" type="xsd:integer"/>
+  <xsd:element name="foo25" type="xsd:language"/>
+  <xsd:element name="foo26" type="xsd:long"/>
+  <xsd:element name="foo27" type="xsd:Name"/>
+  <xsd:element name="foo28" type="xsd:NCName"/>
+  <xsd:element name="foo29" type="xsd:negativeInteger"/>
+  <xsd:element name="foo30" type="xsd:NMTOKEN"/>
+  <xsd:element name="foo31" type="xsd:NMTOKENS"/>
+  <xsd:element name="foo32" type="xsd:nonNegativeInteger"/>
+  <xsd:element name="foo33" type="xsd:nonPositiveInteger"/>
+  <xsd:element name="foo34" type="xsd:normalizedString"/>
+  <xsd:element name="foo35" type="xsd:NOTATION"/>
+  <xsd:element name="foo36" type="xsd:positiveInteger"/>
+  <xsd:element name="foo37" type="xsd:QName"/>
+  <xsd:element name="foo38" type="xsd:short"/>
+  <xsd:element name="foo39" type="xsd:string"/>
+  <xsd:element name="foo40" type="xsd:time"/>
+  <xsd:element name="foo41" type="xsd:token"/>
+  <xsd:element name="foo42" type="xsd:unsignedByte"/>
+  <xsd:element name="foo43" type="xsd:unsignedInt"/>
+  <xsd:element name="foo44" type="xsd:unsignedLong"/>
+  <xsd:element name="foo45" type="xsd:unsignedShort"/>
+
+</xsd:schema>

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/sdotypes.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/sdotypes.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/sdotypes.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/shallowquote.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/simple.xsd
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Mon Aug 28 11:53:49 2006
@@ -1 +1 @@
-Rev,Date
+Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/simple.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/simplechangesummary.xml
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Mon Aug 28 11:53:49 2006
@@ -1 +1 @@
-Rev,Date
+Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/simplechangesummary.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/tuscany/java/sdo/impl/src/test/resources/xpath.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/resources/xpath.xml?rev=437778&r1=437777&r2=437778&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/resources/xpath.xml (original)
+++ incubator/tuscany/java/sdo/impl/src/test/resources/xpath.xml Mon Aug 28 11:53:49 2006
@@ -1,51 +1,51 @@
-<?xml version="1.0" encoding="ASCII"?>
-<xpath:drive xmlns:xpath="http://www.example.com/xpath" id="0">
-  <Folder creation_date="1999-10-20" creator="Hasan" type="FolderType">
-    <FolderName>Folder00000000000</FolderName>
-    <description>marries inflamed apprehended beseeming bustle</description>
-    <SecurityObject name="secure1">
-      <Allows>
-        <Allow>
-          <User>Brian</User>
-          <Permissions>rw</Permissions>
-        </Allow>
-        <Allow>
-          <User>Fuhwei</User>
-          <Permissions>r</Permissions>
-        </Allow>
-      </Allows>
-      <Denies>
-        <Deny>
-          <User>Hasan</User>
-        </Deny>
-        <Deny>
-          <User>Frank</User>
-        </Deny>
-      </Denies>
-    </SecurityObject>
-  </Folder>
-  <Folder creation_date="2000-03-23" creator="Kapil" type="FileType">
-    <FolderName>Folder00000000011</FolderName>
-    <description>Mumbling Jumblin Pink Panther goofs it up</description>
-    <SecurityObject name="secure2">
-      <Allows>
-        <Allow>
-          <User>Imad</User>
-          <Permissions>x</Permissions>
-        </Allow>
-        <Allow>
-          <User>Robbie</User>
-          <Permissions>rwx</Permissions>
-        </Allow>
-      </Allows>
-      <Denies>
-        <Deny>
-          <User>Yang</User>
-        </Deny>
-        <Deny>
-          <User>Art</User>
-        </Deny>
-      </Denies>
-    </SecurityObject>
-  </Folder>
+<?xml version="1.0" encoding="ASCII"?>
+<xpath:drive xmlns:xpath="http://www.example.com/xpath" id="0">
+  <Folder creation_date="1999-10-20" creator="Hasan" type="FolderType">
+    <FolderName>Folder00000000000</FolderName>
+    <description>marries inflamed apprehended beseeming bustle</description>
+    <SecurityObject name="secure1">
+      <Allows>
+        <Allow>
+          <User>Brian</User>
+          <Permissions>rw</Permissions>
+        </Allow>
+        <Allow>
+          <User>Fuhwei</User>
+          <Permissions>r</Permissions>
+        </Allow>
+      </Allows>
+      <Denies>
+        <Deny>
+          <User>Hasan</User>
+        </Deny>
+        <Deny>
+          <User>Frank</User>
+        </Deny>
+      </Denies>
+    </SecurityObject>
+  </Folder>
+  <Folder creation_date="2000-03-23" creator="Kapil" type="FileType">
+    <FolderName>Folder00000000011</FolderName>
+    <description>Mumbling Jumblin Pink Panther goofs it up</description>
+    <SecurityObject name="secure2">
+      <Allows>
+        <Allow>
+          <User>Imad</User>
+          <Permissions>x</Permissions>
+        </Allow>
+        <Allow>
+          <User>Robbie</User>
+          <Permissions>rwx</Permissions>
+        </Allow>
+      </Allows>
+      <Denies>
+        <Deny>
+          <User>Yang</User>
+        </Deny>
+        <Deny>
+          <User>Art</User>
+        </Deny>
+      </Denies>
+    </SecurityObject>
+  </Folder>
 </xpath:drive>

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/xpath.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/xpath.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/xpath.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/tuscany/java/sdo/impl/src/test/resources/xpath.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/resources/xpath.xsd?rev=437778&r1=437777&r2=437778&view=diff
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/test/resources/xpath.xsd (original)
+++ incubator/tuscany/java/sdo/impl/src/test/resources/xpath.xsd Mon Aug 28 11:53:49 2006
@@ -1,58 +1,58 @@
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns="http://www.example.com/xpath" targetNamespace="http://www.example.com/xpath"> 
-  
-   <xsd:element name="drive" type="DriveType"/>
-
-   <xsd:complexType name="DriveType">
-   	<xsd:sequence>
-		<xsd:element name="Folder" type="FolderType" minOccurs="0" maxOccurs="unbounded"/>
-	</xsd:sequence>
-	<xsd:attribute name="id" type="xsd:int"/>
-   </xsd:complexType>
-   
-   <xsd:complexType name="FolderType">
-        <xsd:sequence>
-            <xsd:element name="FolderName"   type="xsd:string"/>
-            <xsd:element name="description" type="xsd:string"/>
-            <xsd:element name="SecurityObject"   type="SecurityObjectType"/>
-        </xsd:sequence>
-        <xsd:attribute name="creation_date" type="xsd:date" minOccurs="0"/>
-        <xsd:attribute name="creator" type="xsd:string" minOccurs="0"/>
-        <xsd:attribute name="type" type="xsd:string" minOccurs="0"/>
-
-    </xsd:complexType>
-    
-    <xsd:complexType name="AllowsObjectType">
-    	<xsd:sequence>
-    		<xsd:element name="Allow" minOccurs="0" maxOccurs="unbounded">
-                <xsd:complexType>
-                    <xsd:sequence>
-                        <xsd:element name="User" type="xsd:string"/>
-                        <xsd:element name="Permissions"  type="xsd:string"/>
-                    </xsd:sequence>
-                </xsd:complexType>
-    		</xsd:element>
-        </xsd:sequence>
-     </xsd:complexType>
-     
-     <xsd:complexType name="DeniesObjectType">
-    	<xsd:sequence>
-    		<xsd:element name="Deny" minOccurs="0" maxOccurs="unbounded">
-                <xsd:complexType>
-                    <xsd:sequence>
-                        <xsd:element name="User" type="xsd:string"/>
-                    </xsd:sequence>
-                </xsd:complexType>
-    		</xsd:element>
-        </xsd:sequence>
-     </xsd:complexType>
-    
-    <xsd:complexType name="SecurityObjectType">
-        <xsd:sequence>
-            <xsd:element name="Allows" type="AllowsObjectType"/>
-        	<xsd:element name="Denies" type="DeniesObjectType"/>
-        </xsd:sequence>
-        <xsd:attribute name="name" type="xsd:string"/>
-    </xsd:complexType>
-
-</xsd:schema>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns="http://www.example.com/xpath" targetNamespace="http://www.example.com/xpath"> 
+  
+   <xsd:element name="drive" type="DriveType"/>
+
+   <xsd:complexType name="DriveType">
+   	<xsd:sequence>
+		<xsd:element name="Folder" type="FolderType" minOccurs="0" maxOccurs="unbounded"/>
+	</xsd:sequence>
+	<xsd:attribute name="id" type="xsd:int"/>
+   </xsd:complexType>
+   
+   <xsd:complexType name="FolderType">
+        <xsd:sequence>
+            <xsd:element name="FolderName"   type="xsd:string"/>
+            <xsd:element name="description" type="xsd:string"/>
+            <xsd:element name="SecurityObject"   type="SecurityObjectType"/>
+        </xsd:sequence>
+        <xsd:attribute name="creation_date" type="xsd:date" minOccurs="0"/>
+        <xsd:attribute name="creator" type="xsd:string" minOccurs="0"/>
+        <xsd:attribute name="type" type="xsd:string" minOccurs="0"/>
+
+    </xsd:complexType>
+    
+    <xsd:complexType name="AllowsObjectType">
+    	<xsd:sequence>
+    		<xsd:element name="Allow" minOccurs="0" maxOccurs="unbounded">
+                <xsd:complexType>
+                    <xsd:sequence>
+                        <xsd:element name="User" type="xsd:string"/>
+                        <xsd:element name="Permissions"  type="xsd:string"/>
+                    </xsd:sequence>
+                </xsd:complexType>
+    		</xsd:element>
+        </xsd:sequence>
+     </xsd:complexType>
+     
+     <xsd:complexType name="DeniesObjectType">
+    	<xsd:sequence>
+    		<xsd:element name="Deny" minOccurs="0" maxOccurs="unbounded">
+                <xsd:complexType>
+                    <xsd:sequence>
+                        <xsd:element name="User" type="xsd:string"/>
+                    </xsd:sequence>
+                </xsd:complexType>
+    		</xsd:element>
+        </xsd:sequence>
+     </xsd:complexType>
+    
+    <xsd:complexType name="SecurityObjectType">
+        <xsd:sequence>
+            <xsd:element name="Allows" type="AllowsObjectType"/>
+        	<xsd:element name="Denies" type="DeniesObjectType"/>
+        </xsd:sequence>
+        <xsd:attribute name="name" type="xsd:string"/>
+    </xsd:complexType>
+
+</xsd:schema>

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/xpath.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/xpath.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sdo/impl/src/test/resources/xpath.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/tuscany/java/sdo/plugin/pom.xml
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Mon Aug 28 11:53:49 2006
@@ -1 +1 @@
-Rev,Date
+Rev Date

Propchange: incubator/tuscany/java/sdo/plugin/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: incubator/tuscany/java/sdo/plugin/src/main/java/org/apache/tuscany/sdo/plugin/GeneratorMojo.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Mon Aug 28 11:53:49 2006
@@ -1 +1 @@
-Rev,Date
+Rev Date



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