[rfc-i] Non-contiguous URL numbers in text format

Jeffrey Yasskin jyasskin at chromium.org
Mon Aug 28 16:43:01 PDT 2017


Here's another example where similar links actually cause the citations to
fail to match:

...
    <note title="Note to Readers">
<t>The source code and issues list for this draft can be found
in <eref target="https://github.com/org/repo">https://github.com/org/repo
</eref>.</t>
    </note>
  </front>
  <middle>
<section anchor="introduction" title="Introduction">
<t><eref target="https://this.is.2.in/the/body/but/1/in/the/refs/
">Misnumbered</eref></t>
...


Produces:

1.  Introduction

   Misnumbered [2]

2.  References

2.1.  URIs

   [1] https://this.is.2.in/the/body/but/1/in/the/refs/



On Mon, Aug 28, 2017 at 3:39 PM, Jeffrey Yasskin <jyasskin at chromium.org>
wrote:

> Hi RFC folks,
>
> If this isn't the right place to report a bug with xml2rfc, please
> point me toward the right place. I found you via
> https://xml2rfc.tools.ietf.org/experimental.html.
>
> The attached XML (generated via kramdown-rfc2629 from the attached
> markdown) produces URLs [1] and [3], but not [2]. The three links are:
>
> <t><eref target="https://example.com/link1">Link 1</eref></t>
> <t><eref target="https://example.com/link2">https://example.com/link2
> </eref></t>
> <t><eref target="mailto:link2 at example.com">link2 at example.com</eref></t>
>
> And from that `xml2rfc test.xml` generates the following text:
>
> 1.  Introduction
>
>    Link 1 [1]
>
>    https://example.com/link2
>
>    link2 at example.com [3]
>
> 2.  References
>
> 2.1.  URIs
>
>    [1] https://example.com/link1
>
>    [3] mailto:link2 at example.com
>
> Jeffrey
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rfc-editor.org/pipermail/rfc-interest/attachments/20170828/7d8528d6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.md
Type: text/markdown
Size: 553 bytes
Desc: not available
URL: <http://www.rfc-editor.org/pipermail/rfc-interest/attachments/20170828/7d8528d6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.xml
Type: text/xml
Size: 1812 bytes
Desc: not available
URL: <http://www.rfc-editor.org/pipermail/rfc-interest/attachments/20170828/7d8528d6/attachment.xml>


More information about the rfc-interest mailing list