Hi,
I have a doubt regarding Geolocation-Error header syntax provided in
draft-ietf-sip-location-conveyance-09.txt.
I am referring this draft to implementing location based service in PCSCF. As
per this draft, syntax of Geolocation-Error header is like below:
Geolocation-Error = "Geolocation-Error" HCOLON
[locationErrorValue
*(COMMA locationErrorValue)]
locationErrorValue = location-error-code *(SEMI
location-error-params)
location-error-code = 1*3DIGIT
location-error-params = location-error-node-id
/ DQOUTE location-error-host-id DQOUTE
/ CAtype *(SEMI CAtype)
/ DQOUTE location-error-code-text DQOUTE
/ generic-param ; from RFC3261
location-error-node-id = "node" EQUAL hostname; from RFC3261
location-error-host-id = "inserter" EQUAL hostname ; from RFC3261
CAtype = "CAtype" EQUAL civic-code *SEMI "CAtype"
EQUAL civic-code)
location-error-code-text = "code" EQUAL quoted-string ; from RFC3261
civic-code = IANA registered CAtypes; from
But in an example it has given like this.
Geolocation-Error: 106; "node=bob.example.com";
"inserter=alice.example.com";
CAtype=A3; CAtype=STS;
code="incomplete location supplied"
These are the conflicts between syntax and example:
1>As per example, there should be DQOUTE for location-error-node-id, but in
syntax it is missing.
2>As per syntax, there should be DQOUTE for location-error-code-text. But in
example, it does not have DQOUTE, like how it is present for nod and
inserter parameters. It is just having "code" EQUAL quoted-string.
I feel, syntax for Geolocation-Error header specified in this draft is not
correct. I think syntax for both nod and inserter parameters should be same
and DQOUTE should not be present for location-error-code-text. I am providing
an example, how it can be:
Geolocation-Error: 106; node=bob.example.com;
inserter=alice.example.com;
CAtype=A3; CAtype=STS;
code="incomplete location supplied"
Please let me know your suggestions.
Thanks
Debendra
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors