<commit_before><!--
  ++ Base configuration for eXist's URL rewriting. This file defines
  ++ all basic path mappings. A path can be mapped to a servlet or
  ++ the root of a directory or collection hierarchy.
-->
<configuration xmlns="http://exist.sourceforge.net/NS/exist">
    <!-- Webstart servlet -->
    <forward pattern="/webstart" servlet="jnlp"/>
    <!-- XMLRPC servlet -->
	<forward pattern="/xmlrpc" servlet="org.exist.xmlrpc.RpcServlet"/>
    <!-- REST interface -->
	<forward pattern="/(rest|servlet)/" servlet="EXistServlet"/>
    <!-- WebDAV interface -->
	<forward pattern="/webdav/" servlet="WebDAVServlet"/>
    <!-- Atom Publishing Protocol -->
    <forward pattern="/atom/" servlet="AtomServlet"/>
    <!-- Apache SOAP interface -->
    <forward pattern="/axis-servlet/AxisServlet" servlet="AxisServlet"/>
    <forward pattern=".*\.jws" servlet="AxisServlet"/>
    <forward pattern="/services" servlet="AxisServlet"/>
    <forward pattern="/axis-servlet/AdminServlet" servlet="AdminServlet"/>
    
    <!-- 
        ++ Default configuration: main web application is served from the
        ++ webapp directory. 
    -->
    <root pattern="/tools" path="xmldb:exist:///db/www"/>
    <!-- 
        ++ To redirect requests based on the server name (i.e. www.example.com)
	++ to a specific collection within the database, comment out the following
	++ root line and uncomment the block below with the server-name
	++ attribute.
    -->
    <root pattern=".*" path="/"/>


    <!-- 
    <root server-name="site1.example.com" pattern="/*" path="xmldb:exist:///db/org/site1/"/>
    <root server-name="site2.example.com" pattern="/*" path="xmldb:exist:///db/org/site2/"/>
    <root server-name="site3.example.com" pattern="/*" path="xmldb:exist:///db/org/site3/"/>
    <root server-name="localhost" pattern=".*" path="/"/>
    <root server-name="site4.example.com" pattern=".*" path="/"/>
    -->
    
    <!-- 
      ++ The following configuration assumes that the main webapp
      ++ is stored in the database. However, the contents of the /webapp directory
      ++ should still be accessible with a /fs prefix in the path.
      -->
	<!--root pattern="/fs" path="/"/>
    <root pattern=".*" path="xmldb:exist:///db/www"/-->
    
    <!--
      ++ Order is important here: the forward rule for XQuery resources has 
      ++ to be last in this document, otherwise all XQuery files would be immediately 
      ++ forwarded to the XQueryServlet without ever going through any of the
      ++ controllers.
      -->
	<forward pattern=".*\.(xql|xqy|xquery)$" servlet="XQueryServlet"/>
</configuration>
<commit_msg>[feature] a new xquery weqstart implementation. Now possible generate any jnlp applications/applets using any eXist's libraries<commit_after><!--
  ++ Base configuration for eXist's URL rewriting. This file defines
  ++ all basic path mappings. A path can be mapped to a servlet or
  ++ the root of a directory or collection hierarchy.
-->
<configuration xmlns="http://exist.sourceforge.net/NS/exist">
    <!-- Webstart servlet -->
    <!--forward pattern="/webstart" servlet="jnlp"/-->
    <!-- XMLRPC servlet -->
	<forward pattern="/xmlrpc" servlet="org.exist.xmlrpc.RpcServlet"/>
    <!-- REST interface -->
	<forward pattern="/(rest|servlet)/" servlet="EXistServlet"/>
    <!-- WebDAV interface -->
	<forward pattern="/webdav/" servlet="WebDAVServlet"/>
    <!-- Atom Publishing Protocol -->
    <forward pattern="/atom/" servlet="AtomServlet"/>
    <!-- Apache SOAP interface -->
    <forward pattern="/axis-servlet/AxisServlet" servlet="AxisServlet"/>
    <forward pattern=".*\.jws" servlet="AxisServlet"/>
    <forward pattern="/services" servlet="AxisServlet"/>
    <forward pattern="/axis-servlet/AdminServlet" servlet="AdminServlet"/>
    
    <!-- 
        ++ Default configuration: main web application is served from the
        ++ webapp directory. 
    -->
    <root pattern="/tools" path="xmldb:exist:///db/www"/>
    <!-- 
        ++ To redirect requests based on the server name (i.e. www.example.com)
	++ to a specific collection within the database, comment out the following
	++ root line and uncomment the block below with the server-name
	++ attribute.
    -->
    <root pattern=".*" path="/"/>


    <!-- 
    <root server-name="site1.example.com" pattern="/*" path="xmldb:exist:///db/org/site1/"/>
    <root server-name="site2.example.com" pattern="/*" path="xmldb:exist:///db/org/site2/"/>
    <root server-name="site3.example.com" pattern="/*" path="xmldb:exist:///db/org/site3/"/>
    <root server-name="localhost" pattern=".*" path="/"/>
    <root server-name="site4.example.com" pattern=".*" path="/"/>
    -->
    
    <!-- 
      ++ The following configuration assumes that the main webapp
      ++ is stored in the database. However, the contents of the /webapp directory
      ++ should still be accessible with a /fs prefix in the path.
      -->
	<!--root pattern="/fs" path="/"/>
    <root pattern=".*" path="xmldb:exist:///db/www"/-->
    
    <!--
      ++ Order is important here: the forward rule for XQuery resources has 
      ++ to be last in this document, otherwise all XQuery files would be immediately 
      ++ forwarded to the XQueryServlet without ever going through any of the
      ++ controllers.
      -->
	<forward pattern=".*\.(xql|xqy|xquery)$" servlet="XQueryServlet"/>
</configuration>

{'fraction_non_alphanumeric': 0.16973757677275264, 'fraction_numerical': 0.0026056206960729574, 'mean_word_length': 3.028485757121439, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 16}, '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': '7643003', 'n_tokens_mistral': 1563, 'n_tokens_neox': 1521, 'n_words': 455}