Uploaded image for project: 'Smack'
  1. SMACK-917

XML serialization of IQs should optimize namespace declarations

    Details

    • Type: Improvement
    • Status: Open (View workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects versions: None
    • Fix versions: None
    • Components: None
    • Labels:
      None

      Description

      Currently IQs get serialized like

      <iq xmlns='jabber:client' id='EKP8I-1' type='set'>
      <jingle xmlns='urn:xmpp:jingle:1' action='content-accept' sid='MySession'>
      <content xmlns='urn:xmpp:jingle:1' creator='initiator' name='Hello world'>
      </content>
      </jingle>
      </iq>

      the second namespace declaration is redundant and should be omitted.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Florian Schmaus
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: