[Standards] Off-by-one error in XEP-372 "References"

Sam Whited sam at samwhited.com
Sat Dec 5 13:43:41 UTC 2020


Oh yes, of course. I see what you're saying now.

—Sam

On Sat, Dec 5, 2020, at 01:24, Andrew Nenakhov wrote:
> сб, 5 дек. 2020 г. в 05:12, Sam Whited <sam at samwhited.com>:
> >
> >
> >
> > On Fri, Dec 4, 2020, at 23:34, Andrew Nenakhov wrote:
> > > 4. Start = first character (inclusive) and length = length of a
> > >    substring.
> >
> > This is the same as "1. Start = first character (inclusive), end =
> > last character (exclusive);"
>
> No.
>
> string: abcdefgh
>
> 4. start = 3, length = 2. Result: de
>
> With 1, it would be:
>
> 1. start = 3, end = 5. Result: de
>
>
>
>
> --
> Andrew Nenakhov CEO, redsolution, OÜ https://redsolution.com
> _______________________________________________
> Standards mailing list Info:
> https://mail.jabber.org/mailman/listinfo/standards Unsubscribe: Standards-
> unsubscribe at xmpp.org
> _______________________________________________
>

-- 
Sam Whited


More information about the Standards mailing list