unmk2 / jaxl

Automatically exported from code.google.com/p/jaxl
GNU General Public License v3.0
0 stars 0 forks source link

XEP0113 is broken #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I try some command like getUserList or addUser, the payload inside 
function handleForm() has a different format than expected.

Array ( [to] => admin@10.0.0.191/jaxl.1.1321004525 [from] =>
10.0.0.191 [id] => a [type] => result [xml:lang] => )

Notice: Undefined index: iq in C:\_svn\eworks\trunk\web\main\xmpp\xep
\jaxl.0133.php on line 70

It seems that the function refers to a differently parsed payload.

Here follows an example of a complete payload for addUser:

<iq from='10.0.0.191' to='admin@10.0.0.191/jaxl.1.1321004525' id='a'
type='result'>
<command xmlns='http://jabber.org/protocol/commands'
sessionid='2011-11-11T09:41:58.250000Z' node='http://jabber.org/
protocol/admin#add-user' status='executing'><x
xmlns='jabber:x:data'><field type='hidden'
var='FORM_TYPE'><value>http://jabber.org/protocol/admin</value></
field><title>Add User</title><field type='jid-single' label='Jabber
ID' var='accountjid'><required/></field><field type='text-private'
label='Password' var='password'><required/></field><field type='text-
private' label='Password Verification' 
var='password-verify'><required/></field></x></command></iq>

The tag 'command' is ignored by the payload parser.

Original issue reported on code.google.com by m.vezze...@gmail.com on 14 Nov 2011 at 8:46

GoogleCodeExporter commented 9 years ago
Hello Friends,

I am no longer accepting issues/bugs on google code issue list.

Have any Question? Want to discuss? Need Help? Use Google Group/Forum.
https://groups.google.com/forum/#!forum/jaxl

Found something missing or a bug in the source code? Kindly report an issue.
https://github.com/abhinavsingh/JAXL/issues

Sorry for any inconvenience caused.

--
Abhinav

Original comment by mailsfor...@gmail.com on 12 Sep 2012 at 9:50