1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-25 10:42:19 -05:00

discuss element

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@2579 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2008-12-18 20:09:59 +00:00
parent 0842b593be
commit b815e3d190
3 changed files with 19 additions and 12 deletions

View File

@ -27,7 +27,7 @@ THE SOFTWARE.
<!ELEMENT xep ( header, section1* ) > <!ELEMENT xep ( header, section1* ) >
<!ATTLIST xep <!ATTLIST xep
xmlns CDATA '' > xmlns CDATA '' >
<!ELEMENT header ( title, abstract, legal, number, status, type, sig, approver*, dependencies, supersedes, supersededby, shortname, schemaloc*, registry?, expires?, author+, revision+ ) > <!ELEMENT header ( title, abstract, legal, number, status, type, sig, approver*, dependencies, supersedes, supersededby, shortname, schemaloc*, registry?, discuss?, expires?, author+, revision+ ) >
<!ELEMENT title (#PCDATA)* > <!ELEMENT title (#PCDATA)* >
<!ELEMENT abstract (#PCDATA)* > <!ELEMENT abstract (#PCDATA)* >
<!ELEMENT legal ( copyright, permissions, warranty, liability, conformance ) > <!ELEMENT legal ( copyright, permissions, warranty, liability, conformance ) >
@ -50,6 +50,7 @@ THE SOFTWARE.
<!ELEMENT ns (#PCDATA)* > <!ELEMENT ns (#PCDATA)* >
<!ELEMENT url (#PCDATA)* > <!ELEMENT url (#PCDATA)* >
<!ELEMENT registry EMPTY> <!ELEMENT registry EMPTY>
<!ELEMENT discuss (#PCDATA)* >
<!ELEMENT expires (#PCDATA)* > <!ELEMENT expires (#PCDATA)* >
<!ELEMENT author ( firstname, surname, authornote?, org?, email?, jid?, uri? ) > <!ELEMENT author ( firstname, surname, authornote?, org?, email?, jid?, uri? ) >
<!ELEMENT firstname (#PCDATA)* > <!ELEMENT firstname (#PCDATA)* >

View File

@ -70,6 +70,7 @@ THE SOFTWARE.
<xs:element name='shortname' type='xs:NCName'/> <xs:element name='shortname' type='xs:NCName'/>
<xs:element ref='schemaloc' minOccurs='0' maxOccurs='unbounded'/> <xs:element ref='schemaloc' minOccurs='0' maxOccurs='unbounded'/>
<xs:element name='registry' minOccurs='0' type='empty'/> <xs:element name='registry' minOccurs='0' type='empty'/>
<xs:element name='discuss' minOccurs='0' type='xs:string'/>
<xs:element name='expires' minOccurs='0' type='xs:string'/> <xs:element name='expires' minOccurs='0' type='xs:string'/>
<xs:element ref='author' minOccurs='1' maxOccurs='unbounded'/> <xs:element ref='author' minOccurs='1' maxOccurs='unbounded'/>
<xs:element ref='revision' minOccurs='1' maxOccurs='unbounded'/> <xs:element ref='revision' minOccurs='1' maxOccurs='unbounded'/>

27
xep.xsl
View File

@ -263,25 +263,30 @@ OR OTHER DEALINGS IN THE SOFTWARE.
<hr /> <hr />
<!-- DISCUSSION VENUE --> <!-- DISCUSSION VENUE -->
<h2>Discussion Venue</h2> <h2>Discussion Venue</h2>
<xsl:variable name='discuss.count' select='count(/xep/header/discuss)'/>
<xsl:variable name='discuss.venue' select='count(/xep/header/discuss)'/>
<xsl:if test='$discuss.count=1'>
<xsl:variable name='discussWeb'>
<xsl:text>http://mail.jabber.org/mailman/listinfo/</xsl:text>
<xsl:value-of select='/xep/header/discuss'/>
</xsl:variable>
<xsl:variable name='discussMail'>
<xsl:value-of select='/xep/header/discuss'/>
<xsl:text>@xmpp.org</xsl:text>
</xsl:variable>
<p class='indent'>There exists a special venue for discussion related to the technology described in this document: the &lt;<a href='{$discussWeb}'><xsl:value-of select='$discussMail'/></a>&gt; mailing list.</p>
</xsl:if>
<xsl:variable name='Approver' select='/xep/header/approver'/> <xsl:variable name='Approver' select='/xep/header/approver'/>
<xsl:choose> <xsl:choose>
<xsl:when test='$Approver = "Board"'> <xsl:when test='$Approver = "Board"'>
<p class='indent'>The preferred venue for discussion of this document is the Standards discussion list: &lt;<a href="http://mail.jabber.org/mailman/listinfo/standards">http://mail.jabber.org/mailman/listinfo/standards</a>&gt;.</p> <p class='indent'>The primary venue for discussion of XMPP Extension Protocols is the &lt;<a href="http://mail.jabber.org/mailman/listinfo/standards">standards@xmpp.org</a>&gt; discussion list.</p>
<p class='indent'>Discussion by the membership of the XSF may also be appropriate (see &lt;<a href="http://mail.jabber.org/mailman/listinfo/members">http://mail.jabber.org/mailman/listinfo/members</a>&gt; for details).</p> <p class='indent'>Discussion by the membership of the XSF may also be appropriate (see &lt;<a href="http://mail.jabber.org/mailman/listinfo/members">http://mail.jabber.org/mailman/listinfo/members</a>&gt; for details).</p>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<p class='indent'> <p class='indent'>The primary venue for discussion of XMPP Extension Protocols is the &lt;<a href="http://mail.jabber.org/mailman/listinfo/standards">standards@xmpp.org</a>&gt; discussion list.</p>
The preferred venue for discussion of this document is the standards@xmpp.org discussion list:
<br />
&lt;<a href="http://mail.jabber.org/mailman/listinfo/standards">http://mail.jabber.org/mailman/listinfo/standards</a>&gt;
</p>
<p class='indent'>Discussion on other xmpp.org discussion lists might also be appropriate; see &lt;<a href='http://xmpp.org/about/discuss.shtml'>http://xmpp.org/about/discuss.shtml</a>&gt; for a complete list.</p> <p class='indent'>Discussion on other xmpp.org discussion lists might also be appropriate; see &lt;<a href='http://xmpp.org/about/discuss.shtml'>http://xmpp.org/about/discuss.shtml</a>&gt; for a complete list.</p>
<xsl:if test='contains(/xep/header/dependencies,"RFC")'> <xsl:if test='contains(/xep/header/dependencies,"RFC")'>
<p class='indent'> <p class='indent'>Given that this XMPP Extension Protocol normatively references IETF technologies, discussion on the &lt;<a href="http://mail.jabber.org/mailman/listinfo/xsf-ietf">xsf-ietf@xmpp.org</a>&gt; list might also be appropriate.</p>
Given that this XMPP Extension Protocol normatively references IETF technologies, discussion on the XSF-IETF list might also be appropriate:
<br />
&lt;<a href="http://mail.jabber.org/mailman/listinfo/xsf-ietf">http://mail.jabber.org/mailman/listinfo/xsf-ietf</a>&gt;
</p>
</xsl:if> </xsl:if>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>