[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [JDEV] Well-formed XML.



> From: owner-jdev@jabber.org [mailto:owner-jdev@jabber.org]On Behalf Of
> Jeremie
> Subject: RE: [JDEV] Well-formed XML.
> In case you missed it, you might want to check out the protocol
> changes/updates at:
> 	http://jabber.org/developers/archive/9902/msg00006.html

	Actually, I had some questions regarding this..  Is the entire connection
going to be treated as one large XML transaction, or will each conversation
between the client and server be a seperate XML transaction?  I.E., will it
work like this:

<?xml version="1.0"?>
<jabber type="client" version="Name/OS version/version" protocol="19990101">
<login>
	<user>jeremie</user>
	<pass>Ph0niks</pass>
	<name>jabalot</name>
</login>
<status>
	<say type='online'>This is my status</say>
	<priority>10</priority>
	<icon>normal</icon>
</status>
...rest of client communication happens in here
</jabber>

	or this?

<?xml version="1.0"?>
<jabber type="client" version="Name/OS version/version" protocol="19990101">
<login>
	<user>jeremie</user>
	<pass>Ph0niks</pass>
	<name>jabalot</name>
</login>
</jabber>
<jabber type="client" version="Name/OS version/version" protocol="19990101">
<status>
	<say type='online'>This is my status</say>
	<priority>10</priority>
	<icon>normal</icon>
</status>
</jabber>