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

<email> cardinality #4

Closed
reschke opened this issue Jan 24, 2017 · 5 comments
Closed

<email> cardinality #4

reschke opened this issue Jan 24, 2017 · 5 comments

Comments

@reschke
Copy link
Contributor

reschke commented Jan 24, 2017

(from https://tools.ietf.org/tools/xml2rfc/trac/ticket/36)

reference.RFC.2507.xml has two email addresses for one of the authors, which breaks formatting in "strict" mode.

This seems to be on purpose; the RFC indeed specifies two comma, separated addresses.

We either need to fix the generation script, or xml2rfc's DTD.

Looking at my collection of RFCs, this seems to be used now and then;

rfc4844.unpg: EMail: ​ledaigle@cisco.com, ​leslie@thinkingcat.com
rfc4845.unpg: EMail: ​ledaigle@cisco.com, ​leslie@thinkingcat.com
rfc5741.unpg: EMail: ​daigle@isoc.org, ​leslie@thinkingcat.com
rfc6185.unpg: EMail: ​tom.kristensen@tandberg.com, ​tomkri@ifi.uio.no
rfc7269.unpg: EMail: ​chengang@chinamobile.com, ​phdgang@gmail.com
rfc7269.unpg: EMail: ​caozhen@chinamobile.com, ​zehn.cao@gmail.com
rfc7445.unpg: EMail: ​phdgang@gmail.com, ​chengang@chinamobile.com

@paulehoffman
Copy link
Contributor

This seems more like a feature request for <address> than for <email>. An easy solution would be to allow zero-or-more of any of the children in <address>, not just zero-or-one.

@reschke
Copy link
Contributor Author

reschke commented May 22, 2020

More recent uses:

rfc8316.xml:        <email>ludwig@clemm.org, alexander.clemm@huawei.com</email>
rfc8345.xml:      <email>ludwig@clemm.org, alexander.clemm@huawei.com</email>
rfc8346.xml:        <email>ludwig@clemm.org, alexander.clemm@huawei.com</email>
rfc8366.xml:            <email>tte+ietf@cs.fau.de, toerless.eckert@huawei.com</email>
rfc8368.xml:                            <email>tte+ietf@cs.fau.de, toerless.eckert@huawei.com</email>
rfc8855.xml:        <email>tom.kristensen@jotron.com, tomkri@ifi.uio.no</email>
rfc8856.xml:        <email>tom.kristensen@jotron.com, tomkri@ifi.uio.no</email>

@reschke
Copy link
Contributor Author

reschke commented May 22, 2020

see #143 - @levkowetz - is this something you would add in xml2rfc?

jrlevine added a commit that referenced this issue May 28, 2020
allow multiple instances of <email> in <address> (#4)
@reschke reschke closed this as completed May 29, 2020
@reschke
Copy link
Contributor Author

reschke commented Jun 3, 2020

Feature request for xml2rfc in https://trac.tools.ietf.org/tools/xml2rfc/trac/ticket/522 - implementation in https://pypi.org/project/xml2rfc/2.46.0/

@reschke reschke mentioned this issue Dec 29, 2020
@stpeter
Copy link
Collaborator

stpeter commented Feb 10, 2021

FWIW I agree with @paulehoffman - allow zero-or-more instances of any child of the address element. This would also solve #161

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

No branches or pull requests

3 participants