<commit_before><?xml version="1.0" encoding="UTF-8"?>
<zorba xmlns="http://www.w3.org/2005/02/query-test-XQTSResult">  
  <implementation-defined-items>
   
   <implementation-defined-item 
    name="expressionUnicode" 
    value="Zorba's Unicode version is whatever ICU's Unicode is. Latest ICU supports Unicode 6.0."/>

    <implementation-defined-item 
     name="collations" 
     value="http://www.w3.org/2005/xpath-functions/collation/codepoint"/>

    <implementation-defined-item 
     name="implicitTimezone" 
     value="The implicit timezone is computed based on the current local time of the computer running Zorba."/>

    <implementation-defined-item 
     name="warningsMethod" 
     value="Warnings are handled via instances of the zorba::DiagnosticHandler class. For details, see http://www.zorba-xquery.com/site2/doc/latest/cxx/html/classzorba_1_1DiagnosticHandler.html. Currently, there are only 2 warnings: 1. ZWST0002: generated when an unknown annotation is encountered in an XQuery program. 2. ZWST0003: generated when a non-external user-defined function is declared as sequential, but its implementation is not really sequential."/>

    <implementation-defined-item 
     name="errorsMethod" 
     value="Errors are handled via instances of the zorba::DiagnosticHandler class. For details, see http://www.zorba-xquery.com/site2/doc/latest/cxx/html/classzorba_1_1DiagnosticHandler.html."/>

    <implementation-defined-item
     name="XMLVersion" 
     value="XML 1.0"/>

    <implementation-defined-item
     name="overwrittenContextComponents" 
     value="The following static context components are overwrtten/augmented: 1. Statically known namespaces: Augmented with zerr –> http://www.zorba-xquery.com/ 2. Context item static type: item() 3. Default order for empty sequences: empty_greatest 4. Static Base URI: We use the rules in 4.5, where the implementation-defined default mentioned there is http://www.zorba-xquery.com, 5. Statically known default collection type: item()*"/>

    <implementation-defined-item 
     name="axes" 
     value="All axes are supported"/>

    <implementation-defined-item 
     name="defaultOrderEmpty" 
     value="empty_greatest"/>

    <implementation-defined-item 
     name="pragmas" 
     value="No pragmas are recognized."/>

    <implementation-defined-item 
     name="optionDeclarations" 
     value="See http://www.zorba-xquery.com/site2/doc/latest/zorba/html/options_and_annotations.html."/>

    <implementation-defined-item 
     name="externalFunctionProtocols" 
     value="See http://www.zorba-xquery.com/site2/doc/latest/zorba/html/external_functions.html."/>

    <implementation-defined-item 
     name="moduleLocationHints" 
     value="See http://www.zorba-xquery.com/site2/doc/latest/zorba/html/modules_top.html."/>

    <implementation-defined-item 
     name="staticTypingExtensions" 
     value="Static typing is not supported."/>

    <implementation-defined-item 
     name="serializationInvocation" 
     value="The result of an XQuery program can be serialized via the zorba::XQuery::execute methods (see http://www.zorba-xquery.com/site2/doc/latest/cxx/html/classzorba_1_1XQuery.html). Sequence of items can be serialized via the zorba::Serializer::serialize method (see http://www.zorba-xquery.com/site2/doc/latest/cxx/html/classzorba_1_1Serializer.html)."/>

   <implementation-defined-item 
    name="serializationDefaults" 
    value="Serialization Feature is supported. Implicit values are: byte-order-mark = no, encoding = UTF-8, media-type = '', normalization-form = '', omix-xml-declaration = no, standalone = omit, version = '1.0', method = xml, doctype-system = '', doctype-public = '', cdata-section-elements = empty list, include-content-type = no, undeclare-prefixes = no, indent = no"/>

    <implementation-defined-item 
     name="externalFunctionCall" 
     value="An error is raised using the regular error handling mechanism of zorba. The kind of error depends on the kind of failure. For example, zerr:ZXQP0008  if the function implementation is not found, or err:XPTY0004 if the result of the function does not match the declared returned type."/>

    <implementation-defined-item name="limits" value=""/>

    <implementation-defined-item 
     name="traceDestination" 
     value="By default, it is std:cerr. Users can modify this via the StaticContext::setTraceStream method."/>

    <implementation-defined-item 
     name="integerOperations" 
     value="Zorba raises [err:FOAR0002]"/>

    <implementation-defined-item name="decimalDigits" value=""/>

    <implementation-defined-item name="roundOrTruncate" value=""/>

    <implementation-defined-item 
     name="Unicode" 
     value="Zorba's Unicode version is whatever ICU's Unicode is. Latest ICU supports Unicode 6.0."/>

    <implementation-defined-item 
     name="normalizationForms" 
     value="Zorba supports NFC, NFKC, NFD, NFKD normalization forms."/>

    <implementation-defined-item name="collationUnits" value=""/>

   <implementation-defined-item 
    name="secondsDigits" 
    value="Year values: Zorba supports 9 digits (32bit maxint). Fractional second: Zorba supports 6 digits."/>

    <implementation-defined-item name="stringToDecimal" value=""/>

    <implementation-defined-item name="docProcessing" value=""/>

    <implementation-defined-item name="weakenStable" value=""/>

    <implementation-defined-item 
     name="additionalTypes" 
     value="There are no implementation-defined types. User-defined types are created and become “in-scope” when “import schema” statements are processed. User-defined types (including anonymous types) are created within a static context and they are destroyed when their containing static context is destroyed."/>

    <implementation-defined-item 
     name="undefinedProperties" 
     value="err:FOTY0012"/>

    <implementation-defined-item 
     name="sequenceNormalization" 
     value="Zorba performs sequence normalization for the 'binary' serialization method. Zorba's Data Converters module performs sequence normalization for JSON and JSONML (but these are not serialization output methods, i.e. they cannot be invoked with the help of '-z method=JSON')"/>

    <implementation-defined-item 
     name="outputMethods" 
     value="Zorba's only implementation-defined output method is 'binary' and it is used unqualified (URI is null)."/>

    <implementation-defined-item 
     name="normalizationFormBehavior" 
     value="Zorba has no implementation-defined values for the normalization-form parameter."/>

    <implementation-defined-item 
     name="additionalParams" 
     value="Zorba has no implementation-defined serialization parameters."/>

    <implementation-defined-item 
     name="encodingPhase" 
     value="Zorba has no such option."/>

    <implementation-defined-item 
     name="CDATASerialization" 
     value="Zorba has no such mechanism."/>

  </implementation-defined-items>
  
  <features>
    <feature name="Minimal Conformance" supported="true"/>
    <feature name="Schema Import" supported="true"/>
    <feature name="Schema Validation" supported="true"/>
    <feature name="Static Typing" supported="false"/>
    <feature name="Static Typing Extensions" supported="false"/>
    <feature name="Full Axis" supported="true"/>
    <feature name="Module" supported="true"/>
    <feature name="Serialization" supported="true"/>
  </features>
  
  <context-properties>
    <context-property 
     name="Statically known namespaces" context-type="static" 
     value="fn –> http://www.w3.org/2005/xpath-functions, xml –> http://www.w3.org/XML/1998/namespace, xs –> http://www.w3.org/2001/XMLSchema, xsi –> http://www.w3.org/2001/XMLSchema-instance, local –> http://www.w3.org/2005/xquery-local-functions, zerr –> http://www.zorba-xquery.com/"/>

    <context-property 
     name="Default element/type namespace" context-type="static" 
     value="None."/>

    <context-property 
     name="Default function namespace" context-type="static" 
     value="http://www.w3.org/2005/xpath-functions ."/>

    <context-property 
     name="In-scope schema types" context-type="static" 
     value="Built-in types in xs."/>

    <context-property 
     name="In-scope element declarations" context-type="static" 
     value="None."/>

    <context-property 
     name="In-scope attribute declarations" context-type="static" 
     value="None."/>

    <context-property 
     name="In-scope variables" context-type="static" 
     value="None."/>

    <context-property 
     name="Context item static type" context-type="static" 
     value="item()"/>

    <context-property 
     name="Function signatures" context-type="static" 
     value="Functions in fn namespace, and constructors for built-in atomic types."/>

    <context-property 
     name="Statically known collations" context-type="static" 
     value="http://www.w3.org/2005/xpath-functions/collation/codepoint. More collations can be added to a static context via the StaticContext::addCollation() method of the C++ API."/>

    <context-property 
     name="Default collation" context-type="static" 
     value="http://www.w3.org/2005/xpath-functions/collation/codepoint"/>

    <context-property 
     name="Construction mode" context-type="static" 
     value="preserve"/>
<commit_msg>fixed some problems in XQTS.xml<commit_after><?xml version="1.0" encoding="UTF-8"?>
<zorba xmlns="http://www.w3.org/2005/02/query-test-XQTSResult">  
  <implementation-defined-items>
   
   <implementation-defined-item 
    name="expressionUnicode" 
    value="Zorba's Unicode version is whatever ICU's Unicode is. Latest ICU supports Unicode 6.0."/>

    <implementation-defined-item 
     name="collations" 
     value="Initially, the only available collation is the codepoint collection: http://www.w3.org/2005/xpath-functions/collation/codepoint. More collations can be added to a static context via the StaticContext::addCollation() method of the C++ API."/>

    <implementation-defined-item 
     name="implicitTimezone" 
     value="The implicit timezone is computed based on the current local time of the computer running Zorba."/>

    <implementation-defined-item 
     name="warningsMethod" 
     value="Warnings are handled via instances of the zorba::DiagnosticHandler class. For details, see http://www.zorba-xquery.com/site2/doc/latest/cxx/html/classzorba_1_1DiagnosticHandler.html. For the list of all warnings, see http://www.zorba-xquery.com/site2/doc/latest/zorba/xqdoc/xhtml/www.zorba-xquery.com_warnings.html"/>

    <implementation-defined-item 
     name="errorsMethod" 
     value="Errors are handled via instances of the zorba::DiagnosticHandler class. For details, see http://www.zorba-xquery.com/site2/doc/latest/cxx/html/classzorba_1_1DiagnosticHandler.html."/>

    <implementation-defined-item
     name="XMLVersion" 
     value="XML 1.0"/>

    <implementation-defined-item
     name="overwrittenContextComponents" 
     value="The following static context components are overwrtten/augmented: 1. Statically known namespaces: Augmented with zerr –> http://www.zorba-xquery.com/errors 2. Context item static type: item() 3. Default order for empty sequences: empty_greatest 4. Static Base URI: We use the rules in 4.5, where the implementation-defined default mentioned there is http://www.zorba-xquery.com, 5. Statically known default collection type: item()*"/>

    <implementation-defined-item 
     name="axes" 
     value="All axes are supported"/>

    <implementation-defined-item 
     name="defaultOrderEmpty" 
     value="empty_greatest"/>

    <implementation-defined-item 
     name="pragmas" 
     value="No pragmas are recognized."/>

    <implementation-defined-item 
     name="optionDeclarations" 
     value="See http://www.zorba-xquery.com/site2/doc/latest/zorba/html/options_and_annotations.html."/>

    <implementation-defined-item 
     name="externalFunctionProtocols" 
     value="See http://www.zorba-xquery.com/site2/doc/latest/zorba/html/external_functions.html."/>

    <implementation-defined-item 
     name="moduleLocationHints" 
     value="See http://www.zorba-xquery.com/site2/doc/latest/zorba/html/modules_top.html."/>

    <implementation-defined-item 
     name="staticTypingExtensions" 
     value="Static typing is not supported."/>

    <implementation-defined-item 
     name="serializationInvocation" 
     value="The result of an XQuery program can be serialized via the zorba::XQuery::execute methods (see http://www.zorba-xquery.com/site2/doc/latest/cxx/html/classzorba_1_1XQuery.html). Sequence of items can be serialized via the zorba::Serializer::serialize method (see http://www.zorba-xquery.com/site2/doc/latest/cxx/html/classzorba_1_1Serializer.html)."/>

   <implementation-defined-item 
    name="serializationDefaults" 
    value="Serialization Feature is supported. Implicit values are: byte-order-mark = no, encoding = UTF-8, media-type = '', normalization-form = '', omix-xml-declaration = no, standalone = omit, version = '1.0', method = xml, doctype-system = '', doctype-public = '', cdata-section-elements = empty list, include-content-type = no, undeclare-prefixes = no, indent = no"/>

    <implementation-defined-item 
     name="externalFunctionCall" 
     value="An error is raised using the regular error handling mechanism of zorba. The kind of error depends on the kind of failure. For example, zerr:ZXQP0008  if the function implementation is not found, or err:XPTY0004 if the result of the function does not match the declared returned type."/>

    <implementation-defined-item name="limits" value=""/>

    <implementation-defined-item 
     name="traceDestination" 
     value="By default, it is std:cerr. Users can modify this via the StaticContext::setTraceStream method."/>

    <implementation-defined-item 
     name="integerOperations" 
     value="Zorba raises [err:FOAR0002]"/>

    <implementation-defined-item name="decimalDigits" value=""/>

    <implementation-defined-item name="roundOrTruncate" value=""/>

    <implementation-defined-item 
     name="Unicode" 
     value="Zorba's Unicode version is whatever ICU's Unicode is. Latest ICU supports Unicode 6.0."/>

    <implementation-defined-item 
     name="normalizationForms" 
     value="Zorba supports NFC, NFKC, NFD, NFKD normalization forms."/>

    <implementation-defined-item name="collationUnits" value=""/>

   <implementation-defined-item 
    name="secondsDigits" 
    value="Year values: Zorba supports 9 digits (32bit maxint). Fractional second: Zorba supports 6 digits."/>

    <implementation-defined-item name="stringToDecimal" value=""/>

    <implementation-defined-item name="docProcessing" value=""/>

    <implementation-defined-item name="weakenStable" value=""/>

    <implementation-defined-item 
     name="additionalTypes" 
     value="There are no implementation-defined types. User-defined types are created and become “in-scope” when “import schema” statements are processed. User-defined types (including anonymous types) are created within a static context and they are destroyed when their containing static context is destroyed."/>

    <implementation-defined-item 
     name="undefinedProperties" 
     value="err:FOTY0012"/>

    <implementation-defined-item 
     name="sequenceNormalization" 
     value="Zorba performs sequence normalization for the 'binary' serialization method. Zorba's Data Converters module performs sequence normalization for JSON and JSONML (but these are not serialization output methods, i.e. they cannot be invoked with the help of '-z method=JSON')"/>

    <implementation-defined-item 
     name="outputMethods" 
     value="Zorba's only implementation-defined output method is 'binary' and it is used unqualified (URI is null)."/>

    <implementation-defined-item 
     name="normalizationFormBehavior" 
     value="Zorba has no implementation-defined values for the normalization-form parameter."/>

    <implementation-defined-item 
     name="additionalParams" 
     value="Zorba has no implementation-defined serialization parameters."/>

    <implementation-defined-item 
     name="encodingPhase" 
     value="Zorba has no such option."/>

    <implementation-defined-item 
     name="CDATASerialization" 
     value="Zorba has no such mechanism."/>

  </implementation-defined-items>
  
  <features>
    <feature name="Minimal Conformance" supported="true"/>
    <feature name="Schema Import" supported="true"/>
    <feature name="Schema Validation" supported="true"/>
    <feature name="Static Typing" supported="false"/>
    <feature name="Static Typing Extensions" supported="false"/>
    <feature name="Full Axis" supported="true"/>
    <feature name="Module" supported="true"/>
    <feature name="Serialization" supported="true"/>
  </features>
  
  <context-properties>
    <context-property 
     name="Statically known namespaces" context-type="static" 
     value="fn –> http://www.w3.org/2005/xpath-functions, xml –> http://www.w3.org/XML/1998/namespace, xs –> http://www.w3.org/2001/XMLSchema, xsi –> http://www.w3.org/2001/XMLSchema-instance, local –> http://www.w3.org/2005/xquery-local-functions, zerr –> http://www.zorba-xquery.com/"/>

    <context-property 
     name="Default element/type namespace" context-type="static" 
     value="None."/>

    <context-property 
     name="Default function namespace" context-type="static" 
     value="http://www.w3.org/2005/xpath-functions ."/>

    <context-property 
     name="In-scope schema types" context-type="static" 
     value="Built-in types in xs."/>

    <context-property 
     name="In-scope element declarations" context-type="static" 
     value="None."/>

    <context-property 
     name="In-scope attribute declarations" context-type="static" 
     value="None."/>

    <context-property 
     name="In-scope variables" context-type="static" 
     value="None."/>

    <context-property 
     name="Context item static type" context-type="static" 
     value="item()"/>

    <context-property 
     name="Function signatures" context-type="static" 
     value="Functions in fn namespace, and constructors for built-in atomic types."/>

    <context-property 
     name="Statically known collations" context-type="static" 
     value="Initially, the only available collation is the codepoint collection: http://www.w3.org/2005/xpath-functions/collation/codepoint. More collations can be added to a static context via the StaticContext::addCollation() method of the C++ API."/>

    <context-property 
     name="Default collation" context-type="static" 
     value="http://www.w3.org/2005/xpath-functions/collation/codepoint"/>

    <context-property 
     name="Construction mode" context-type="static" 
     value="preserve"/>

{'fraction_non_alphanumeric': 0.12047936085219707, 'fraction_numerical': 0.01193075898801598, 'mean_word_length': 3.835436518156065, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 2, '>': 145, 'https://': 0, 'lorem ipsum': 0, 'www.': 42, 'xml': 11}, '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': '100973', 'n_tokens_mistral': 5724, 'n_tokens_neox': 5167, 'n_words': 1377}