Feature #4568
closed
Added by Junxiao Shi over 6 years ago.
Updated about 6 years ago.
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.
- Status changed from New to In Progress
- Assignee set to Junxiao Shi
- Status changed from In Progress to Code review
- % Done changed from 0 to 100
- 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.
- % Done changed from 40 to 100
Change 3668 patchset2 implements TLV evolvability requirement.
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.
- Status changed from In Progress to Closed
- Tags set to Packet03Transition
Also available in: Atom
PDF