1 Aug 2006 01:01
RE: [Geopriv] URI restrictions in location conveyance, was Does Location-Conveyance have an HTTP dereferencemechanism defined
Rosen, Brian <Brian.Rosen <at> neustar.biz>
2006-07-31 23:01:46 GMT
2006-07-31 23:01:46 GMT
Sure, and so does: "Any URI can be used". That isn't necessarily a good
thing.
If the text is like the "this document describes how you use
sip/sips/pres" then the ABNF I suggested is more appropriate.
Any ABNF can be significantly reduced if the only thing you are trying
to convey with it is strict syntactic compliance. No significant
document with large hunks of ABNF in the IETF does that. We almost
always try to make the ABNF show as much of the semantic meaning as is
reasonable. If you follow the SIP threads, there are several messages a
month whose answer starts:
"you can't look at the ABNF alone, you have to read the text". To me,
this is a document failure, unless the ABNF was has to be so ugly to be
completely correct it fails to communicate. Alas, that happens. But if
it is possible to simply communicate the semantics in the ABNF, then it
is appropriate to do so.
You can use the "token" construction a whole lot more than we do if all
you want is syntax checking.
Lots of examples in 3261:
Priority = "Priority" HCOLON priority-value
priority-value = "emergency" / "urgent" / "normal"
/ "non-urgent" / other-priority
other-priority = token
Contact = ("Contact" / "m" ) HCOLON
( STAR / (contact-param *(COMMA contact-param)))
contact-param = (name-addr / addr-spec) *(SEMI contact-params)
(Continue reading)
RSS Feed