[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SKiCal ABNF Quirk



At 22:36 06/09/2000 -0400, Bruce_Kahn@xxxxxxxx wrote:
Ok, Ill admit Im no ABNF guru but I think the ABNF in the draft needs to be changed to be 'proper'. The format does not quite seem normal based on my limited RFC 2445-2447 ABNF exposure but Ill see if I can put my finger on it. In the SKiCal draft the first example is:

     Personroleparam  = "DIPROLE" "=" text
                      ; It is RECOMMENDED that the text value be
                      ; chosen from a list, as described in section 4
                      ; of this memo. One example of such a list is
                      ; given here:

                       "PERFORMER"  ; Appearing at the event
                       "CREATOR"    ; Not necessarily present
                       "COMPOSER"
                       "CONDUCTOR"
                       "ARTIST"
                       "EDITOR"
                       "PRODUCER"
                       "GUIDE"
                       "SPEAKER"
                       "CHAIR"
                       "PRESENT"    ; At the event
                       "REFERENCED" ; Not present at the event
                       "INVITED"

As written, a Personroleparam can only have the value
DIPROLE=<any text>PERFORMERCREATORCOMPOSERCONDUCTORARTISTEDITORPRODUCERGUIDESPEAKERCHAIRPRESENTREFERENCEDINVITED, which is probably not what was intended.


If you want the examples to be examples, put a semicolon to the left of them.
If you don't, they are part of the grammar - and putting items one after the other means that they are concatenated, not that they are alternatives.


--
Harald Tveit Alvestrand, alvestrand@xxxxxxxxx
+47 41 44 29 94
Personal email: Harald@xxxxxxxxxxxxx