<commit_before><?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.
-->

<!-- $Rev: 511458 $ $Date: 2007-02-25 00:29:15 -0600 (Sun, 25 Feb 2007) $ -->

<xsd:schema targetNamespace="http://geronimo.apache.org/xml/ns/attributes-1.2"
    xmlns:atts="http://geronimo.apache.org/xml/ns/attributes-1.2"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
    attributeFormDefault="unqualified">

    <xsd:annotation>
        <xsd:documentation>
            This is an XML Schema Definition for storing manageable attribute
            values. All the schema's or plans using elements of this schema must
            specify the top level element with one of the namespace specified as
            "http://geronimo.apache.org/xml/ns/j2ee/attributes-1.2". The default
            location for this document is:
            http://geronimo.apache.org/schemas-1.1/attributes-1.2.xsd.
            The definition of the XML format for storing manageable attribute
            values. Should look like this:
            <![CDATA[
            <attributes>
                <comment>Comment for the whole attribute</comment>
                <module name="mygroup/mycomponent/1.1/jar">
                    <comment>Comment specific to the module</comment>
                    <gbean name="MyNetworkService">
                        <comment>Comment for the gbean</comment>
                        <attribute name="host">0.0.0.0</attribute>
                        <attribute name="port">1234</attribute>
                    </gbean>
                </module>
            </attributes>
            ]]>
        </xsd:documentation>
    </xsd:annotation>

    <!-- Main element for the manageable attribute store configuration -->
    <xsd:element name="attributes" type="atts:attributesType">
        <xsd:annotation>
            <xsd:documentation>
                Provides the definition of named attributes. Attributes are
                mixed type and can include simple text and elements.
            </xsd:documentation>
        </xsd:annotation>
    </xsd:element>
    <xsd:element name="gbean" type="atts:gbeanType">
        <xsd:annotation>
            <xsd:documentation>
                Element used by the plugin system to list individual GBeans.
                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 GBeans in the module with
                manageable attributes and 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:element>

    <xsd:complexType name="attributesType">
        <xsd:choice>
            <xsd:element name="module" type="atts:moduleType" minOccurs="0"
                maxOccurs="unbounded" />

            <!-- The config.xml file in 1.0 use configuration instead of module -->
            <xsd:element name="configuration" type="atts:moduleType"
                minOccurs="0" maxOccurs="unbounded" />
        </xsd:choice>
    </xsd:complexType>

    <xsd:complexType name="moduleType">
        <xsd:sequence>
            <xsd:element name="comment" type="xsd:string" minOccurs="0"
                maxOccurs="1" />
            <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:attribute name="condition" type="xsd:string" use="optional" />
    </xsd:complexType>

    <xsd:complexType name="gbeanType">
        <xsd:annotation>
            <xsd:documentation>
                Element used by the plugin system to list individual GBeans.
                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 GBeans in the module with
                manageable attributes and 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:annotation>
                <xsd:documentation>
                    The name attribute specifies the name portion of the
                    GBeanName.
                </xsd:documentation>
            </xsd:annotation>
        </xsd:attribute>
        <xsd:attribute name="gbeanInfo" type="xsd:string" use="optional">
            <xsd:annotation>
                <xsd:documentation>
                    The gbeanInfo attribute provide the gbean infomation for
                    specified GBean.
                </xsd:documentation>
            </xsd:annotation>
        </xsd:attribute>
        <xsd:attribute name="load" type="xsd:boolean" use="optional"
            default="true">
            <xsd:annotation>
                <xsd:documentation>
                    The load attribute specifies if the gbean is to be loaded or
                    not.
                </xsd:documentation>
            </xsd:annotation>
        </xsd:attribute>
    </xsd:complexType>

    <xsd:complexType name="attributeType">
        <xsd:annotation>
            <xsd:documentation>
                Provides the definition of a single named attribute. Attributes
                are mixed type and can include simple text and elements.
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent mixed="true">
            <xsd:restriction base="xsd:anyType">
                <xsd:sequence>
                    <xsd:any minOccurs="0" maxOccurs="unbounded"
                        processContents="lax" />
                </xsd:sequence>
                <xsd:attribute name="name" use="required">
                    <xsd:annotation>
                        <xsd:documentation>
                            The name attribute provides the name of single
                            attribute.
                        </xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
                <xsd:attribute name="null" use="optional">
                    <xsd:annotation>
                        <xsd:documentation>
                            The null attribute defines if this atribute is null
                            or not.
                        </xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
                <xsd:attribute name="value" use="optional">
                    <xsd:annotation>
                        <xsd:documentation>
                            The value attribute is the value of specified
                            attribute.
                        </xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
            </xsd:restriction>
        </xsd:complexContent>
    </xsd:complexType>

    <xsd:complexType name="referenceType">
        <xsd:sequence>
            <xsd:element name="pattern" minOccurs="0" maxOccurs="unbounded">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="comment" type="xsd:string"
                            minOccurs="0" maxOccurs="1" />
                        <xsd:element name="groupId" type="xsd:string"
                            minOccurs="0">
                            <xsd:annotation>
                                <xsd:documentation>
                                    The name for group containing module to
                                    match. By default is set to wild card '*'.
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="artifactId" type="xsd:string"
                            minOccurs="0">
                            <xsd:annotation>
                                <xsd:documentation>
                                    The name for module in a specified group to
                                    be matched. All the artifactId's should be
                                    unique within a group. If no articfactId is
                                    provided it will be defaulted to file name
                                    of the module file.
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="version" type="xsd:string"<commit_msg>GERONIMO-3266 - Second revision of schema     - Corrected the attributes level comment     - Corrected the gbean level comment<commit_after><?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.
-->

<!-- $Rev: 511458 $ $Date: 2007-02-25 00:29:15 -0600 (Sun, 25 Feb 2007) $ -->

<xsd:schema targetNamespace="http://geronimo.apache.org/xml/ns/attributes-1.2"
    xmlns:atts="http://geronimo.apache.org/xml/ns/attributes-1.2"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
    attributeFormDefault="unqualified">

    <xsd:annotation>
        <xsd:documentation>
            This is an XML Schema Definition for storing manageable attribute
            values. All the schema's or plans using elements of this schema must
            specify the top level element with one of the namespace specified as
            "http://geronimo.apache.org/xml/ns/j2ee/attributes-1.2". The default
            location for this document is:
            http://geronimo.apache.org/schemas-1.1/attributes-1.2.xsd.
            The definition of the XML format for storing manageable attribute
            values. Should look like this:
            <![CDATA[
            <attributes>
                <comment>Comment for the whole attribute</comment>
                <module name="mygroup/mycomponent/1.1/jar">
                    <comment>Comment specific to the module</comment>
                    <gbean name="MyNetworkService">
                        <comment>Comment for the gbean</comment>
                        <attribute name="host">0.0.0.0</attribute>
                        <attribute name="port">1234</attribute>
                    </gbean>
                </module>
            </attributes>
            ]]>
        </xsd:documentation>
    </xsd:annotation>

    <!-- Main element for the manageable attribute store configuration -->
    <xsd:element name="attributes" type="atts:attributesType">
        <xsd:annotation>
            <xsd:documentation>
                Provides the definition of named attributes. Attributes are
                mixed type and can include simple text and elements.
            </xsd:documentation>
        </xsd:annotation>
    </xsd:element>
    <xsd:element name="gbean" type="atts:gbeanType">
        <xsd:annotation>
            <xsd:documentation>
                Element used by the plugin system to list individual GBeans.
                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 GBeans in the module with
                manageable attributes and 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:element>

    <xsd:complexType name="attributesType">
        <xsd:sequence>
            <xsd:element name="comment" type="xsd:string" minOccurs="0"
                maxOccurs="1" />
            <xsd:choice>
                <xsd:element name="module" type="atts:moduleType" minOccurs="0"
                    maxOccurs="unbounded" />

                <!-- The config.xml file in 1.0 use configuration instead of module -->
                <xsd:element name="configuration" type="atts:moduleType"
                   minOccurs="0" maxOccurs="unbounded" />
            </xsd:choice>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="moduleType">
        <xsd:sequence>
            <xsd:element name="comment" type="xsd:string" minOccurs="0"
                maxOccurs="1" />
            <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:attribute name="condition" type="xsd:string" use="optional" />
    </xsd:complexType>

    <xsd:complexType name="gbeanType">
        <xsd:annotation>
            <xsd:documentation>
                Element used by the plugin system to list individual GBeans.
                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 GBeans in the module with
                manageable attributes and 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:sequence>
            <xsd:element name="comment" type="xsd:string" minOccurs="0"
                maxOccurs="1" />
            <xsd:choice minOccurs="0" maxOccurs="unbounded">
                <xsd:element name="attribute" type="atts:attributeType" />
                <xsd:element name="reference" type="atts:referenceType" />
            </xsd:choice>
        </xsd:sequence>
        <xsd:attribute name="name" type="xsd:string" use="required">
            <xsd:annotation>
                <xsd:documentation>
                    The name attribute specifies the name portion of the
                    GBeanName.
                </xsd:documentation>
            </xsd:annotation>
        </xsd:attribute>
        <xsd:attribute name="gbeanInfo" type="xsd:string" use="optional">
            <xsd:annotation>
                <xsd:documentation>
                    The gbeanInfo attribute provide the gbean infomation for
                    specified GBean.
                </xsd:documentation>
            </xsd:annotation>
        </xsd:attribute>
        <xsd:attribute name="load" type="xsd:boolean" use="optional"
            default="true">
            <xsd:annotation>
                <xsd:documentation>
                    The load attribute specifies if the gbean is to be loaded or
                    not.
                </xsd:documentation>
            </xsd:annotation>
        </xsd:attribute>
    </xsd:complexType>

    <xsd:complexType name="attributeType">
        <xsd:annotation>
            <xsd:documentation>
                Provides the definition of a single named attribute. Attributes
                are mixed type and can include simple text and elements.
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent mixed="true">
            <xsd:restriction base="xsd:anyType">
                <xsd:sequence>
                    <xsd:any minOccurs="0" maxOccurs="unbounded"
                        processContents="lax" />
                </xsd:sequence>
                <xsd:attribute name="name" use="required">
                    <xsd:annotation>
                        <xsd:documentation>
                            The name attribute provides the name of single
                            attribute.
                        </xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
                <xsd:attribute name="null" use="optional">
                    <xsd:annotation>
                        <xsd:documentation>
                            The null attribute defines if this atribute is null
                            or not.
                        </xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
                <xsd:attribute name="value" use="optional">
                    <xsd:annotation>
                        <xsd:documentation>
                            The value attribute is the value of specified
                            attribute.
                        </xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
            </xsd:restriction>
        </xsd:complexContent>
    </xsd:complexType>

    <xsd:complexType name="referenceType">
        <xsd:sequence>
            <xsd:element name="pattern" minOccurs="0" maxOccurs="unbounded">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="groupId" type="xsd:string"
                            minOccurs="0">
                            <xsd:annotation>
                                <xsd:documentation>
                                    The name for group containing module to
                                    match. By default is set to wild card '*'.
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="artifactId" type="xsd:string"
                            minOccurs="0">
                            <xsd:annotation>
                                <xsd:documentation>
                                    The name for module in a specified group to
                                    be matched. All the artifactId's should be
                                    unique within a group. If no articfactId is
                                    provided it will be defaulted to file name
                                    of the module file.
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="version" type="xsd:string"
{'fraction_non_alphanumeric': 0.0912143809570843, 'fraction_numerical': 0.007901624771593658, 'mean_word_length': 1.5915024315331456, 'pattern_counts': {'":': 0, '<': 272, '<?xml version=': 2, '>': 270, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 14}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7323685', 'n_tokens_mistral': 5235, 'n_tokens_neox': 4625, 'n_words': 1436}