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

No Subject




Hey folks.  I was experimenting with creating an SMIng parser and came
across the following issue (was creating rather confused tokens).
According to draft-ietf-sming-01.txt section 6...

   "Note that double quotes are not allowed inside textual descriptions
   which are itself enclosed in double quotes. So they have to be replaced
   by single quotes."

However, extension snmp's abnf statement (draft-ietf-sming-snmp-01.txt),
sming-snmp.abnf, contains double quotes.  Should these not be changed to
single quotes?  e.g.

       extension snmp {

           description
              "The snmp statement maps SMIng definitions to SNMP
               conformant definitions.";
           abnf "
...
   snmpStatement           = snmpKeyword *1(sep lcIdentifier) optsep
                    ------->   "{" stmtsep
                                 *1(oidStatement stmtsep)
                                 *(nodeStatement stmtsep)
                                 *(scalarsStatement stmtsep)
                                 *(tableStatement stmtsep)
                                 *(notificationStatement stmtsep)
                                 *(groupStatement stmtsep)
                                 *(complianceStatement stmtsep)
                                 *1(statusStatement stmtsep)
                                 descriptionStatement stmtsep
                                 *1(referenceStatement stmtsep)
                    -------> "}" optsep ";" <-------
...

(Note... The double quotes aren't confined to this particular element of
snmp's abnf statement.)