A specification of a Person structure in XML. Rewrite this specification using protocol buffers.
What will be an ideal response?
The Person structure in protocol buffers would simply look like:
```
message Person {
optional string id = 1;
required string name = 2;
required string place = 3;
required int32 year = 4;
}
```
The id field could be left out as, strictly speaking, it is not an intrinsic part of the person structure (as in the CORDA CDR version for example). Note that this specification is not exactly equivalent to the XML version as it is not self-describing. It is possible to include such descriptions in protocol buffers.
You might also like to view...
The first step in selecting software is ________
A) searching the Internet for appropriate software B) setting a budget for software purchases C) identifying tasks you want the computer to do D) choosing a vendor from which to purchase your new software
When data is imported into Excel from Access, a permanent connection is created
Indicate whether the statement is true or false