Subject: [xml2rfc] Including an IEEE reference

From: Robert Moskowitz <[email-masked]>
Date: Thu, 24 Aug 2017 15:52:18 -0400

How do I include this IEEE reference?

http://xml2rfc.tools.ietf.org/public/rfc/bibxml6/reference.IEEE.802.1AR_2009.xml

<references title="Informative References">
         <?rfc include="reference.IEEE.802.1AR_2009.xml"?>
</references>

produces:

  draft-moskowitz-ecdsa-pki-2-00.xml: Line 246: Unable to resolve 
external request: "reference.IEEE.802.1AR_2009.xml"

---

From: Henrik Levkowetz <[email-masked]>
Date: Thu, 24 Aug 2017 22:24:09 +0200

Hi Bob,

> external request: "reference.IEEE.802.1AR_2009.xml"

This works for me:

At the top of  the document, update the doctype declaration:

  <!DOCTYPE rfc SYSTEM "rfc2629.dtd" [ 
    <!ENTITY ieee_802_1ar SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml6/reference.IEEE.802.1AR_2009.xml">
  ]>

In the references section, refer to the new entity:

  <references title="Informative References">
        <?rfc include="reference.RFC.7748.xml"?>
        &ieee_802_1ar;
  </references>   

Best regards,

	Henrik

---

From: Robert Moskowitz <[email-masked]>
Date: Thu, 24 Aug 2017 16:57:54 -0400

>      <!ENTITY ieee_802_1ar SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml6/reference.IEEE.802.1AR_2009.xml">

Short form that we use for IETF stuff does not work for IEEE.  Ok.

>          <?rfc include="reference.RFC.7748.xml"?>

I tried referencing this with:

         <xref target="ieee_802_1ar">IEEE 802.1AR</xref> iDevID Secure

But get an error

  draft-moskowitz-ecdsa-pki-2-00.xml: Line 70: IDREF attribute target 
references an unknown ID "ieee_802_1ar"

thanks

Bob

---

From: Robert Moskowitz <[email-masked]>
Date: Thu, 24 Aug 2017 18:42:56 -0400

On 08/24/2017 04:57 PM, Robert Moskowitz wrote:
>>      <!ENTITY ieee_802_1ar SYSTEM 
>> "https://xml2rfc.tools.ietf.org/public/rfc/bibxml6/reference.IEEE.802.1AR_2009.xml">
>>    ]>
>

         <xref target="IEEE.802.1AR_2009">IEEE 802.1AR</xref> iDevID Secure

Does it.