crossley 02/01/23 23:42:31
Modified: tools/src JTidyTask.java
Added: tools/resources/stylesheets bugzilla2patchqueue.xsl
patchqueue2text4dev.xsl patchqueue2xdocs.xsl
Removed: tools/src bugzilla2patchqueue.xsl patchqueue2text4dev.xsl
patchqueue2xdocs.xsl
Log:
Move stylesheets from src/ to resources/stylesheets
Submitted by: "Nicola Ken Barozzi" <[EMAIL PROTECTED]>
Revision Changes Path
1.1 xml-cocoon2/tools/resources/stylesheets/bugzilla2patchqueue.xsl
Index: bugzilla2patchqueue.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:html="http://www.w3.org/1999/xhtml">
<!-- @author <a href="mailto:[EMAIL PROTECTED]">Nicola Ken Barozzi</a> -->
<xsl:template match="html:body">
<patch-queue>
<xsl:apply-templates/>
</patch-queue>
</xsl:template>
<xsl:template match="html:tr">
<xsl:if test="contains(@class,'th')">
<bug>
<xsl:attribute name="id"><xsl:value-of
select="html:td[1]/html:a"/></xsl:attribute>
<xsl:attribute name="url">http://nagoya.apache.org/bugzilla/<xsl:value-of
select="html:td[1]/html:a/@href"/></xsl:attribute>
<xsl:attribute name="severity"><xsl:value-of
select="html:td[2]"/></xsl:attribute>
<xsl:attribute name="priority"><xsl:value-of
select="html:td[3]"/></xsl:attribute>
<xsl:attribute name="platform"><xsl:value-of
select="html:td[4]"/></xsl:attribute>
<xsl:attribute name="owner"><xsl:value-of select="html:td[5]"/></xsl:attribute>
<xsl:attribute name="status"><xsl:value-of
select="html:td[6]"/></xsl:attribute>
<xsl:attribute name="resolution"><xsl:value-of
select="html:td[7]"/></xsl:attribute>
<xsl:attribute name="summary"><xsl:value-of
select="html:td[8]"/></xsl:attribute>
</bug>
</xsl:if>
</xsl:template>
<xsl:template match="@*|*|text()|processing-instruction()">
<xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
</xsl:template>
</xsl:stylesheet>
1.1 xml-cocoon2/tools/resources/stylesheets/patchqueue2text4dev.xsl
Index: patchqueue2text4dev.xsl
===================================================================
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- @author <a href="mailto:[EMAIL PROTECTED]">Nicola Ken Barozzi</a> -->
<xsl:output method="text"/>
<xsl:template match="/">-----------------------------------------------------------
This mail is generated automatically using
Jakarta Ant. Contents are automatically
downloaded from Apache's Bugzilla.
-----------------------------------------------------------
Please do not reply to this mail.
-----------------------------------------------------------
***********************************************************
COCOON PATCH QUEUE UPDATE
patches in queue: <xsl:value-of select="count(patch-queue/bug)"/>
***********************************************************
<xsl:for-each select="patch-queue/bug">
-----------------------------------------------------------
<xsl:value-of select="@id"/>:<xsl:value-of select="@summary"/>
-----------------------------------------------------------
<xsl:value-of select="@url"/>
REVIEWER: <xsl:value-of select="@owner"/>
RESOLUTION: <xsl:value-of select="@resolution"/>
STATUS: <xsl:value-of select="@status"/>
</xsl:for-each>
*************************that's it!************************
------------------------patch HOWTO------------------------
Send patches to http://nagoya.apache.org/bugzilla/
specifying [PATCH] in the summary.
Bugzilla sends a mail automatically to this list.
Reviewers will mark it FIXED there when applied.
Patches not sent to Bugzilla will not be reviewed.
-----------------------------------------------------------
This file is generated and updated automatically at least
once a week, and the data is taken from Bugzilla.
If you don't find the patch you submitted to bugzilla
after one week, please notify [EMAIL PROTECTED]
for assistance.
-----------------------------------------------------------
There is usually a HEAD branch and a previous-version
branch that are maintained. Where will the patch go?
1. If it is a bug fix it should go to both branches
2. If something is totally new it goes into HEAD scratchpad.
3. Something in between, but does not break backward
compatibility _may_ go into both (and may not)
4. For everything else, a vote is required so
first it may go into HEAD, and then be VOTEd in order
to sync this into branch.
Please note that structural changes have to be VOTEd first.
</xsl:template>
<xsl:template match="@*|*|text()|processing-instruction()">
<xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
</xsl:template>
</xsl:stylesheet>
1.1 xml-cocoon2/tools/resources/stylesheets/patchqueue2xdocs.xsl
Index: patchqueue2xdocs.xsl
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- @author <a href="mailto:[EMAIL PROTECTED]">Nicola Ken Barozzi</a> -->
<xsl:template match="/">
<xsl:text disable-output-escaping="yes">
<![CDATA[
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.0//EN"
"dtd/document-v10.dtd">
]]>
<!-- this file is automatically generated by build patchqueue-xdocs -->
</xsl:text>
<document>
<header>
<title>Patch Queue</title>
<authors>
<person name="Robin Green" email="[EMAIL PROTECTED]"/>
<person name="Nicola Ken Barozzi" email="[EMAIL PROTECTED]"/>
</authors>
</header>
<body>
<s1 title="Introduction">
<p>
This is an <strong>informal</strong> list - in chronological order -
of some of the noteworthy patches that have been posted
to the <link href="mailto:[EMAIL PROTECTED]">cocoon-dev</link>
mailing list.
These patches are not (yet) part of the Apache Cocoon project, but need
reviewing for possible
inclusion. This system was instituted because, due to the large volume of
mail and
the lack of time of the committers, some patches tended to get forgotten
about. This
queue does not guarantee that any patch will be reviewed within a reasonable
time frame,
but it does at least make them easier to find!
</p>
<p><strong>Reviewers wanted!</strong> - If you have time to review and/or test
these patches,
we would be grateful for your time. Please post comments to the cocoon-dev
mailing lists.
</p>
<p>
Before submitting a patch, please read the page on <connect
href="contrib.xml">Third-Party
Contributions</connect>. The preferred submission method for patches is:
</p>
<ul>
<li>Post to [EMAIL PROTECTED]</li>
<li>Describe the patch, the reason for it and (if necessary) why this is
important.</li>
<li>Generate the patch in <code>diff -u</code> format from CVS</li>
<li>Also generate a documentation patch or new file, if this is something
that should be documented.
</li>
<li>Post as an attachment rather than inline (unless it is trivially
small).</li>
</ul>
<p>Following the above guidelines will facilitate your patch being reviewed
and applied efficiently.</p>
</s1>
<s1 title="Patch Queue">
<p><strong> [Under Construction] </strong> Archive links will be added later.
<strong>Please do not bother the patch submitters/authors</strong> without
first reading the
relevant post(s) in the <connect href="mail-archives.xml">mailing list
archives.</connect>
</p>
<p>Vapourware will not be listed.</p>
<table>
<tr>
<th>id<!--and Link--></th>
<th>Summary</th>
<th>Reviewer</th>
<th>Resolution</th>
<th>Status</th>
</tr>
<xsl:for-each select="patch-queue/bug">
<tr>
<th>
<connect>
<xsl:attribute name="href"><xsl:value-of select="@url"/></xsl:attribute>
<xsl:value-of select="@id"/>
</connect>
</th>
<th><xsl:value-of select="@summary"/></th>
<th><xsl:value-of select="@owner"/></th>
<th><xsl:value-of select="@resolution"/></th>
<th><xsl:value-of select="@status"/></th>
</tr>
</xsl:for-each>
</table>
<p>See also additional list of patches to be added in <connect
href="todo.xml">To Do</connect>.
</p>
</s1>
</body>
</document>
</xsl:template>
<xsl:template match="@*|*|text()|processing-instruction()">
<xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
</xsl:template>
</xsl:stylesheet>
1.2 +2 -0 xml-cocoon2/tools/src/JTidyTask.java
Index: JTidyTask.java
===================================================================
RCS file: /home/cvs/xml-cocoon2/tools/src/JTidyTask.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- JTidyTask.java 23 Jan 2002 07:22:56 -0000 1.1
+++ JTidyTask.java 24 Jan 2002 07:42:31 -0000 1.2
@@ -5,6 +5,8 @@
* version 1.1, a copy of which has been included with this distribution in *
* the LICENSE file. *
*****************************************************************************/
+
+
import java.io.InputStream;
import java.io.FileInputStream;
import java.io.BufferedInputStream;
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]