<?xml version="1.0" ?> 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

<!--
  Style sheet for converting xmlp-issues.xml into a static HTML
  document
        November 6, 2001 (HH)
          Not using the initials thingy anymore.
        October 16, 2001 (HH)
          Added list of maintainer.
        October 3, 2001 (HH)
          Removed closed issues from the summary table.
        October 3, 2001 (HH)
          Added an explanation of the acronyms used.
        September 25, 2001 (HH)
          Added support for em.
	September 18, 2001 (HH)
	  Added a few spaces.
        September 6, 2001 (HH)
          Now referencing xmlp-comments.
        September 6, 2001 (HH)
          Changed order in the summary from alphabetical to:
          Active, Unassigned, Postponed, Closed
          Fixed order of locus to:
          Spec, AM
        August 24, 2001 (HH)
          Added template for <pre>, and removed the one for text()
          which was unnecessary.
        June 20, 2001 (HH)
          Added some colors to make the list clearer
        June 3, 2001 (DCF)
          Added subheading to show xmlp-issues.xml (up)date
        May 30, 2001 (DCF)
          Added support for topic and title fields
        May 24, 2001 (DCF)
          Added summary table, doctype and style statements
        May 23, 2001 (DCF)
          Added support for proposal tag, reworded table text
        May 16, 2001 (DCF)
          Added default sort by issue number
        May 14, 2001 (DCF)
          Initially created

  $Id: xmlp-issues-cr-html.xsl,v 1.8 2004/09/06 13:02:30 ylafon Exp $
-->

<xsl:strip-space elements="*"/>
<xsl:output
   method="html"
   encoding="iso-8859-1"
   omit-xml-declaration="yes"
   doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
   />

<xsl:template match="/">
  <html>
    <head>
      <title>XMLP Candidate Recommendation Issues List</title>

      <style type="text/css">
         body {color: black; background: white;}
         .Closed { background-color: #AADD77; }
   	 .yellow { background-color: yellow; }
      </style>

    </head>
    <body>
    <a href="http://www.w3.org/">
    <img src="http://www.w3.org/Icons/WWW/w3c_home" alt="W3C" height="48"
    width="72" border="0"/></a>
    <a href="http://www.w3.org/Architecture/" rel="in-domain">
    <img src="http://www.w3.org/Icons/arch"
         alt="Architecture Domain" border="0"/></a>
    <a href="http://www.w3.org/2000/xp/Group/"
         rel="in-area">XML Protocol WG</a>

    <h1>XML Protocol WG Candidate Recommendation Issues List</h1>
    
    <h3>Last update: <xsl:value-of select="issues/@update"/></h3>
    
    <p>Issues regarding the <a href="./#drafts">documents produced but
    the XML Protocol Working Group</a> should be reported to <a
    href="mailto:xmlp-comments@w3.org">xmlp-comments@w3.org</a> (<a
    href="http://lists.w3.org/Archives/Public/xmlp-comments/">public
    archives</a>).</p>

    <p>Comments on this list should be sent to the
    <a href="mailto:xml-dist-app@w3.org">xml-dist-app@w3.org</a>
    mailing
    list (<a
    href="http://lists.w3.org/Archives/Public/xml-dist-app">Archives</a>).</p>

	<p>For the previous list of closed issues, you can 
	read the <a href="xmlp-issues.html">WG issues list</a> and
	the <a href="xmlp-lc-issues.html">WG Last Call issues list</a>
	.</p>

    <ul>
      <li><a href="#summaryList">Summary list of outstanding issues</a></li>
      <li><a href="#detailList">Detailed list of issues</a></li>
      <li><a href="#legend">Legend for detailed list</a></li>
    </ul>
    
    <xsl:apply-templates mode="summary" />
    <xsl:apply-templates mode="detail" />

    <hr/>

	<xsl:apply-templates select="issues/maintainer" />

    </body>
  </html> 
</xsl:template>


<xsl:template match="issues" mode="summary">
   <h2><a name="report"></a>Report</h2>
<h3>
<a name="reportsoap12"></a>Report for SOAP Version 1.2</h3>

<ul>
<li>Issues accepted by the WG: 21 
	    (<a href="#x422">422</a>, <a href="#x421">421</a>, <a href="#x420">420</a>, <a href="#x419">419</a>, <a href="#x416">416</a>, <a href="#x414">414</a>, <a href="#x413">413</a>, <a href="#x412">412</a>, <a href="#x411">411</a>, <a href="#x408">408</a>, <a href="#x407">407</a>, <a href="#x406">406</a>, <a href="#x405">405</a>, <a href="#x404">404</a>, <a href="#x403">403</a>, <a href="#x402">402</a>, <a href="#x401">401</a>, <a href="#x400">400</a>, <a href="#x399">399</a>, <a href="#x398">398</a>, <a href="#x396">396</a>)
	</li>

<li>Issues rejected by the WG: 4 
	    ( <a href="#x415">415</a>, <a href="#x410">410</a>, <a href="#x409">409</a>, <a href="#x397">397</a>)
	</li>
</ul>

<h3>
<a name="reportxopmtomrep"></a>Report for XOP10, MTOM and Resource Representation SOAP Header Block</h3>
    <ul>
	<li>Issues accepted by the WG: <xsl:value-of select="count(issue/Accepted)" /> 
	    ( <xsl:for-each select="issue">
		    <xsl:if test="Accepted">
		    <a href="#x{issue-num}"> <xsl:value-of select="issue-num"/> </a>
		    <xsl:text> </xsl:text>
		    </xsl:if>
		</xsl:for-each>)
	</li>
	<li>Issues rejected by the WG: <xsl:value-of select="count(issue/Rejected)" /> 
	    ( <xsl:for-each select="issue">
		    <xsl:if test="Rejected">
		    <a href="#x{issue-num}"> <xsl:value-of select="issue-num"/> </a>
		    <xsl:text> </xsl:text>
		    </xsl:if>
		</xsl:for-each>)
	</li>
    </ul>
  <h2><a name="summaryList"></a>Summary List of Outstanding Issues</h2>
  <table border='1'>
      <tr>
        <th><a href="#id">id</a></th>
        <th><a href="#Status">Status</a></th>
        <th><a href="#Spec">Spec</a></th>
        <th><a href="#Topic">Topic</a></th>
        <th><a href="#Class">Class</a></th>
        <th><a href="#Requirement">Req</a></th>
        <th><a href="#Title">Title</a></th>
      </tr>
    <xsl:apply-templates select="issue[child::status!='Closed']"
	mode="summary">
      <xsl:sort select="status='Postponed'" />
      <xsl:sort select="status='Unassigned'" />
      <xsl:sort select="status='Active'" />
      <xsl:sort select="locus='AF doc'" />
      <xsl:sort select="locus='Spec'" />
      <xsl:sort select="topic" order="descending"/>
      <xsl:sort select="priority" />
      <xsl:sort select="requirement" />
      <xsl:sort data-type="number" select="issue-num" />
    </xsl:apply-templates>
  </table>
</xsl:template>

<xsl:template match="issue" mode="summary">
      <tr>
        <td>
          <a href="#x{issue-num}">
            <xsl:value-of select="issue-num"/>
          </a>
        </td>
        <td><xsl:value-of select="status"/></td>
        <td><xsl:value-of select="locus"/></td>
        <td><xsl:value-of select="topic"/></td>
        <td><xsl:value-of select="priority"/></td>
        <td><xsl:value-of select="requirement"/></td>
        <td><xsl:value-of select="title"/></td>
      </tr>
</xsl:template>

<xsl:template match="issues" mode="detail">
   <h2><a name="detailList"></a>Detailed List of Issues</h2>
  <table border='1'>
      <tr>
        <th><a href="#id">id</a></th>
        <th><a href="#Spec">Spec</a></th>
        <th><a href="#Requirement">Req</a></th>
        <th><a href="#Topic">Topic</a></th>
        <th><a href="#Class">Class</a></th>
        <th><a href="#Status">Status</a></th>
        <th><a href="#Raised by">Raised By</a></th>
        <th><a href="#Owner">Owner</a></th>
      </tr>
    <xsl:apply-templates select="issue" mode="detail">
      <xsl:sort data-type="number" select="issue-num" />
    </xsl:apply-templates>
  </table>
  <h2><a name="legend">Table Legend</a></h2>
   <dl>
   <dt><a name="id">id</a></dt>
   <dd>Issue number</dd>
   <dt><a name="title">Title</a></dt>
   <dd>Short title/name of the issue</dd>
   <dt><a name="Spec">Spec</a></dt>
   <dd>Document referred to in issue (AM = Abstract Model, Spec = XMLP/SOAP Specification</dd>
   <dt><a name="Description">Description</a></dt>
   <dd>Short description of issue, possibly including link to origin of issue</dd>
   <dt><a name="Requirement">Req</a></dt>
   <dd>Link to XML Protocol Requirement that motivated this issue</dd>
   <dt><a name="Topic">Topic</a></dt>
   <dd>Rough topic categorisation, one of: env(elope), rpc, enc(oding), meta(issue), bind(ing), fault</dd>
   <dt><a name="Class">Class</a></dt>
   <dd>Design or Editorial</dd>
   <dt><a name="Status">Status</a></dt>
   <dd>One of: Unassigned, Active, Closed, Postponed</dd>
   <dt><a name="Proposal">Proposal</a></dt>
   <dd>Current proposal for resolution of issue, possibly including link to further text</dd>
   <dt><a name="Resolution">Resolution</a></dt>
   <dd>Short description of resolution, possibly including link to a more elaborate description</dd>
   <dt><a name="Raised">Raised by</a></dt>
   <dd>Person who raised the issue</dd>
   <dt><a name="Owner">Owner</a></dt>
   <dd>XML Protocol WG Member responsible for the issue</dd>
   </dl>
</xsl:template>

<xsl:template match="issue" mode="detail">
                <tbody class="{status}">
      <tr>
        <xsl:apply-templates select="issue-num" mode="detail" />
        <xsl:apply-templates select="locus" mode="detail" />
        <xsl:apply-templates select="requirement" mode="detail" />
        <xsl:apply-templates select="topic" mode="detail" />
        <xsl:apply-templates select="priority" mode="detail" />
        <xsl:apply-templates select="status" mode="detail" />
        <xsl:apply-templates select="originator" mode="detail" />
        <xsl:apply-templates select="responsible" mode="detail" />
      </tr>
      <tr>
        <xsl:apply-templates select="title" mode="detail" />
      </tr>
      <tr>
        <xsl:apply-templates select="description" mode="detail" />
      </tr>
      <tr>
        <xsl:apply-templates select="proposal" mode="detail" />
      </tr>
      <tr>
        <xsl:apply-templates select="resolution" mode="detail" />
      </tr>
                     </tbody>
</xsl:template>

<xsl:template match="issue-num" mode="detail">
  <td rowspan='5' valign='top'>
    <b><a name="x{.}"><xsl:value-of select="."/></a></b> 
  </td>
</xsl:template>

<xsl:template match="locus" mode="detail">
  <td>
    <xsl:apply-templates />
  </td>
</xsl:template>

<xsl:template match="requirement" mode="detail">
  <td>
    <xsl:apply-templates />
  </td>
</xsl:template>

<xsl:template match="topic" mode="detail">
  <td>
    <xsl:apply-templates />
  </td>
</xsl:template>

<xsl:template match="priority" mode="detail">
  <td>
    <xsl:apply-templates />
  </td>
</xsl:template>

<xsl:template match="status" mode="detail">
  <td>
    <xsl:apply-templates />
  </td>
</xsl:template>

<xsl:template match="originator" mode="detail">
  <td>
    <xsl:apply-templates />
  </td>
</xsl:template>

<xsl:template match="responsible" mode="detail">
  <td>
    <xsl:apply-templates />
  </td>
</xsl:template>

<xsl:template match="title" mode="detail">
  <td colspan='7'>
    <b>Title:</b>
    <xsl:text> </xsl:text>
    <xsl:apply-templates />
  </td>
</xsl:template>

<xsl:template match="description" mode="detail">
  <td colspan='7'>
    <b>Description:</b>
    <xsl:text> </xsl:text>
    <xsl:apply-templates />
  </td>
</xsl:template>

<xsl:template match="proposal" mode="detail">
  <td colspan='7'>
    <b>Proposal:</b>
    <xsl:text> </xsl:text>
    <xsl:apply-templates />
  </td>
</xsl:template>

<xsl:template match="resolution" mode="detail">
  <td colspan='7'>
    <b>Resolution:</b>
    <xsl:text> </xsl:text>
    <xsl:apply-templates />
  </td>
</xsl:template>

<!-- Sign the document -->

  <xsl:template match="maintainer">
    <address>
      <small>
	Maintained by <a href="{uri}"><xsl:value-of select="fullname"/>.</a>
      </small>
    </address>
  </xsl:template>

<!-- HTML like stuff -->

<xsl:template match="a[@href]">
    <a>
      <xsl:attribute name="href">
        <xsl:value-of select="@href"/>
      </xsl:attribute>
      <xsl:apply-templates />
    </a>
</xsl:template>

<xsl:template match="a[@name]">
    <a>
      <xsl:attribute name="name">
        <xsl:value-of select="@name"/>
      </xsl:attribute>
      <xsl:apply-templates />
    </a>
</xsl:template>

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

<xsl:template match="p[@class]">
  <p>
    <xsl:attribute name="class">
      <xsl:value-of select="@class"/>
    </xsl:attribute> 
    <xsl:apply-templates />
  </p>
</xsl:template>

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

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

<xsl:template match="ul">
  <ul>
    <xsl:for-each select="li">
      <li><xsl:apply-templates /></li>
    </xsl:for-each>
  </ul>
</xsl:template>

</xsl:stylesheet>

