Feature #4568
closedDecode v0.3 Data
100%
Description
In Packet03Transition, Data in v0.3 format makes MetaInfo and Content optional.
This issue is to change ndn::Data
class so that the decoder can accept a Data with omitted MetaInfo and Content. Validators shall also accept such packets.
The encoder shall continue to emit empty MetaInfo and Content elements, so that the packets are compatible with both formats.
Updated by Junxiao Shi over 6 years ago
- Status changed from New to In Progress
- Assignee set to Junxiao Shi
Updated by Junxiao Shi over 6 years ago
- Status changed from In Progress to Code review
- % Done changed from 0 to 100
Updated by Junxiao Shi over 6 years ago
- Status changed from Code review to In Progress
- % Done changed from 100 to 40
I realize that v0.3 has evolvability requirement, so implementation in patchset1 is incomplete.
Updated by Junxiao Shi over 6 years ago
- % Done changed from 40 to 100
Change 3668 patchset2 implements TLV evolvability requirement.
Updated by Junxiao Shi over 6 years ago
Validators shall also accept a Data with omitted MetaInfo and Content.
I'm confident this would work (just omitting MetaInfo and Content), but I won't add a test case for now.
Test case for this and other possible v0.3 encoding (injecting unrecognized non-critical elements) would come in #4583.
Updated by Davide Pesavento over 6 years ago
- Status changed from In Progress to Closed