- From: François Beaufort via GitHub <sysbot+gh@w3.org>
- Date: Thu, 12 Dec 2019 08:10:55 +0000
- To: public-web-nfc@w3.org
> Parsing records from bytes > Per `9.11.9.1 Parsing records from bytes`: > > > If idLength > 0, let ndef's id be result of running UTF-8 decode on the next idLength (ID field) bytes, or else let ndef's id be the empty string. > > It should be empty string. NFC spec says `The value 0x00 (Empty) indicates that there is no type or payload associated with this NDEF record. When used, the TYPE_LENGTH, ID_LENGTH and PAYLOAD_LENGTH fields are zero and the TYPE, ID and PAYLOAD fields are omitted from the NDEF record.` So I guess I would say `null` instead of empty string. Let 's hear what @zolkis and @kenchris think as well. -- GitHub Notification of comment by beaufortfrancois Please view or discuss this issue at https://github.com/w3c/web-nfc/pull/463#issuecomment-564897216 using your GitHub account
Received on Thursday, 12 December 2019 08:10:58 UTC