[prev in list] [next in list] [prev in thread] [next in thread]
List: jabber-jdev
Subject: Re: [jdev] xep-0078 stream statement is not well-formed xml -
From: Peter Saint-Andre <stpeter () stpeter ! im>
Date: 2009-06-20 1:05:54
Message-ID: 4A3C35F2.4050603 () stpeter ! im
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6/19/09 3:46 PM, Mason, Matt wrote:
> Greetings –
>
> Looking at XEP-0078
>
> http://xmpp.org/extensions/xep-0078.html#usecases-auth
>
> In the example for the user authentication, the client opens a stream to
> the server.
>
> <stream:stream to='shakespeare.lit'
> xmlns='jabber:client'
> xmlns:stream='http://etherx.jabber.org/streams'>
>
>
> However, the stream does not contain a closing tag (like />) for the XML
> statement. That is required for the xml to be well-formed.
>
> Am I missing something?
Yes. You need to read RFC 3920. :)
In essence, the closing </stream:stream> element is sent when the
session ends. That's why it's streaming XML...
> Also, I could not find a specification for the Stream ID, and what the
> rules for it's form should be. Any help on that area would be great.
See RFC 3920 here, too.
Peter
- --
Peter Saint-Andre
https://stpeter.im/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAko8NfIACgkQNL8k5A2w/vztYQCcCm+iGbH8MOUriDL58yTT9g9n
wXQAni5gVqe12ea3QIphuLmXaV75CaQe
=K/ED
-----END PGP SIGNATURE-----
_______________________________________________
JDev mailing list
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe@jabber.org
_______________________________________________
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic