Subject: [xml2rfc] #274 (Version 2 cli): handling of <section> title attribute is inconsistent

From: "xml2rfc issue tracker" <[email-masked]>
Date: Wed, 17 Sep 2014 18:05:35 -0000

#274: handling of <section> title attribute is inconsistent

 Consider this input:

 {{{
 <section title=" title  string ">
                #1     #2      #3
 }}}

 Note the leading whitespace !#1, the internal extra whitespace !#2, and
 the trailing whitespace !#3.

 Here's an example input:
 {{{
     <section title=' History of   XYZ with RFCs and Internet Drafts   '>
 }}}
 v1 output:
 {{{
    1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . . . 3
    2.  History of   XYZ with RFCs and Internet Drafts  . . . . . . . . 3
 }}}

 v2 output:
 {{{
    1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
    2.   History of   PDF with RFCs and Internet Drafts . . . . . . .   2
 }}}

 !#1) With v1, leading white space is stripped. With v2, leading white
 space is kept.
 !#2) With both v1 and v2, internal whitespace is maintained.
 !#3) With both v1 and v2, trailing whitespace is stripped. (The dots would
 have started later if they weren't.)

 I consider the different handling of !#1 in v2 to be a bug.

-- 
---------------------------+----------------------------------
 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/274>
xml2rfc <http://tools.ietf.org/tools/xml2rfc/>