On segunda-feira, 29 de fevereiro de 2016 04:41:03 PST ??? wrote:
> Hi. Thiago,
>  
> I found that when one receives a payload with an array attribute having
> empty element, an internal parsing error in ocpayloadparse.c file occurs
> and any notification for that is not sent to an app. Furthermore, the rest
> of attributes correctly encoded in the payload is not delivered to app, as
> well. I think, this would be a big issue. 
> It would be better to deliver an empty vector to app even for that situation
> because it is one of valid cases for array attribute. 
> How do you think of that?

Hello Jihun

I'm not sure you're talking about a CBOR error or about an ocpayloadparse.c 
error. Can you clarify which one it is?

You said you're getting a parsing error. Where? What was the input byte 
stream?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Reply via email to