[JDEV] jabber login question
Peter Saint-Andre
stpeter at jabber.org
Mon Apr 9 19:38:36 CDT 2001
Ah, that's why I didn't include it before. :P
David Waite wrote:
>
> 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
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
--
Peter Saint-Andre
stpeter at jabber.org
More information about the JDev
mailing list