It turned out that (sxml ssax input-parse) would reuse the same global buffer for each call to ‘next-token’ and ‘next-token-of’ (the Texinfo parser uses the latter). Fixed in 3b42b1eb526a85e4fac772e1837046e56e3b9bdc. Ludo’.