[JDEV] jabber login question

Jens Alfke jens at mooseyard.com
Mon Apr 9 19:07:22 CDT 2001

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 928 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20010409/44656712/attachment-0002.bin>

More information about the JDev mailing list