[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [xdi] Re: Further ABNF adjustment
Markus, thanks for the recognition, glad to be able to help out. Drummond, do we need to exclude bare literals as segments at the syntax level? It seems to me they may be semantically trivial, but are syntactically consistent. Just experimenting with finding a minimal set of verification rules (for clarity, omitting naming all the productions we want as parsing results) if bare literals are allowed, the grammar can be as short as: address = 1*subseg [ "/" 1*subseg [ "/" 1*subseg ] ] ; subseg = [ "=" / "@" / "+" / "$" ] [ "*" / "!" ] [ xref / literal ] ; xref = "(" [ IRI / address ] ")"; literal = 1*[ iunreserved / pct-encoded / "&" / ";" / "," / "'" / ":" ] ; On Jan 31, 2013, at 11:30 PM, Drummond Reed <drummond@connect.me> wrote:
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]