[JDEV] Meaning of "headline" messages

Jacek Konieczny jajcus at bnet.pl
Fri Jan 10 02:20:55 CST 2003


On Thu, Jan 09, 2003 at 03:43:03PM -0500, Yanming Xiao wrote:
> Luis,
> 
> One more thing. 
> 
> You component should have valid JID, like 
> myjid at mycomponent.myserver.com
> 
> If you are using "mycomponent.myserver.com"
> as the JID in a "headline" message or any other 
> messages, some client will ignore it as well. 

So these clients are buggy. AFAIK JID containing only the domain
is 100% valid. And the clients should be fixed.

I am very worried about most jabber implemetations. I don't know if
there is any which properly follows jabber and XML standards. This is 
very bad. 

I write two transports for jabber and a big part of code contains
various workarounds for clients' bugs. For the component I just write 
I decided to use one of available full-fetured, namespace-enabled XML
parser (PXP). And to make it work with jabberd or psi I had to write
some ugly workarounds, as those programs doesn't seem to support
namespace prefixes (other than those commonly used in jabber, like
"stream:") :-(

Greets,
	Jacek



More information about the JDev mailing list