[jdev] xep-0078 stream statement is not well-formed xml - missing closing tag
stpeter at stpeter.im
Fri Jun 19 20:05:54 CDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
On 6/19/09 3:46 PM, Mason, Matt wrote:
> Greetings –
> Looking at XEP-0078
> In the example for the user authentication, the client opens a stream to
> the server.
> <stream:stream to='shakespeare.lit'
> 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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the JDev