Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

empty segments allowed (non-I18N) #174

Closed
aphillips opened this issue Mar 23, 2017 · 3 comments
Closed

empty segments allowed (non-I18N) #174

aphillips opened this issue Mar 23, 2017 · 3 comments

Comments

@aphillips
Copy link

https://www.w3.org/TR/IndexedDB-2/#key-path-construct

A DOMString consisting of two or more identifiers separated by periods (ASCII character code 46, U+002E FULL STOP).

There is no text prohibiting empty identifiers (allowing keypaths such as foo....moo with multiple empty identifiers between foo and moo). Is this intentional?

@inexorabletash
Copy link
Member

The line above that reads;

An identifier, which is a DOMString matching the IdentifierName production from the ECMAScript Language Specification [ECMA-262].

... and the production does not allow for the empty string. What am I missing?

@aphillips
Copy link
Author

Nothing. I missed that.

@inexorabletash
Copy link
Member

Cool, that's an easy one. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants