hassanakbar4 / tractive-test

0 stars 0 forks source link

within reference's title, should ignore final whitespace #171

Closed hassanakbar4 closed 3 years ago

hassanakbar4 commented 11 years ago

component_Version 2 cli resolution_fixed type_defect | by arusso@amsl.com


For reference's title element, it seems v2 should ignore the whitespace (as v1 does), but the output has an extra space.

v1 output (good):
   [RFC2560]  Myers, M., Ankney, R., Malpani, A., Galperin, S., and C.
              Adams, "X.509 Internet Public Key Infrastructure Online
              Certificate Status Protocol - OCSP", RFC 2560, June 1999.

   [RFC3447]  Jonsson, J. and B. Kaliski, "Public-Key Cryptography
              Standards (PKCS) #1: RSA Cryptography Specifications
              Version 2.1", RFC 3447, February 2003.

   [RFC4627]  Crockford, D., "The application/json Media Type for
              JavaScript Object Notation (JSON)", RFC 4627, July 2006

v2 output (bad. extraneous space in title):
   [RFC2560]  Myers, M., Ankney, R., Malpani, A., Galperin, S., and C.
              Adams, "X.509 Internet Public Key Infrastructure Online
              Certificate Status Protocol - OCSP ", RFC 2560, June 1999.

   [RFC3447]  Jonsson, J. and B. Kaliski, "Public-Key Cryptography
              Standards (PKCS) #1: RSA Cryptography Specifications
              Version 2.1 ", RFC 3447, February 2003.

   [RFC4627]  Crockford, D., "The application/json Media Type for
              JavaScript Object Notation (JSON) ", RFC 4627, July 2006.

XML: http://www.ietf.org/id/draft-laurie-pki-sunlight-12.xml (needs <!DOCTYPE rfc SYSTEM "rfc2629.dtd"> added)

(Note: you could get the right output by removing a space and CR from the XML file, but v1 handled it OK. Also, this issue could be avoided by using the citation library.)


Issue migrated from trac:171 at 2021-10-20 18:05:24 +0500

hassanakbar4 commented 11 years ago

@{"email"=>"tony@att.com", "name"=>nil, "username"=>nil} commented


use this link instead: ​http://tools.ietf.org/id/draft-laurie-pki-sunlight-12.xml

hassanakbar4 commented 11 years ago

@{"email"=>"tony@att.com", "name"=>nil, "username"=>nil} changed status from new to assigned

hassanakbar4 commented 11 years ago

@{"email"=>"tony@att.com", "name"=>nil, "username"=>nil} changed owner from henrik@levkowetz.com to tony@att.com

hassanakbar4 commented 11 years ago

@{"email"=>"tony@att.com", "name"=>nil, "username"=>nil} commented


fixed in 939 the issue affected both title and organization -- need to add a strip() when used

there may be other fields that have a similar issue

hassanakbar4 commented 11 years ago

@{"email"=>"tony@att.com", "name"=>nil, "username"=>nil} changed status from assigned to closed

hassanakbar4 commented 11 years ago

@{"email"=>"tony@att.com", "name"=>nil, "username"=>nil} changed resolution from ` tofixed`