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

XEP-0047: fix incorrect max sequence number #1008

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

SamWhited
Copy link
Member

Previously the text said that the max sequence number was 65535 (max
unsigned 16 bit integer), but also said this was (1<<15)-1, which is
actually max signed 16 bit integer or 32767.

This spec is final and therefore will need council review but per XEP-0001 can still be modified in small ways. I think this fits within the scope of "backwards compatible" modifications since it's effectively just a typo fix.

Previously the text said that the max sequence number was 65535 (max
unsigned 16 bit integer), but also said this was (1<<15)-1, which is
actually max signed 16 bit integer or 32767.
@horazont horazont self-assigned this Dec 1, 2020
@horazont horazont added the Needs Council The affected XEP has the Council as Approving Body and it needs to decide on the change. label Dec 1, 2020
@Flowdalic
Copy link
Contributor

I'd like to note that the schema also declares 'seq' to be of type xs:unsignedShort, which is a 16-bit unsigned integer. All in all, this is just an editorial change.

@horazont horazont added Needs Version Block The change requires a version block, and this is to be done by Editors at merge time. Ready To Merge No acknowledgements of other parties are needed anymore. There may be changes to do at merge time. and removed Needs Council The affected XEP has the Council as Approving Body and it needs to decide on the change. labels Jan 12, 2021
@horazont horazont merged commit baff857 into xsf:master Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Version Block The change requires a version block, and this is to be done by Editors at merge time. Ready To Merge No acknowledgements of other parties are needed anymore. There may be changes to do at merge time.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants