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

Fix references resolved by xml2rfc #185

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 16 additions & 17 deletions yang-module-versioning/draft-ietf-netmod-yang-module-versioning.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1295,25 +1295,24 @@ module ietf-yang-library-revisions {
<?rfc needLines="20"?>
<back>
<references title="Normative References">
<?rfc include='reference.RFC.2119'?>
<?rfc include='reference.RFC.3688'?>
<?rfc include='reference.RFC.6020'?>
<?rfc include='reference.RFC.8174'?>
<?rfc include='reference.RFC.7950'?>
<?rfc include='reference.RFC.8407'?>
<?rfc include='reference.RFC.8525'?>
<?ref include='reference.I-D.ietf-netmod-yang-semver'?>
<?ref include='reference.I-D.ietf-netmod-rfc6991-bis'?>
<?rfc include='reference.RFC.2119.xml'?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why we need to add .xml to the references, this looks unusual to me. But I agree with removing the stale reference to rfc6991-bis

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, we import ietf-netmod-rfc6991-bis in the YANG module, so I think that the fix is to go the other way and explicitly state and reference that module.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please can you still check that it works with:

https://author-tools.ietf.org/

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xml2rfc --legacy works fine. Should I migrate the document to xml2rfc v3 instead?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it'd be great if you could do that.

<?rfc include='reference.RFC.3688.xml'?>
<?rfc include='reference.RFC.6020.xml'?>
<?rfc include='reference.RFC.8174.xml'?>
<?rfc include='reference.RFC.7950.xml'?>
<?rfc include='reference.RFC.8407.xml'?>
<?rfc include='reference.RFC.8525.xml'?>
<?ref include='reference.I-D.ietf-netmod-yang-semver.xml'?>
</references>
<references title="Informative References">
<?rfc include='reference.RFC.8340'?>
<?rfc include='reference.I-D.clacla-netmod-yang-model-update'?>
<?rfc include='reference.I-D.ietf-netmod-yang-instance-file-format'?>
<?rfc include='reference.I-D.ietf-netmod-yang-packages'?>
<?ref include='reference.I-D.ietf-netmod-yang-ver-selection'?>
<?rfc include="reference.I-D.ietf-netmod-yang-solutions"?>
<?ref include='reference.I-D.ietf-netmod-yang-versioning-reqs'?>
<?ref include='reference.I-D.ietf-netmod-yang-schema-comparison'?>
<?rfc include='reference.RFC.8340.xml'?>
<?rfc include='reference.I-D.clacla-netmod-yang-model-update.xml'?>
<?rfc include='reference.I-D.ietf-netmod-yang-instance-file-format.xml'?>
<?rfc include='reference.I-D.ietf-netmod-yang-packages.xml'?>
<?ref include='reference.I-D.ietf-netmod-yang-ver-selection.xml'?>
<?rfc include='reference.I-D.ietf-netmod-yang-solutions.xml'?>
<?ref include='reference.I-D.ietf-netmod-yang-versioning-reqs.xml'?>
<?ref include='reference.I-D.ietf-netmod-yang-schema-comparison.xml'?>
<reference anchor="semver" target="https://www.semver.org">
<front>
<title>Semantic Versioning 2.0.0</title>
Expand Down