libs/web: allow zero-length string literals when parsing datatypes