Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sort of references should disregard capitalization #295

Closed
ietf-svn-bot opened this issue May 13, 2015 · 8 comments
Closed

sort of references should disregard capitalization #295

ietf-svn-bot opened this issue May 13, 2015 · 8 comments
Labels

Comments

@ietf-svn-bot
Copy link

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


In the references section, when sortrefs="yes", the sort should be alphabetical without regard for capitalization. (Apparent exception is that RFCs get listed first, rather than being incorporated into the sort; that's fine.)

This ticket is similar to #255 regarding the index. And perhaps related to the fix for #250.

This example is from an author-submitted XML file.

Order of references in output (v2.4.12) - not desired

   [OpenWSN]
 
   [OpenWSNETT]
 
   [IPSO]
 
   [CurrentCalculator]
 
   [doherty07channel]
 
   [tinka10decentralized]
 
   [watteyne09reliability]
 
   [TASA-PIMRC]

   [palattella12standardized]

Desired output

   [CurrentCalculator]
 
   [doherty07channel]
 
   [IPSO]

   [OpenWSN]
 
   [OpenWSNETT]

   [palattella12standardized]
 
   [TASA-PIMRC]
 
   [tinka10decentralized]
 
   [watteyne09reliability]

Issue migrated from trac:295 at 2022-02-05 12:41:05 +0000

@ietf-svn-bot
Copy link
Author

@arusso@amsl.com uploaded file draft-ietf-6tisch-tsch-06.original.xml (47.0 KiB)

@ietf-svn-bot
Copy link
Author

@arusso@amsl.com uploaded file draft-ietf-6tisch-tsch-06.original.txt (49.1 KiB)

@ietf-svn-bot
Copy link
Author

@arusso@amsl.com commented


Correction. Should have been with sortrefs="yes".

v2 output (not desired)

   [IPSO]

   [OpenWSN]

   [OpenWSNETT]

   [RFC2205] etc. [all RFC entries]  

   [TASA-PIMRC]

   [doherty07channel]

   [palattella12standardized]

   [tinka10decentralized]

   [watteyne09reliability]

Desired output as in the ticket (with RFCs incorporated).

(Disregard my note about "apparent exception".)

@ietf-svn-bot
Copy link
Author

@arusso@amsl.com uploaded file draft-ietf-6tisch-tsch-06.with_sortrefs.xml (47.1 KiB)

@ietf-svn-bot
Copy link
Author

@arusso@amsl.com uploaded file draft-ietf-6tisch-tsch-06.with_sortrefs.txt (49.1 KiB)

@ietf-svn-bot
Copy link
Author

@henrik@levkowetz.com changed status from new to closed

@ietf-svn-bot
Copy link
Author

@henrik@levkowetz.com changed resolution from `` to fixed

@ietf-svn-bot
Copy link
Author

@henrik@levkowetz.com commented


Fixed in 9e53096:

Made the reference sorting when using symrefs=yes and sortrefs=yes case-insensitive by mapping the reference keys to lowercase. This is correct for ASCII keys but not necessarily for non-ASCII keys, depending on locale. Fixes issue #295 (for now).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant