Re: [web-nfc] How to read/parse local types (#505)

Currently https://w3c.github.io/web-nfc/#dfn-validate-local-type just validates like

> If localTypeName does not start with a lowercase character or a number, return false.

but how about the rest of the type name?

I feel we better have the same validation rule as the type part of external type name, but unsure how the nfc forum spec regulates it.
> If type contains code points that are not ASCII alphanumeric, or U+0024 ($), U+0027 ('), U+0028 LEFT PARENTHESIS ((), U+0029 RIGHT PARENTHESIS ()), U+002A (*), U+002B (+), U+002C (,), U+002D (-), U+002E (.), U+003B (;), U+003D (=), U+0040 (@), U+005F (_), return false.

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

Received on Monday, 13 January 2020 07:28:36 UTC