<commit_before><?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="notice">
    <xs:complexType>
      <xs:all>
        <xs:element name="api-key" type="xs:string"/>
        <xs:element name="notifier" type="notifier"/>
        <xs:element name="error" type="error"/>
        <xs:element name="request" type="request" minOccurs="0"/>
        <xs:element name="server-environment" type="serverEnvironment"/>
      </xs:all>
      <xs:attribute name="version" type="xs:string" use="required"/>
    </xs:complexType>
  </xs:element>

  <xs:complexType name="notifier">
    <xs:all>
      <xs:element name="name" type="xs:string"/>
      <xs:element name="version" type="xs:string"/>
      <xs:element name="url" type="xs:string"/>
    </xs:all>
  </xs:complexType>

  <xs:complexType name="error">
    <xs:all>
      <xs:element name="class" type="xs:string"/>
      <xs:element name="message" type="xs:string" minOccurs="0"/>
      <xs:element name="backtrace" type="backtrace"/>
    </xs:all>
  </xs:complexType>

  <xs:complexType name="backtrace">
    <xs:sequence>
      <xs:element name="line" maxOccurs="unbounded">
        <xs:complexType>
          <xs:attribute name="file" type="xs:string" use="required"/>
          <xs:attribute name="number" type="xs:string" use="required"/>
          <xs:attribute name="method" type="xs:string" use="optional"/>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="request">
    <xs:all>
      <xs:element name="url" type="xs:string"/>
      <xs:element name="component" type="xs:string"/>
      <xs:element name="action" type="xs:string" minOccurs="0"/>
      <xs:element name="params" type="varList" minOccurs="0"/>
      <xs:element name="session" type="varList" minOccurs="0"/>
      <xs:element name="cgi-data" type="varList" minOccurs="0"/>
    </xs:all>
  </xs:complexType>

  <xs:complexType name="varList">
    <xs:sequence>
      <xs:element name="var" type="var" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="var" mixed="true">
    <xs:sequence>
      <xs:element name="var" type="var" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="key" type="xs:string" use="required"/>
  </xs:complextype>

  <xs:complexType name="serverEnvironment">
    <xs:sequence>
      <xs:element name="project-root" type="xs:string" minOccurs="0"/>
      <xs:element name="environment-name" type="xs:string"/>
    </xs:sequence>
  </xs:complextype>

</xs:schema><commit_msg>Fixed a case-match problem in the XSD reported on Tender<commit_after><?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="notice">
    <xs:complexType>
      <xs:all>
        <xs:element name="api-key" type="xs:string"/>
        <xs:element name="notifier" type="notifier"/>
        <xs:element name="error" type="error"/>
        <xs:element name="request" type="request" minOccurs="0"/>
        <xs:element name="server-environment" type="serverEnvironment"/>
      </xs:all>
      <xs:attribute name="version" type="xs:string" use="required"/>
    </xs:complexType>
  </xs:element>

  <xs:complexType name="notifier">
    <xs:all>
      <xs:element name="name" type="xs:string"/>
      <xs:element name="version" type="xs:string"/>
      <xs:element name="url" type="xs:string"/>
    </xs:all>
  </xs:complexType>

  <xs:complexType name="error">
    <xs:all>
      <xs:element name="class" type="xs:string"/>
      <xs:element name="message" type="xs:string" minOccurs="0"/>
      <xs:element name="backtrace" type="backtrace"/>
    </xs:all>
  </xs:complexType>

  <xs:complexType name="backtrace">
    <xs:sequence>
      <xs:element name="line" maxOccurs="unbounded">
        <xs:complexType>
          <xs:attribute name="file" type="xs:string" use="required"/>
          <xs:attribute name="number" type="xs:string" use="required"/>
          <xs:attribute name="method" type="xs:string" use="optional"/>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="request">
    <xs:all>
      <xs:element name="url" type="xs:string"/>
      <xs:element name="component" type="xs:string"/>
      <xs:element name="action" type="xs:string" minOccurs="0"/>
      <xs:element name="params" type="varList" minOccurs="0"/>
      <xs:element name="session" type="varList" minOccurs="0"/>
      <xs:element name="cgi-data" type="varList" minOccurs="0"/>
    </xs:all>
  </xs:complexType>

  <xs:complexType name="varList">
    <xs:sequence>
      <xs:element name="var" type="var" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="var" mixed="true">
    <xs:sequence>
      <xs:element name="var" type="var" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="key" type="xs:string" use="required"/>
  </xs:complexType>

  <xs:complexType name="serverEnvironment">
    <xs:sequence>
      <xs:element name="project-root" type="xs:string" minOccurs="0"/>
      <xs:element name="environment-name" type="xs:string"/>
    </xs:sequence>
  </xs:complexType>

</xs:schema>
{'fraction_non_alphanumeric': 0.19977015897337674, 'fraction_numerical': 0.005746025665581306, 'mean_word_length': 3.9217719132893496, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 2, '>': 137, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, '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': '6499040', 'n_tokens_mistral': 1785, 'n_tokens_neox': 1748, 'n_words': 302}