[web-nfc] How does NFCScanOptions#recordType filter external type records? (#327)

leonhsl has just created a new issue for https://github.com/w3c/web-nfc:

== How does NFCScanOptions#recordType filter external type records? ==
When reading ndef messages, do we want to match `NFCScanOptions#recordType` exactly for external type records?
By reading the current spec, for `NFCScanOptions#recordType` being 'abc.com:xyz', we only filter those ndef messages containing at least one external type record with type field being exactly 'abc.com:xyz'. 

That is to say, we can filter all 'text' records by specifying `NFCScanOptions#recordType` as 'text', so do 'url', 'json', and 'opaque', but we can not filter all external type records.

I want to confirm whether this is expected behavior for matching external type records.

Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/327 using your GitHub account

Received on Monday, 2 September 2019 09:34:07 UTC