[erlang-questions] Documentation error in Diameter AVP specification?
Thu Mar 15 14:00:47 CET 2012
I think you are right! However, the new draft for RFC 3588
<Diameter Header> without the dash.
On 15 March 2012 11:44, Jeroen Koops <> wrote:
> Hi all,
> In the documentation for the Diameter dict-file format,
> at http://www.erlang.org/doc/man/diameter_dict.html, it says, under the
> @messages tag:
>> Defines the messages of the application. The section content consists of
>> definitions of the form specified in
>> section 3.2 of RFC 3588, "Command Code ABNF specification".
> The examples given show a diameter specified as follows: < Diameter Header:
> 287, REQ, PXY >
> However, RFC3588 specifies that a header should be specified as:
> header = "<" Diameter-Header:" command-id [r-bit] [p-bit] [e-bit]
> Note the dash in Diameter-Header. Using a dash in a .dia file causes an
> error when compiling the file with diameterc, so it seems that diameterc
> does not completely follow RFC3588.
> Am I misunderstanding something here, or is this a bug for which I can
> submit a patch? The best patch I can think of is to modify diameterc in such
> a way that both 'Diameter-Header' and 'Diameter Header' are accepted, with a
> note in the document saying that 'Diameter Header' is accepted but
> deprecated. An easier patch would jus add a note to the documentation
> pointing out the difference with the RFC.
> Jeroen Koops
> T: +31-6-55590300
> erlang-questions mailing list
More information about the erlang-questions