Including references, was: [xml2rfc] Slides for edu presentation on xml2rfc in Dallas

julian.reschke at gmx.de (Julian Reschke) Tue, 14 March 2006 05:24 UTC

From: "julian.reschke at gmx.de"
Date: Tue, 14 Mar 2006 05:24:39 +0000
Subject: Including references, was: [xml2rfc] Slides for edu presentation on xml2rfc in Dallas
In-Reply-To: <1142341470.1361.26.camel@wintermute>
References: <4415FA14.3080202@dial.pipex.com> <44168090.4050001@gmx.de> <44169BDE.4010009@dial.pipex.com> <44169E48.1090000@gmx.de> <4416B2C8.2050209@gmx.de> <A427D1CE-E02B-4E6D-BE90-1DC57EF1BE58@lurchi.franken.de> <4416BB25.2010402@dial.pipex.com> <1142341470.1361.26.camel@wintermute>
Message-ID: <4416C3C9.3020705@gmx.de>
X-Date: Tue Mar 14 05:24:39 2006

Thomas Morin wrote:
> ...
> Another issue I have wrt using entities with XMLMind is that this editor
> will replace an entity ("&RFC2119;") by its content
> ("<reference>...</reference>" block) in the saved file, which is a pain
> because you lose the nice feature of having reference block updated when
> new drafts version are published.
> ...

I personally think that this is a non-feature. Furthermore, a risky one.

If I reference an Internet Draft, and that one changes, the last thing I 
want is that my xml2rfc processor silently updates the reference without 
myself knowing. Note that the I-D may have changed in a way that 
requires change in the referring document as well.

Best regards, Julian
>From tony at att.com  Tue Mar 14 11:39:33 2006
From: tony at att.com (Tony Hansen)
Date: Tue Mar 14 08:39:47 2006
Subject: [xml2rfc] Slides for edu presentation on xml2rfc in Dallas
In-Reply-To: <4416B60A.2000403@gmx.de>
References: <4415FA14.3080202@dial.pipex.com> <44168090.4050001@gmx.de>
	<44169BDE.4010009@dial.pipex.com> <44169E48.1090000@gmx.de>
	<Pine.LNX.4.64.0603141333200.27120@netcore.fi> <4416B2C8.2050209@gmx.de>
	<A427D1CE-E02B-4E6D-BE90-1DC57EF1BE58@lurchi.franken.de>
	<4416B60A.2000403@gmx.de>
Message-ID: <4416F1C5.6050508@att.com>

I tried converting a document from using <?rfc include...>.

My DOCTYPE looks like

    <!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
       <!ENTITY rfc2119 PUBLIC ''
    'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml'>
    ]>

and my <references> looks like:

    <references title="Normative References">
	&rfc2045;	<!-- mime part 1 -->
	&rfc2047;	<!-- mime part 3 -->
	&rfc2119;	<!-- keywords -->
	&rfc2822;	<!-- message format -->
        &rfc3028;	<!-- sieve -->
    </references>

Now I get an error message like this:

    Unable to Convert File

    can't read "xref(RFC3028)": no such element in array around input
    line 69

    Context (format:  "file_basename:line_in_file:#elem_num:<elem
    ...>"):
        CGI16048.2:66:#38:<t>
        CGI16048.2:65:#37:<section title="Introduction">
        CGI16048.2:64:#36:<middle>
        CGI16048.2:11:#1:<rfc ipr="full3978" category="std"
    docName="draft-ietf-sieve-mime-loop-01.txt">

The reference there looks like

    <xref target="RFC3028" />

Where am I doing something wrong?

	Tony Hansen
	tony@att.com

Julian Reschke wrote:
> I didn't argue with it being convenient :-).
> 
> The alternative is...:
> 
> <!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
>   <!ENTITY rfc2119 PUBLIC ''
> 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml'>
> ]>
> 
> and then....
> 
> <references>
>   &rfc2119;
> </references>