The bug
Resource locations with a colon as namespace separator but without namespace are considered valid. The point of the separator is that you provide a namespace and therefore these resource locations should be considered invalid.
How to reproduce
/give @s :stone
Can confirm in 20w49a.