ietf-tools / xml2rfc

Generate RFCs and IETF drafts from document source in XML according to the IETF xml2rfc v2 and v3 vocabularies
https://ietf-tools.github.io/xml2rfc/
BSD 3-Clause "New" or "Revised" License
65 stars 38 forks source link

fix: Warn when reference uses PIs #1007

Closed kesara closed 1 year ago

kesara commented 1 year ago

XInclude should be used instead of ENTITY references and XML Processing Instructions (PIs) that allow external inclusions [1].

This change adds a warning when include PIs (<?rfc include='<reference>' ?>) are used with xml2rfc v3.

Fixes #1006

[1] https://datatracker.ietf.org/doc/html/rfc7991#appendix-B.1