Uploaded image for project: 'Smack'
  1. Smack
  2. SMACK-594

PrivateData Bookmarks.toXML() returns invalid XML

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.2
    • Fix Version/s: 4.0.3
    • Component/s: Extensions
    • Labels:

      Description

      The bookmark.toXML in 4.0.2 is putting out bad xml when trying to add a bookmarked conference:

      <iq id='4L2zv-17' type='set'><query xmlns="jabber:iq:private"><storage> xmlns='storage:bookmarks'<conference> name='nick-20140814150349@blank.blank.io' autojoin='false' jid='nick-20140814150349@blank.blank.io'><nick>Nick</nick></conference></storage></query></iq>

      In my previous aSmack version, bookmarkmanager xml was correct:

      <iq id="7v9iI-225" type="set"><query xmlns="jabber:iq:private"><storage xmlns="storage:bookmarks"><conference name="nick-20140814150349@blank.blank.io" autojoin="false" jid="nick-20140814150349@blank.blank.io" ><nick>Nick</nick></conference></storage></query></iq>

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: