ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: AW: svn commit: r417590 - in /ant/core/trunk: CONTRIBUTORS WHATSNEW src/main/org/apache/tools/ant/taskdefs/optional/ssh/
Date Wed, 28 Jun 2006 10:48:14 GMT
> wrote:
>> What is with contributors.xml?
>Good question and really the point of the email I sent 
>yesterday. This is what I can determine
>CONTRIBUTORS needs to be binary because it contains non-ASCII 
>character codes. The problem is that over its history it has 
>been broken many times due to different people using different 
>character encodings.
>AFAICT, the rationale for contributors.xml is that it allows 
>for an ascii representation of the contributors list, with 
>associated benefits.
>Whatever we end up with, there should be one definitive list. 
>I see two possible courses of action
>1. maintain CONTRIBUTORS as binary and remove 
>contributors.xml. We need to agree and maintain a file 
>encoding - currently UTF-8
>2. maintain contributors.xml and remove CONTRIBUTORS. In 
>builds, we could generate CONTRIBUTORS easily enough (or even 
>an HTML representation)
>What do you all think?

I would prefer the xml file
- I dont think that there will be so many changes, that we can do 
  the xml-overhead (over the plain list) by hand
- we'll get semantic information (pre-/surname)
- we'll have the correct spelling of names (German, French, ...)


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

    <xsl:output indent="no" method="text" encoding="ISO-8859-1"/>

<!-- the root node -->
<xsl:template match="/contributors">
    <xsl:value-of select="introduction"/>

<xsl:template match="name">
    <xsl:value-of select="first"/>
    <xsl:text> </xsl:text>
    <xsl:if test="middle">
        <xsl:value-of select="middle"/>
        <xsl:text> </xsl:text>
    <xsl:value-of select="last"/>

<!-- dont copy the text and unmatched nodes as per default in xsl -->
<xsl:template match="*"/>


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message