I should note that this list is for XMPP Standards discussion, and development
questions are more appropriately directed to the JDev list -
https://mail.jabber.org/mailman/listinfo/jdev
___
Standards mailing list
Info:
It sounds like you're trying to take the incoming XML stream as-is and separate
it into stanzas without properly parsing the XML. You will need to parse the
XML anyway to make use of it, so you may as well do it as it comes in.
Buffer the incoming raw data, and then parse XML components, and
On Sun, Jun 10, 2018, at 00:09, Daniel Corbe wrote:
> The chosen language here is Go and the few XMPP libraries that exist in our
> world are hilariously incomplete. So I’m stuck implementing a library for
> my application from scratch.
FWIW, I have an incomplete (though hopefully not
If you were waiting for CR/CRLF, you would similarly be reading “one byte
at a time” (probably buffering first and then seeing whether the buffer
contains a newline?).
What you are looking for are streaming XML parsers. You can do this in Go
with encoding/xml; you will get individual tokens which
On Sat, Jun 09, 2018 at 12:52:42AM +, Tedd Sterr wrote:
> 4) Proposed XMPP Extension: Ephemeral Messages -
> https://xmpp.org/extensions/inbox/ephemeral-messages.html
> Kev isn't entirely sure he even understands this one.
> Daniel has implemented burner messages before and doesn't think this