ietf-tools / xml2rfc

Generate RFCs and IETF drafts from document source in XML according to the IETF xml2rfc v2 and v3 vocabularies
https://ietf-tools.github.io/xml2rfc/
BSD 3-Clause "New" or "Revised" License
69 stars 39 forks source link

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

Closed ietf-svn-bot closed 11 years ago

ietf-svn-bot commented 11 years ago

owner:henrik@levkowetz.com resolution_fixed type_defect | by arusso@amsl.com


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>.

Issue migrated from trac:155 at 2022-02-05 12:31:55 +0000

ietf-svn-bot commented 11 years ago

@ietf@augustcellars.com changed status from new to closed

ietf-svn-bot commented 11 years ago

@ietf@augustcellars.com changed resolution from ` tofixed`

ietf-svn-bot commented 11 years ago

@ietf@augustcellars.com commented


Appears to be fixed in the current code