PrivateData Bookmarks.toXML() returns invalid XML

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>

Environment

None
Fixed

Assignee

Florian Schmaus

Reporter

Florian Schmaus

Labels

Expected Effort

Minimal

Components

Fix versions

Affects versions

Priority

Major
Configure