Open matt-martin opened 1 year ago
The specification says that the valid values for MspaCoveredTransaction are:
1 Yes 2 No
1
2
But this field is given a default value of 0 here: https://github.com/IABTechLab/iabgpp-java/blob/2d39d9648443b92a572c447b015c4307822b0e09/iabgpp-encoder/src/main/java/com/iab/gpp/encoder/section/UspNatV1.java#L56
Should the spec be updated to say that 0 is valid? Or would it make sense to use a different default in the code?
0 is invalid; the code here is wrong
The specification says that the valid values for MspaCoveredTransaction are:
But this field is given a default value of 0 here: https://github.com/IABTechLab/iabgpp-java/blob/2d39d9648443b92a572c447b015c4307822b0e09/iabgpp-encoder/src/main/java/com/iab/gpp/encoder/section/UspNatV1.java#L56
Should the spec be updated to say that 0 is valid? Or would it make sense to use a different default in the code?