Author: lresende
Date: Fri Jan 11 18:39:52 2008
New Revision: 611357

URL: http://svn.apache.org/viewvc?rev=611357&view=rev
Log:
Adding config model that was on my local das sandbox

Added:
    incubator/tuscany/sandbox/lresende/das/xquery/src/main/resources/config.xsd 
  (with props)

Added: 
incubator/tuscany/sandbox/lresende/das/xquery/src/main/resources/config.xsd
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/sandbox/lresende/das/xquery/src/main/resources/config.xsd?rev=611357&view=auto
==============================================================================
--- incubator/tuscany/sandbox/lresende/das/xquery/src/main/resources/config.xsd 
(added)
+++ incubator/tuscany/sandbox/lresende/das/xquery/src/main/resources/config.xsd 
Fri Jan 11 18:39:52 2008
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+ -->
+<xsd:schema
+   xmlns:config="http:///org.apache.tuscany.das.xquery/config.xsd";
+   xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+   targetNamespace="http:///org.apache.tuscany.das.xquery/config.xsd";
+   elementFormDefault="qualified">
+
+   <xsd:element name="Config" type="config:Config"/> 
+
+   <xsd:complexType name="Config">
+      <xsd:sequence>
+         <xsd:element  maxOccurs="1" minOccurs="0" name="ConnectionInfo"
+            type="config:ConnectionInfo"/>      
+         <xsd:element  maxOccurs="unbounded" minOccurs="0" name="Command"
+            type="config:Command"/>
+      </xsd:sequence>
+      <xsd:attribute name="uri" type="xsd:string"/>
+      <xsd:attribute name="dataObjectModel" type="xsd:string"/>
+   </xsd:complexType>
+
+   <xsd:complexType name="ConnectionInfo">
+      <xsd:sequence>
+        <xsd:element  maxOccurs="1" minOccurs="0" name="ConnectionProperties" 
type="config:ConnectionProperties"/>
+      </xsd:sequence>   
+      <xsd:attribute name="dataSource" type="xsd:string"/>
+      <xsd:attribute name="dataSourceType" type="xsd:string" 
default="Database"/><!--FileSystem-->
+      <xsd:attribute name="managedtx" type="xsd:boolean" default="true"/>
+   </xsd:complexType>
+
+   <xsd:complexType name="ConnectionProperties">
+      <xsd:attribute name="driverClass" type="xsd:string"/>
+      <xsd:attribute name="databaseURL" type="xsd:string"/>
+      <xsd:attribute name="userName" type="xsd:string" default=""/>
+      <xsd:attribute name="password" type="xsd:string" default=""/>
+      <xsd:attribute name="loginTimeout" type="xsd:int" default="0"/> 
+   </xsd:complexType>
+   
+   <xsd:complexType name="Command">
+      <xsd:attribute name="name" type="xsd:string"/>
+      <xsd:attribute name="dataFileName" type="xsd:string"/>
+      <xsd:attribute name="queryString" type="xsd:string"/>
+   </xsd:complexType>
+
+</xsd:schema>

Propchange: 
incubator/tuscany/sandbox/lresende/das/xquery/src/main/resources/config.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/sandbox/lresende/das/xquery/src/main/resources/config.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
incubator/tuscany/sandbox/lresende/das/xquery/src/main/resources/config.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to