Re: request for feedback: RFC2616 BNF name collisions

Julian Reschke wrote:

> Alexey Melnikov wrote:
>
>>> vs "Host" (the header name)
>>>
>>> I currently have a slight preference for not changing the rule names 
>>> for headers (and to keep them consistent), which would require 
>>> renaming "trailer" and "host" to something else.
>>>
>>> Alternatively we could rename the rule names for the headers by 
>>> adding a common prefix or postfix.
>>
>> IMHO, that would be slightly better if you want to reference RFC 2396 
>> or RFC 3986. It would also prevent any future conflicts.
>>
>> But you can also do something like the following for the <host>:
>>
>> uri-host = <host as defined in RFC 3986>
>
> Funny enough right now by edits say:
>
> host-component = <host, defined in [RFC2396], Section 3.2.2>

Too bad that ABNF doesn't allow for namespaces ;-).

Received on Wednesday, 21 November 2007 19:36:08 UTC