Re: [web-nfc] local types need some prefix of a kind (#375)

Now since actually it's not `"text"` but `T` that is stored in the record, `"text"` could be a valid local type on NFC level. The constraint is added by Web NFC. 
We could possibly use `"T"` instead of `"text"` to denote text records in the Web NFC API, then someone would be able to use `"text"` as local type.

If we introduce any prefix for local types, it will conflict with another possible local type.

When we read, the implementation would know it's a `T` record, or is it local type with "text" and we could introduce a flag for marking it's a local type.

-- 
GitHub Notification of comment by zolkis
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/375#issuecomment-567004479 using your GitHub account

Received on Wednesday, 18 December 2019 12:04:46 UTC