- From: Han Leon via GitHub <sysbot+gh@w3.org>
- Date: Mon, 16 Dec 2019 05:42:02 +0000
- To: public-web-nfc@w3.org
About https://w3c.github.io/web-nfc/#validating-external-type, - it does not seem to be validating the following rule for external types, so I want to confirm whether the following rule is already stale? > An external type name A DOMString representing a custom type for the external type record. The type must follow the external type name ABNF. ext-type = reg-name ":" custom-type custom-type = 1*(ALPHA / DIGIT / other) DIGIT = %x30-39 ALPHA = %x41-5A / %x61-7A ; A-Z / a-z other = "(" / ")" / "+" / "," / "-" / ":" / "=" / "@" / ";" / "$" / "_" / "!" / "*" / "'" / "." - Step 2, do we need to make sure that `input` contains a colon `:` before returning it? > If input does not start with colon (':'), return input. Because of the definition > The [NFC-RTD] specifies that external types MUST contain the domain name of the issuing organization, a colon and a type name that is at least one character long. -- GitHub Notification of comment by leonhsl Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/350#issuecomment-565913847 using your GitHub account
Received on Monday, 16 December 2019 05:42:03 UTC