mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Fondermann <bf_...@brainlounge.de>
Subject Re: Moving new nbxml in trunk
Date Tue, 04 May 2010 15:34:52 GMT
Niklas Gustavsson wrote:
> On Tue, May 4, 2010 at 5:18 PM, Bernd Fondermann <bf_jak@brainlounge.de> wrote:
>> Plus, ignoring the tests, I get when connecting a client:
>>
>> 17:16:51,898 | DEBUG | org.apache.vysper.xml.sax.impl.XMLParser | Fatal
>> error: Text only allowed in element
>> 17:16:51,902 | WARN  | org.apache.mina.filter.logging.LoggingFilter |
>> EXCEPTION :
>> org.apache.mina.filter.codec.ProtocolDecoderException:
>> org.xml.sax.SAXParseException: Text only allowed in element (Hexdump: 3C
>> 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 2E 30 22 3F 3E 0A)
> 
> That's the XML declaration which should be fine. Could you activate
> trace log output and send me the log?

You mean the client stanza log? Sure:

>>>>
<?xml version="1.0"?>


<stream:stream xmlns:stream="http://etherx.jabber.org/streams"
version="1.0" xmlns="jabber:client" to="vysper.org" xml:lang="en"
xmlns:xml="http://www.w3.org/XML/1998/namespace" >
<<<<

BTW, that's common in real life XMPP streams: arbitrary whitespaces.
Some clients send spaces as keep-alives.

  Bernd

Mime
View raw message