Http-bind: "could not determine namespace bound to attribute prefix xmpp"


I am trying out OpenFire 3.50 with JsJAC 1.3 and am running into problems. The initial session request fails with a parse error I managed to find after debugging for a while: “could not determine namespace bound to attribute prefix xmpp”. For me it seems that for OpenFire “xmpp” namespace should be properly handled =)

I have compared requests with a few other client implementations I’ve found, and from what I can see the request from JsJaC is correct, but OpenFire still refuses to parse it.

The full request sent is:

POST /http-bind/ HTTP/1.0


Content-Type: text/xml; charset=utf-8

Content-Length: 261

<body hold=‘1’ xmlns=‘’ to=‘’ wait=‘300’ rid=‘862674’ route=‘’ secure=‘false’ newkey=‘281ff690a723cbf32a1de65d8da2eb7458727a98’ ver=‘1.6’ xmpp:xmlns=‘urn:xmpp:xbosh’ xmpp:version=‘1.0’></body>

And also the (modified) log message:

2008.04.12 16:13:15 Error parsing user request. org.xmlpull.v1.XmlPullParserException: could not determine namespace bound to attribute prefix xmpp (position: START_DOCUMENT seen …2b381be’ ver=‘1.6’ xmpp:xmlns=‘urn:xmpp:xbosh’ xmpp:version=‘1.0’>… @1:273)

Any help figuring this one out would be greatly appreciated. .