300-810 · Question #42
Which two child elements can be in an XMPP message stanza? (Choose two.)
The correct answer is D. <body/> E. <subject/>. XMPP message stanzas, as defined in RFC 6120/6121, support specific child elements for carrying content. <body/> (D) contains the human-readable message text, and <subject/> (E) carries an optional topic or subject for the message. These are standard, well-defined child…
Question
Which two child elements can be in an XMPP message stanza? (Choose two.)
Options
- A<server/>
- B<error/>
- C<client/>
- D<body/>
- E<subject/>
How the community answered
(20 responses)- B5% (1)
- D95% (19)
Explanation
XMPP message stanzas, as defined in RFC 6120/6121, support specific child elements for carrying content. <body/> (D) contains the human-readable message text, and <subject/> (E) carries an optional topic or subject for the message. These are standard, well-defined child elements of the <message/> stanza. <server/> (A) and <client/> (C) are namespace identifiers used in stream negotiation, not message stanza children. While <error/> can appear in error-type messages, the primary content-carrying children are <body/> and <subject/>.
Topics
Community Discussion
No community discussion yet for this question.