[Standards] Zero-length nodes and resources

Matthew Wild mwild1 at gmail.com
Fri Dec 5 01:17:15 UTC 2008


Hi,

I got into a debate today over some unit tests I wrote, which
explicitly checked that we handled JIDs such as "@example.com" and
"user at example.com/" as invalid. However it seems the RFCs don't
explicitly disallow either of these cases.

How should they be handled? I can imagine that we currently have
implementations both that declare them invalid, and those that handle
zero-length as non-existent (almost certainly incorrect).

Matthew.



More information about the Standards mailing list