<commit_before><!--
  Copyright (C) 2010 Orbeon, Inc.

  This program is free software; you can redistribute it and/or modify it under the terms of the
  GNU Lesser General Public License as published by the Free Software Foundation; either version
  2.1 of the License, or (at your option) any later version.

  This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  See the GNU Lesser General Public License for more details.

  The full text of the license is available at http://www.gnu.org/copyleft/lesser.html
  -->
<properties xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns:oxf="http://www.orbeon.com/oxf/processors"
            xmlns:xi="http://www.w3.org/2001/XInclude">

    <!-- Global properties -->
    <property as="xs:anyURI"  name="oxf.log4j-config"                                value="oxf:/config/log4j.xml"/>
    <property as="xs:integer" name="oxf.cache.size"                                  value="1000"/>
    <property as="xs:integer" name="oxf.cache.xpath.size"                            value="2000"/>
    <property as="xs:boolean" name="oxf.sax.inspection"                              value="false"/>
    <property as="xs:boolean" name="oxf.resources.versioned"                         value="false"/>
    <property as="xs:string"  name="oxf.resources.version-number"                    value="3.1415"/>

    <property as="xs:string"  name="oxf.url-rewriting.platform-paths"                value="^/(ops/|config/|xbl/orbeon/|forms/orbeon/|apps/fr/|xforms-server).*$"/>
    <property as="xs:string"  name="oxf.url-rewriting.app-paths"                     value="^/(apps|xbl|forms)/.*$"/>
    <property as="xs:string"  name="oxf.url-rewriting.app-prefix"                    value="/apps"/>

    <property as="xs:anyURI"  name="oxf.url-rewriting.service.base-uri"              value=""/>
    <!-- Support "servlet" or "wsrp" (or "portlet2" for backward compatibility") -->
    <property as="xs:string"  name="oxf.url-rewriting.strategy.servlet"              value="servlet"/>
    <!-- TODO: support for base context for servlet rewriting strategy -->
    <!--<property as="xs:string"  name="oxf.url-rewriting.portlet.context"               value=""/>-->
    <property as="xs:string"  name="oxf.url-rewriting.wsrp.context"                  value=""/>
    <property as="xs:boolean" name="oxf.url-rewriting.wsrp.encode-resources"         value="false"/>

    <property as="xs:string"  name="oxf.http.state"                                  value="session"/>
    <property as="xs:string"  name="oxf.http.forward-headers"                        value=""/>
    <property as="xs:string"  name="oxf.http.forward-cookies"                        value="JSESSIONID JSESSIONIDSSO"/> <!-- forward JSESSIONIDSSO for JBoss -->
    <property as="xs:boolean" name="oxf.http.stale-checking-enabled"                 value="true"/>
    <property as="xs:integer" name="oxf.http.so-timeout"                             value="0"/>
    <property as="xs:string"  name="oxf.http.ssl.hostname-verifier"                  value="strict"/>
    <property as="xs:boolean" name="oxf.http.proxy.use-ssl"                          value="false"/>
    <!--<property as="xs:string"  name="oxf.http.proxy.host"                             value="localhost"/>-->
    <!--<property as="xs:integer" name="oxf.http.proxy.port"                             value="8090"/>-->
    <!--<property as="xs:string"  name="oxf.http.proxy.ntlm.host"                        value=""/>-->
    <!--<property as="xs:string"  name="oxf.http.proxy.ntlm.domain"                      value=""/>-->

    <!-- Epilogue configuration -->
    <property as="xs:anyURI"  name="oxf.epilogue.theme"                              value="oxf:/config/theme-examples.xsl"/>
    <property as="xs:boolean" name="oxf.epilogue.use-theme"                          value="true"/>
    <property as="xs:anyURI"  name="oxf.epilogue.theme.error"                        value="oxf:/config/theme-error.xsl"/>
    <property as="xs:anyURI"  name="oxf.epilogue.theme.embeddable"                   value="oxf:/config/theme-embeddable-examples.xsl"/>
    <property as="xs:anyURI"  name="oxf.epilogue.theme.renderer"                     value="oxf:/config/theme-plain.xsl"/>
    <property as="xs:boolean" name="oxf.epilogue.output-xhtml"                       value="false"/>
    <property as="xs:boolean" name="oxf.epilogue.renderer-rewrite"                   value="true"/>
    <property as="xs:boolean" name="oxf.epilogue.process-xslfo"                      value="true"/>
    <property as="xs:boolean" name="oxf.epilogue.process-svg"                        value="true"/>
    <property as="xs:boolean" name="oxf.epilogue.embeddable"                         value="false"/>

    <!-- Processor-specific properties -->
    <property as="xs:integer" processor-name="oxf:request"   name="max-upload-size"          value="100000000"/>
    <property as="xs:integer" processor-name="oxf:request"   name="max-upload-memory-size"   value="10240"/>
    <property as="xs:string"  processor-name="oxf:page-flow" name="instance-passing"         value="redirect"/>
    <property as="xs:string"  processor-name="oxf:page-flow" name="xforms-submission-path"   value="/xforms-server-submit"/>
    <property as="xs:anyURI"  processor-name="oxf:page-flow" name="xforms-submission-model"  value="oxf:/ops/xforms/xforms-server-submit.xpl"/>
    <property as="xs:boolean" processor-name="oxf:sql"       name="legacy-implicit-prefixes" value="false"/>

    <property as="xs:QName"   processor-name="oxf:xml-converter"  name="default-method" value="xml"/>
    <property as="xs:QName"   processor-name="oxf:html-converter" name="default-method" value="html"/>

    <property as="xs:string"  processor-name="oxf:builtin-saxon"        name="location-mode" value="none"/>
    <property as="xs:string"  processor-name="oxf:unsafe-builtin-saxon" name="location-mode" value="none"/>
    <!-- This property was used prior to January 2010 builds -->
    <property as="xs:string"  processor-name="oxf:saxon8"               name="location-mode" value="none"/>

    <!--<property as="xs:boolean" processor-name="oxf:xml-converter"       name="serialize-xml-11" value="true"/>-->

    <!--<property as="xs:NCName"    name="oxf.pipeline.trace.class"    value="org.orbeon.oxf.processor.trace.SystemOutTrace"/>-->

</properties><commit_msg>Converters: convert incorrect CP1252 characters by default.<commit_after><!--
  Copyright (C) 2010 Orbeon, Inc.

  This program is free software; you can redistribute it and/or modify it under the terms of the
  GNU Lesser General Public License as published by the Free Software Foundation; either version
  2.1 of the License, or (at your option) any later version.

  This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  See the GNU Lesser General Public License for more details.

  The full text of the license is available at http://www.gnu.org/copyleft/lesser.html
  -->
<properties xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns:oxf="http://www.orbeon.com/oxf/processors"
            xmlns:xi="http://www.w3.org/2001/XInclude">

    <!-- Global properties -->
    <property as="xs:anyURI"  name="oxf.log4j-config"                                value="oxf:/config/log4j.xml"/>
    <property as="xs:integer" name="oxf.cache.size"                                  value="1000"/>
    <property as="xs:integer" name="oxf.cache.xpath.size"                            value="2000"/>
    <property as="xs:boolean" name="oxf.sax.inspection"                              value="false"/>
    <property as="xs:boolean" name="oxf.resources.versioned"                         value="false"/>
    <property as="xs:string"  name="oxf.resources.version-number"                    value="3.1415"/>

    <property as="xs:string"  name="oxf.url-rewriting.platform-paths"                value="^/(ops/|config/|xbl/orbeon/|forms/orbeon/|apps/fr/|xforms-server).*$"/>
    <property as="xs:string"  name="oxf.url-rewriting.app-paths"                     value="^/(apps|xbl|forms)/.*$"/>
    <property as="xs:string"  name="oxf.url-rewriting.app-prefix"                    value="/apps"/>

    <property as="xs:anyURI"  name="oxf.url-rewriting.service.base-uri"              value=""/>
    <!-- Support "servlet" or "wsrp" (or "portlet2" for backward compatibility") -->
    <property as="xs:string"  name="oxf.url-rewriting.strategy.servlet"              value="servlet"/>
    <!-- TODO: support for base context for servlet rewriting strategy -->
    <!--<property as="xs:string"  name="oxf.url-rewriting.portlet.context"               value=""/>-->
    <property as="xs:string"  name="oxf.url-rewriting.wsrp.context"                  value=""/>
    <property as="xs:boolean" name="oxf.url-rewriting.wsrp.encode-resources"         value="false"/>

    <property as="xs:string"  name="oxf.http.state"                                  value="session"/>
    <property as="xs:string"  name="oxf.http.forward-headers"                        value=""/>
    <property as="xs:string"  name="oxf.http.forward-cookies"                        value="JSESSIONID JSESSIONIDSSO"/> <!-- forward JSESSIONIDSSO for JBoss -->
    <property as="xs:boolean" name="oxf.http.stale-checking-enabled"                 value="true"/>
    <property as="xs:integer" name="oxf.http.so-timeout"                             value="0"/>
    <property as="xs:string"  name="oxf.http.ssl.hostname-verifier"                  value="strict"/>
    <property as="xs:boolean" name="oxf.http.proxy.use-ssl"                          value="false"/>
    <!--<property as="xs:string"  name="oxf.http.proxy.host"                             value="localhost"/>-->
    <!--<property as="xs:integer" name="oxf.http.proxy.port"                             value="8090"/>-->
    <!--<property as="xs:string"  name="oxf.http.proxy.ntlm.host"                        value=""/>-->
    <!--<property as="xs:string"  name="oxf.http.proxy.ntlm.domain"                      value=""/>-->

    <!-- Epilogue configuration -->
    <property as="xs:anyURI"  name="oxf.epilogue.theme"                              value="oxf:/config/theme-examples.xsl"/>
    <property as="xs:boolean" name="oxf.epilogue.use-theme"                          value="true"/>
    <property as="xs:anyURI"  name="oxf.epilogue.theme.error"                        value="oxf:/config/theme-error.xsl"/>
    <property as="xs:anyURI"  name="oxf.epilogue.theme.embeddable"                   value="oxf:/config/theme-embeddable-examples.xsl"/>
    <property as="xs:anyURI"  name="oxf.epilogue.theme.renderer"                     value="oxf:/config/theme-plain.xsl"/>
    <property as="xs:boolean" name="oxf.epilogue.output-xhtml"                       value="false"/>
    <property as="xs:boolean" name="oxf.epilogue.renderer-rewrite"                   value="true"/>
    <property as="xs:boolean" name="oxf.epilogue.process-xslfo"                      value="true"/>
    <property as="xs:boolean" name="oxf.epilogue.process-svg"                        value="true"/>
    <property as="xs:boolean" name="oxf.epilogue.embeddable"                         value="false"/>

    <!-- Processor-specific properties -->
    <property as="xs:integer" processor-name="oxf:request"   name="max-upload-size"          value="100000000"/>
    <property as="xs:integer" processor-name="oxf:request"   name="max-upload-memory-size"   value="10240"/>
    <property as="xs:string"  processor-name="oxf:page-flow" name="instance-passing"         value="redirect"/>
    <property as="xs:string"  processor-name="oxf:page-flow" name="xforms-submission-path"   value="/xforms-server-submit"/>
    <property as="xs:anyURI"  processor-name="oxf:page-flow" name="xforms-submission-model"  value="oxf:/ops/xforms/xforms-server-submit.xpl"/>
    <property as="xs:boolean" processor-name="oxf:sql"       name="legacy-implicit-prefixes" value="false"/>

    <property as="xs:QName"   processor-name="oxf:xml-converter"  name="default-method" value="oxf:org.orbeon.saxon.event.XML1252Emitter"/>
    <property as="xs:QName"   processor-name="oxf:html-converter" name="default-method" value="oxf:org.orbeon.saxon.event.HTML1252Emitter"/>

    <property as="xs:string"  processor-name="oxf:builtin-saxon"        name="location-mode" value="none"/>
    <property as="xs:string"  processor-name="oxf:unsafe-builtin-saxon" name="location-mode" value="none"/>
    <!-- This property was used prior to January 2010 builds -->
    <property as="xs:string"  processor-name="oxf:saxon8"               name="location-mode" value="none"/>

    <!--<property as="xs:boolean" processor-name="oxf:xml-converter"       name="serialize-xml-11" value="true"/>-->

    <!--<property as="xs:NCName"    name="oxf.pipeline.trace.class"    value="org.orbeon.oxf.processor.trace.SystemOutTrace"/>-->

</properties>
{'fraction_non_alphanumeric': 0.16628457893932447, 'fraction_numerical': 0.009781445819960263, 'mean_word_length': 2.535116153430578, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 133, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 15}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3219970', 'n_tokens_mistral': 4101, 'n_tokens_neox': 3924, 'n_words': 693}