-- | A JID is XMPP\'s native format for addressing entities in the network. It
-- is somewhat similar to an e-mail address but contains three parts instead of
-- two.
dataJid=Jid{-- | The @localpart@ of a JID is an optional identifier placed
-- two: localpart, domainpart, and resourcepart.
--
-- The @localpart@ of a JID is an optional identifier placed
-- before the domainpart and separated from the latter by a
-- \'\@\' character. Typically a localpart uniquely identifies
-- the entity requesting and using network access provided by a
@ -889,18 +894,16 @@ data Jid = Jid { -- | The @localpart@ of a JID is an optional identifier placed
@@ -889,18 +894,16 @@ data Jid = Jid { -- | The @localpart@ of a JID is an optional identifier placed
-- represented by an XMPP localpart is addressed within the
-- context of a specific domain (i.e.,
-- @localpart\@domainpart@).
localpart::!(MaybeText)
-- | The domainpart typically identifies the /home/ server to
--
-- The domainpart typically identifies the /home/ server to
-- which clients connect for XML routing and data management
-- functionality. However, it is not necessary for an XMPP
-- domainpart to identify an entity that provides core XMPP
-- server functionality (e.g., a domainpart can identify an
-- entity such as a multi-user chat service, a
-- publish-subscribe service, or a user directory).
,domainpart::!Text
-- | The resourcepart of a JID is an optional identifier placed
--
-- The resourcepart of a JID is an optional identifier placed
-- after the domainpart and separated from the latter by the
-- \'\/\' character. A resourcepart can modify either a
-- @localpart\@domainpart@ address or a mere @domainpart@
@ -909,6 +912,9 @@ data Jid = Jid { -- | The @localpart@ of a JID is an optional identifier placed
@@ -909,6 +912,9 @@ data Jid = Jid { -- | The @localpart@ of a JID is an optional identifier placed
-- (e.g., an occupant in a multi-user chat room) belonging to
-- the entity associated with an XMPP localpart at a domain