<commit_before><?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:dgws="http://www.deegree.org/webservices" xmlns:xs="http://www.w3.org/2001/XMLSchema"
  targetNamespace="http://www.deegree.org/webservices" elementFormDefault="qualified" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
  jaxb:version="2.1">

  <xs:annotation>
    <xs:appinfo>
      <jaxb:schemaBindings>
        <jaxb:package name="org.deegree.services.jaxb.controller" />
      </jaxb:schemaBindings>
    </xs:appinfo>
  </xs:annotation>

  <xs:complexType name="deegreeServiceControllerType">
    <xs:annotation>
      <xs:documentation>
        The root node of the OGCFrontController configuration.
        </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DCP" type="dgws:DCPType" minOccurs="0" />
      <xs:element name="ConfiguredServices" type="dgws:ConfiguredServicesType" minOccurs="0" />
      <xs:element name="RequestLogging" minOccurs="0">
        <xs:complexType>
          <xs:annotation>
            <xs:documentation>
              If included in the configuration, requests will be logged.
            </xs:documentation>
          </xs:annotation>
          <xs:sequence>
            <!-- Default is the java temp directory -->
            <xs:element name="OutputDirectory" type="xs:string" minOccurs="0" />
            <!-- Default is true -->
            <xs:element name="OnlySuccessful" type="xs:boolean" minOccurs="0" />
            <!--
              Default is the internal logger, logging only to the output directory and the $HOME/.deegree/requests.txt
              for kvp.
            -->
            <xs:element name="RequestLogger" minOccurs="0">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="Class" type="xs:string" />
                  <xs:element name="Configuration" type="xs:anyType" minOccurs="0" />
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

      <xs:element name="ValidateResponses" type="xs:boolean" minOccurs="0" />
    </xs:sequence>
    <xs:attribute name="configVersion" fixed="3.0.0" use="required" />
  </xs:complexType>


  <xs:complexType name="DCPType">
    <xs:sequence>
      <xs:element name="HTTPGet" type="xs:anyURI" minOccurs="0" />
      <xs:element name="HTTPPost" type="xs:anyURI" minOccurs="0" />
      <xs:element name="SOAP" type="xs:anyURI" minOccurs="0" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ConfiguredServicesType">
    <xs:annotation>
      <xs:documentation>
        The ConfiguredServices Type defines the services which will have a FrontController installed for
        them. If this type is present in the
        service-meta-data element, the loading of the default Services using the
        conf/directory structure will be skipped.
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Service" type="dgws:ServiceType" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ServiceType">
    <xs:annotation>
      <xs:appinfo />
      <xs:documentation>
        Defines the service for which a sub-controller will be installed by the frontcontroller. The
        Configuration location may point to an absolute
        file or a relative file, starting from the
        service_configuration.xml
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ServiceName" type="dgws:AllowedServices" />
      <xs:element name="ConfigurationLocation" type="xs:anyURI" />
      <xs:element name="ControllerClass" type="xs:string" minOccurs="0" />
    </xs:sequence>
  </xs:complexType>

  <xs:simpleType name="AllowedServices">
    <xs:annotation>
      <xs:documentation>A simple type defining the possible services having a sub controller</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="CSW" />
      <xs:enumeration value="SOS" /><commit_msg>Bumped configuration versions to 3.0.0<commit_after><?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:controller="http://www.deegree.org/services/controller" xmlns:xs="http://www.w3.org/2001/XMLSchema"
  targetNamespace="http://www.deegree.org/services/controller" elementFormDefault="qualified" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
  jaxb:version="2.1">

  <xs:annotation>
    <xs:appinfo>
      <jaxb:schemaBindings>
        <jaxb:package name="org.deegree.services.jaxb.controller" />
      </jaxb:schemaBindings>
    </xs:appinfo>
  </xs:annotation>

  <xs:element name="deegreeServiceController" type="controller:deegreeServiceControllerType"/>
  <xs:complexType name="deegreeServiceControllerType">
    <xs:annotation>
      <xs:documentation>
        The root node of the OGCFrontController configuration.
        </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="DCP" type="controller:DCPType" minOccurs="0" />
      <xs:element name="ConfiguredServices" type="controller:ConfiguredServicesType" minOccurs="0" />
      <xs:element name="RequestLogging" minOccurs="0">
        <xs:complexType>
          <xs:annotation>
            <xs:documentation>
              If included in the configuration, requests will be logged.
            </xs:documentation>
          </xs:annotation>
          <xs:sequence>
            <!-- Default is the java temp directory -->
            <xs:element name="OutputDirectory" type="xs:string" minOccurs="0" />
            <!-- Default is true -->
            <xs:element name="OnlySuccessful" type="xs:boolean" minOccurs="0" />
            <!--
              Default is the internal logger, logging only to the output directory and the $HOME/.deegree/requests.txt
              for kvp.
            -->
            <xs:element name="RequestLogger" minOccurs="0">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="Class" type="xs:string" />
                  <xs:element name="Configuration" type="xs:anyType" minOccurs="0" />
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>

      <xs:element name="ValidateResponses" type="xs:boolean" minOccurs="0" />
    </xs:sequence>
    <xs:attribute name="configVersion" fixed="3.0.0" use="required" />
  </xs:complexType>


  <xs:complexType name="DCPType">
    <xs:sequence>
      <xs:element name="HTTPGet" type="xs:anyURI" minOccurs="0" />
      <xs:element name="HTTPPost" type="xs:anyURI" minOccurs="0" />
      <xs:element name="SOAP" type="xs:anyURI" minOccurs="0" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ConfiguredServicesType">
    <xs:annotation>
      <xs:documentation>
        The ConfiguredServices Type defines the services which will have a FrontController installed for
        them. If this type is present in the
        service-meta-data element, the loading of the default Services using the
        conf/directory structure will be skipped.
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Service" type="controller:ServiceType" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ServiceType">
    <xs:annotation>
      <xs:appinfo />
      <xs:documentation>
        Defines the service for which a sub-controller will be installed by the frontcontroller. The
        Configuration location may point to an absolute
        file or a relative file, starting from the
        service_configuration.xml
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ServiceName" type="controller:AllowedServices" />
      <xs:element name="ConfigurationLocation" type="xs:anyURI" />
      <xs:element name="ControllerClass" type="xs:string" minOccurs="0" />
    </xs:sequence>
  </xs:complexType>

  <xs:simpleType name="AllowedServices">
    <xs:annotation>
      <xs:documentation>A simple type defining the possible services having a sub controller</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="CSW" />
      <xs:enumeration value="SOS" />
{'fraction_non_alphanumeric': 0.13792688792688793, 'fraction_numerical': 0.006373256373256374, 'mean_word_length': 2.981330780277645, 'pattern_counts': {'":': 0, '<': 164, '<?xml version=': 2, '>': 164, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4048642', 'n_tokens_mistral': 2496, 'n_tokens_neox': 2432, 'n_words': 519}