[JDEV] jabber login question

David Waite dwaite at jabber.com
Mon Apr 9 19:29:54 CDT 2001


err- this isn't required :-)

-David Waite

Jens Alfke wrote:

> On Monday, April 9, 2001, at 04:35 PM, Steve Dekorte wrote:
>
>      Can anyone tell me what I'm doing wrong?
>
> Yes. You didn't send an XML header before your open "<stream>" tag. You were probably copying from the Jabber Protocol Overview which makes the same mistake on page 2. The Jabber Programmer's Guide shows the correct login sequence on page 25 (and so does <plug>my Client Developer's Cheat Sheet</plug> that I just announced here today.)
>
> The header you need to start with is:
> <?xml version="1.0" encoding="UTF-8" ?>
> although you could specify a different encoding if it's more convenient for you.
>
> -Jens





More information about the JDev mailing list