<commit_before><?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:rc="http://apache.org/cocoon/lenya/rc/1.0"
  >

<xsl:template match="/">
  <xsl:apply-templates/>
</xsl:template>

<xsl:template match="rc:exception">
<html>	
<body>
<head>
<link rel="stylesheet" type="text/css" href="/lenya/lenya/css/default.css" />
</head>
  <xsl:apply-templates/>
</body>
</html>
</xsl:template>

<xsl:template match="rc:file-reserved-checkout-exception">
  <h2>File Reserved Checkout Exception</h2>
  <p>
  Resource has already been checked out:
  </p>
  <table>
  <tr><td>User:</td><td><xsl:value-of select="rc:user"/></td></tr>
  <tr><td>Date:</td><td><xsl:value-of select="rc:date"/></td></tr>
  <tr><td>Filename:</td><td><xsl:value-of select="rc:filename"/></td></tr>
  </table>
</xsl:template>

<xsl:template match="rc:file-reserved-checkin-exception">
  <h2>File Reserved Checkin Exception</h2>
  <p>
  Resource has already been checked out:
  </p>
  <table>
  <tr><td>User:</td><td><xsl:value-of select="rc:user"/></td></tr>
  <tr><td>Date:</td><td><xsl:value-of select="rc:date"/></td></tr>
  <tr><td>Filename:</td><td><xsl:value-of select="rc:filename"/></td></tr>
  </table>
</xsl:template>


<xsl:template match="rc:generic-exception">
  <h2>Generic Exception</h2>
  <p>
  Check the log files :-)
  </p>
  <table>
  <tr><td>Filename:</td><td><xsl:value-of select="rc:filename"/></td></tr>
  </table>
</xsl:template>

</xsl:stylesheet><commit_msg>RC exception with new layout<commit_after><?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:rc="http://apache.org/cocoon/lenya/rc/1.0"
  xmlns:page="http://apache.org/cocoon/lenya/cms-page/1.0"
  >
  <xsl:import href="../util/page-util.xsl"/>
  
  <xsl:output version="1.0" indent="yes" encoding="ISO-8859-1"/>

  <xsl:template match="/">
    <xsl:apply-templates/>
  </xsl:template>

  <xsl:template match="rc:exception">
          <xsl:apply-templates/>
  </xsl:template>

  <xsl:template match="rc:file-reserved-checkout-exception">
    <page:page>
      <page:title>File Reserved Checkout Exception</page:title>
      <page:body>
 	    <div class="lenya-box">
    	  <div class="lenya-box-title">File not checked out yet</div>
	      <div class="lenya-box-body">
	        <p> The resource has already been checked out:
            </p>
            <table>
              <tr><td>User:</td><td><xsl:value-of select="rc:user"/></td></tr>
              <tr><td>Date:</td><td><xsl:value-of select="rc:date"/></td></tr>
              <tr><td>Filename:</td><td><xsl:value-of select="rc:filename"/></td></tr>
            </table>
  	      </div>
  	    </div>
      </page:body>
    </page:page>
  </xsl:template>
  
  <xsl:template match="rc:file-reserved-checkin-exception">
    <page:page>
      <page:title>File Reserved Checkin Exception</page:title>
      <page:body>
 	    <div class="lenya-box">
          <div class="lenya-box-title">File not checked in yet</div>
    	  <div class="lenya-box-body">
	        <p> The resource has already been checked out:
            </p>
            <table>
              <tr><td>User:</td><td><xsl:value-of select="rc:user"/></td></tr>
              <tr><td>Date:</td><td><xsl:value-of select="rc:date"/></td></tr>
              <tr><td>Filename:</td><td><xsl:value-of select="rc:filename"/></td></tr>
            </table>
  	      </div>
  	    </div>
      </page:body>
    </page:page>
  </xsl:template>


  <xsl:template match="rc:generic-exception">
    <page:page>
      <page:title>Generic Exception</page:title>
      <page:body>
 	    <div class="lenya-box">
	    <div class="lenya-box-title">Generic Exception</div>
	      <div class="lenya-box-body">
            <p>
            Check the log files :-)
            </p>
            <table>
              <tr><td>Filename:</td><td><xsl:value-of select="rc:filename"/></td></tr>
            </table>
       	  </div>
  	    </div>
      </page:body>
    </page:page>
  </xsl:template>

</xsl:stylesheet>
{'fraction_non_alphanumeric': 0.22095284394749634, 'fraction_numerical': 0.011424404472532814, 'mean_word_length': 3.0581854043392505, 'pattern_counts': {'":': 0, '<': 206, '<?xml version=': 2, '>': 206, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 7}, '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': '401962', 'n_tokens_mistral': 1578, 'n_tokens_neox': 1491, 'n_words': 221}