JID jid = new JID("[email protected]"); //success with code
SUCCESS
JID jid = new JID("mycomponent.host.domain.com"); //send fail with
code INVALID_ID ,but when i try send from gmail OR jabber to
mycomponent.host.domain.com . it was a success.Is this a bug in google xmpp api?
views:
66answers:
2
A:
If 'mycomponent.host.domain.com' really is a valid JID, then this is a bug. Feel free to file it in the issue tracker!
Nick Johnson
2010-05-08 11:15:48
@Nick, appreciated for answer. Hope someone can have a look and confirm it's a bug or not..
cometta
2010-05-13 06:55:31
+1
A:
"mycomponent.host.domain.com" is valid syntactically, both according to RFC 3920 as well as according to the new best reference, draft-ietf-xmpp-address, both of which say that the only required portion of a JID is the domain. As long as all of the unicode code points in your domain name pass nameprep (i.e., they can be used as an internationalized domain name), this is a bug in the Google API.
Joe Hildebrand
2010-05-12 15:27:20
ya man , i think it's a bug. need more people to confirm. i filled and issue 3208. please vote
cometta
2010-05-13 01:03:50