[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jabber-jdev
Subject:    Re: [jdev] Short thoughts about DNS/SRV, Unicode,
From:       Peter Saint-Andre <stpeter () stpeter ! im>
Date:       2011-02-17 15:11:20
Message-ID: 4D5D3A98.9090900 () stpeter ! im
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On 2/8/11 2:53 PM, Rene Treffer wrote:

> :: 2 - Encoding
> 
> Character Encoding: It is not clear if a client/server may send a UTF-8
> BOM (byte order marker). This should be clarified. I'm not in favor of
> either way, but it should be pointed out.
> Unicode: It is not clear how a stream should handle invalid (ill) utf-8
> sequences.

As Waqas pointed out, this is prohibited by 3920bis.

> :: 3 - XML Stanza namespaces
> 
> This is about the section Peter outlined: The stream stanzas must not be
> prefixed. I learned this by testing against gtalk (which happily
> violates this) and trying to log into an ejabberd afterwards....
> 
> I'm pretty much in favor of relaxing this rule. A prefixed stanza can be
> fully analyzed on its own without trouble. It's a "detachable" version.
> (I'm actually using this to feed a smack parser. it's way more stable
> than crashing the connection, working on a shared/direct xml parser is
> risky.). I don't really see a reason why this rule should be stronger
> than "should not" (at least in the long run).

Yes, that was the consensus on the XMPP WG list, and it will be fixed
before publication of the new RFCs.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/




["smime.p7s" (application/pkcs7-signature)]

_______________________________________________
JDev mailing list
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe@jabber.org
_______________________________________________


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic