Subject: [xml2rfc] #155: empty date element yields extra space and comma in reference

From: "xml2rfc issue tracker" <[email-masked]>
Date: Fri, 29 Mar 2013 18:24:53 -0000

#155: empty date element yields extra space and comma in reference

 An empty date element yields extraneous space and comma in the text output
 (and nroff output). v1 handled this OK, but v2 puts in extra " ,"

 (Simply deleting the empty date element isn't a good option b/c the DTD
 requires it in the reference element.)

 XML:
 {{{
 <reference anchor="VARIANTTLDS"
 target="http://www.icann.org/en/resources/idn/variant-tlds">
    <front><title>IDN Variant TLDs</title>
       <author>
           <organization>ICANN</organization>
       </author>
       <date />
    </front>
 </reference>
 }}}

 v2 output:
 {{{
    [VARIANTTLDS]
               ICANN, "IDN Variant TLDs", ,
               <http://www.icann.org/en/resources/idn/variant-tlds>.
 }}}

 v1 output:
 {{{
    [VARIANTTLDS]
               ICANN, "IDN Variant TLDs",
               <http://www.icann.org/en/resources/idn/variant-tlds>.
 }}}

-- 
-----------------------------+----------------------------------
 Reporter:  [email-masked]  |      Owner:  [email-masked]
     Type:  defect           |     Status:  new
 Priority:  medium           |  Milestone:
Component:  Version 2 cli    |    Version:  2.4.x
 Keywords:                   |
-----------------------------+----------------------------------

Ticket URL: <http://trac.tools.ietf.org/tools/xml2rfc/trac/ticket/155>
xml2rfc <http://tools.ietf.org/tools/xml2rfc/>