geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgenen...@apache.org
Subject svn commit: r382099 - /geronimo/trunk/modules/system/src/schema/local-attribute.xsd
Date Wed, 01 Mar 2006 17:44:02 GMT
Author: jgenender
Date: Wed Mar  1 09:44:02 2006
New Revision: 382099

URL: http://svn.apache.org/viewcvs?rev=382099&view=rev
Log:
Update schema to reflect the value and null attributes.

Modified:
    geronimo/trunk/modules/system/src/schema/local-attribute.xsd

Modified: geronimo/trunk/modules/system/src/schema/local-attribute.xsd
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/system/src/schema/local-attribute.xsd?rev=382099&r1=382098&r2=382099&view=diff
==============================================================================
--- geronimo/trunk/modules/system/src/schema/local-attribute.xsd (original)
+++ geronimo/trunk/modules/system/src/schema/local-attribute.xsd Wed Mar  1 09:44:02 2006
@@ -1,32 +1,31 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-
-    Copyright 2004-2005 The Apache Software Foundation
-
-    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.
+	
+	Copyright 2004-2005 The Apache Software Foundation
+	
+	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://geronimo.apache.org/xml/ns/attributes"
-    xmlns:atts="http://geronimo.apache.org/xml/ns/attributes"
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    elementFormDefault="qualified"
-    attributeFormDefault="unqualified"
-    version="1.0">
-
-    <xsd:annotation>
-        <xsd:documentation>
-            <![CDATA[
+	targetNamespace="http://geronimo.apache.org/xml/ns/attributes"
+	xmlns:atts="http://geronimo.apache.org/xml/ns/attributes"
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified" attributeFormDefault="unqualified"
+	version="1.0">
+
+	<xsd:annotation>
+		<xsd:documentation>
+			<![CDATA[
             The definition of the XML format for storing manageable attribute values.
             Should look like this:
 
@@ -39,33 +38,36 @@
               </configuration>
             </attributes>
             ]]>
-        </xsd:documentation>
-    </xsd:annotation>
+		</xsd:documentation>
+	</xsd:annotation>
 
-    <!--
- temporary (I hope) individual elements while xmlbeans group handling is straightened out
- -->
-
-    <xsd:element name="attributes" type="atts:attributesType"/>
-
-    <xsd:complexType name="attributesType">
-        <xsd:sequence>
-            <xsd:element name="configuration" type="atts:configurationType" minOccurs="0"
maxOccurs="unbounded" />
-        </xsd:sequence>
-    </xsd:complexType>
-
-    <xsd:complexType name="configurationType">
-        <xsd:sequence>
-            <xsd:element name="gbean" type="atts:gbeanType" minOccurs="0" maxOccurs="unbounded"
/>
-        </xsd:sequence>
-        <xsd:attribute name="name" type="xsd:string" use="required"/>
-        <xsd:attribute name="load" type="xsd:boolean" use="optional" default="true"/>
-    </xsd:complexType>
-
-    <xsd:complexType name="gbeanType">
-        <xsd:annotation>
-            <xsd:documentation>
-                <![CDATA[
+	<!--
+		temporary (I hope) individual elements while xmlbeans group handling is straightened out
+	-->
+
+	<xsd:element name="attributes" type="atts:attributesType" />
+
+	<xsd:complexType name="attributesType">
+		<xsd:sequence>
+			<xsd:element name="configuration"
+				type="atts:configurationType" minOccurs="0" maxOccurs="unbounded" />
+		</xsd:sequence>
+	</xsd:complexType>
+
+	<xsd:complexType name="configurationType">
+		<xsd:sequence>
+			<xsd:element name="gbean" type="atts:gbeanType"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xsd:sequence>
+		<xsd:attribute name="name" type="xsd:string" use="required" />
+		<xsd:attribute name="load" type="xsd:boolean" use="optional"
+			default="true" />
+	</xsd:complexType>
+
+	<xsd:complexType name="gbeanType">
+		<xsd:annotation>
+			<xsd:documentation>
+				<![CDATA[
                   Note that the name attribute for a gbean element may hold
                   either the full GBeanName, or only the value for the
                   "name=" portion of the GBeanName.  If there are multiple
@@ -73,37 +75,41 @@
                   the same "name=" portion of the GBeanName, then all must be
                   listed and all must be listed with a full GBeanName.
                 ]]>
-            </xsd:documentation>
-        </xsd:annotation>
-        <xsd:choice minOccurs="0" maxOccurs="unbounded">
-            <xsd:element name="attribute" type="atts:attributeType"/>
-            <xsd:element name="reference" type="atts:referenceType"/>
-        </xsd:choice>
-        <xsd:attribute name="name" type="xsd:string" use="required"/>
-        <xsd:attribute name="gbeanInfo" type="xsd:string" use="optional"/>
-        <xsd:attribute name="load" type="xsd:boolean" use="optional" default="true"/>
-    </xsd:complexType>
-
-    <xsd:complexType name="attributeType">
-        <xsd:simpleContent>
-            <xsd:extension base="xsd:string">
-                <xsd:attribute name="name" use="required"/>
-                <xsd:attribute name="empty" use="optional" type="xsd:boolean" default="false"/>
-            </xsd:extension>
-        </xsd:simpleContent>
-    </xsd:complexType>
-
-    <xsd:complexType name="referenceType">
-        <xsd:sequence>
-            <xsd:element name="pattern" minOccurs="1" maxOccurs="unbounded">
-              <xsd:complexType>
-                  <xsd:sequence>
-                      <xsd:element name="gbean-name" type="xsd:string"/>
-                  </xsd:sequence>
-              </xsd:complexType>
-            </xsd:element>
-        </xsd:sequence>
-        <xsd:attribute name="name" type="xsd:string"/>
-        <xsd:attribute name="empty" use="optional" type="xsd:boolean" default="false"/>
-    </xsd:complexType>
-  </xsd:schema>
\ No newline at end of file
+			</xsd:documentation>
+		</xsd:annotation>
+		<xsd:choice minOccurs="0" maxOccurs="unbounded">
+			<xsd:element name="attribute" type="atts:attributeType" />
+			<xsd:element name="reference" type="atts:referenceType" />
+		</xsd:choice>
+		<xsd:attribute name="name" type="xsd:string" use="required" />
+		<xsd:attribute name="gbeanInfo" type="xsd:string"
+			use="optional" />
+		<xsd:attribute name="load" type="xsd:boolean" use="optional"
+			default="true" />
+	</xsd:complexType>
+
+	<xsd:complexType name="attributeType">
+		<xsd:simpleContent>
+			<xsd:extension base="xsd:string">
+				<xsd:attribute name="name" use="required" />
+			    <xsd:attribute name="value" use="optional" />
+			    <xsd:attribute name="null" use="optional" type="xsd:boolean" default="false" />
+			</xsd:extension>
+		</xsd:simpleContent>
+	</xsd:complexType>
+
+	<xsd:complexType name="referenceType">
+		<xsd:sequence>
+			<xsd:element name="pattern" minOccurs="0"
+				maxOccurs="unbounded">
+				<xsd:complexType>
+					<xsd:sequence>
+						<xsd:element name="gbean-name"
+							type="xsd:string" />
+					</xsd:sequence>
+				</xsd:complexType>
+			</xsd:element>
+		</xsd:sequence>
+		<xsd:attribute name="name" type="xsd:string" />
+	</xsd:complexType>
+</xsd:schema>
\ No newline at end of file



Mime
View raw message