<commit_before><xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:str="xalan://java.lang.String">

  <xsl:output method="text" encoding="UTF-8"/>

  <xsl:template match="artifact[status!='Open']"/>

  <xsl:template match="artifact[status='Open']">
    <xsl:value-of select="submitted_date"/>
    <xsl:text>;</xsl:text>
    <xsl:apply-templates select="category"/>
    <xsl:text>;"</xsl:text>
    <xsl:value-of select="str:replaceAll(string(summary),'&quot;','&quot;&quot;')"/>
    <xsl:text>";"[imported from SourceForge]
</xsl:text>
    <xsl:call-template name="url">
      <xsl:with-param name="atid" select="artifact_type"/>
      <xsl:with-param name="aid" select="@id"/>
    </xsl:call-template>
    <xsl:text>
</xsl:text>Originally submitted by <xsl:value-of select="submitted_by"/> on <xsl:value-of select="submitted_date"/>.

<xsl:value-of select="str:replaceAll(string(detail),'&quot;','&quot;&quot;')"/>
    <xsl:apply-templates select="existingfiles"/>
    <xsl:apply-templates select="follow_ups"/>
    <xsl:text>"
</xsl:text>
  </xsl:template>

  <xsl:template match="category[.='lucene']">Lucene</xsl:template>
  <xsl:template match="category[.='PDModel']">PDModel</xsl:template>
  <xsl:template match="category[.='PDModel.AcroForm']">PDModel.AcroForm</xsl:template>
  <xsl:template match="category[.='parsing']">Parsing</xsl:template>
  <xsl:template match="category[.='PDFReader']">PDFReader</xsl:template>
  <xsl:template match="category[.='text extraction']">Text extraction</xsl:template>
  <xsl:template match="category[.='writing']">Writing</xsl:template>
  <xsl:template match="category[.='utilities']">Utilities</xsl:template>
  <xsl:template match="category">
    <xsl:choose>
      <xsl:when test="substring(../artifact_type,1,1)=7">FontBox</xsl:when>
      <xsl:when test="substring(../artifact_type,1,1)=8">JempBox</xsl:when>
    </xsl:choose>
  </xsl:template>

  <xsl:template match="file">

[attachment on SourceForge]
<xsl:call-template name="url"><commit_msg>PDFBOX-1: Added issue type column<commit_after><xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:str="xalan://java.lang.String">

  <xsl:output method="text" encoding="UTF-8"/>

  <xsl:template match="artifact[status!='Open']"/>

  <xsl:template match="artifact[status='Open']">
    <xsl:value-of select="submitted_date"/>
    <xsl:text>;</xsl:text>
    <xsl:apply-templates select="artifact_type"/>
    <xsl:text>;</xsl:text>
    <xsl:apply-templates select="category"/>
    <xsl:text>;"</xsl:text>
    <xsl:value-of select="str:replaceAll(string(summary),'&quot;','&quot;&quot;')"/>
    <xsl:text>";"[imported from SourceForge]
</xsl:text>
    <xsl:call-template name="url">
      <xsl:with-param name="atid" select="artifact_type"/>
      <xsl:with-param name="aid" select="@id"/>
    </xsl:call-template>
    <xsl:text>
</xsl:text>Originally submitted by <xsl:value-of select="submitted_by"/> on <xsl:value-of select="submitted_date"/>.

<xsl:value-of select="str:replaceAll(string(detail),'&quot;','&quot;&quot;')"/>
    <xsl:apply-templates select="existingfiles"/>
    <xsl:apply-templates select="follow_ups"/>
    <xsl:text>"
</xsl:text>
  </xsl:template>

  <xsl:template match="artifact_type[.=552835]">New Feature</xsl:template>
  <xsl:template match="artifact_type[.=773649]">New Feature</xsl:template>
  <xsl:template match="artifact_type[.=831990]">New Feature</xsl:template>
  <xsl:template match="artifact_type[.=552834]">Improvement</xsl:template>
  <xsl:template match="artifact_type[.=773648]">Improvement</xsl:template>
  <xsl:template match="artifact_type[.=831989]">Improvement</xsl:template>
  <xsl:template match="artifact_type">Bug</xsl:template>

  <xsl:template match="category[.='lucene']">Lucene</xsl:template>
  <xsl:template match="category[.='PDModel']">PDModel</xsl:template>
  <xsl:template match="category[.='PDModel.AcroForm']">PDModel.AcroForm</xsl:template>
  <xsl:template match="category[.='parsing']">Parsing</xsl:template>
  <xsl:template match="category[.='PDFReader']">PDFReader</xsl:template>
  <xsl:template match="category[.='text extraction']">Text extraction</xsl:template>
  <xsl:template match="category[.='writing']">Writing</xsl:template>
  <xsl:template match="category[.='utilities']">Utilities</xsl:template>
  <xsl:template match="category">
    <xsl:choose>
      <xsl:when test="substring(../artifact_type,1,1)=7">FontBox</xsl:when>
      <xsl:when test="substring(../artifact_type,1,1)=8">JempBox</xsl:when>
    </xsl:choose>
  </xsl:template>

  <xsl:template match="file">

[attachment on SourceForge]
<xsl:call-template name="url">
{'fraction_non_alphanumeric': 0.2127569400296673, 'fraction_numerical': 0.013774104683195593, 'mean_word_length': 5.971935007385524, 'pattern_counts': {'":': 0, '<': 126, '<?xml version=': 0, '>': 126, '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': '6472573', 'n_tokens_mistral': 1799, 'n_tokens_neox': 1588, 'n_words': 191}