ietf-tools / ietf-tools/xml2rfc
xml2rfc does not accept "The Netherlands" as a country name
Open
Nobody has claimed this yet.
bug
rpat
- Dominant language
- HTML
- Stars
- 124
- Forks
- 79
- Avg merge
- 6h 30m
- Merged PRs (30d)
- 3
Description
Describe the issue
Specifying <country>The Netherlands</country> will cause xml2rfc to warn with the following message and not write the country name in the output:
"Warning: Country lookup failed for <country>The Netherlands</country>.
Use --country-help to show recognized country names and codes
Created file rfc9102.html"
I figure this isn't fixable given that the library used for addresses is not being updated. The workaround is to use "Netherlands" instead.
Code of Conduct
- I agree to follow the IETF's Code of Conduct
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the reported The Netherlands input and use --country-help to inspect the recognized names and codes. Done means xml2rfc accepts this country name, emits it in the generated output, and no longer produces the country-lookup warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- xml
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100