From 6793015fe91d3b400308a092525f4fee7cc67b33 Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Thu, 13 May 2004 17:33:21 +0000 Subject: [PATCH] Fixed a bug in the XML representation by adding some missing inverted commas git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2308 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smackx/packet/DiscoverInfo.java | 7 ++++--- source/org/jivesoftware/smackx/packet/DiscoverItems.java | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/source/org/jivesoftware/smackx/packet/DiscoverInfo.java b/source/org/jivesoftware/smackx/packet/DiscoverInfo.java index 0dd1f36af..38ebd6141 100644 --- a/source/org/jivesoftware/smackx/packet/DiscoverInfo.java +++ b/source/org/jivesoftware/smackx/packet/DiscoverInfo.java @@ -161,12 +161,13 @@ public class DiscoverInfo extends IQ { public String getChildElementXML() { StringBuffer buf = new StringBuffer(); - buf.append(""); + buf.append(">"); synchronized (identities) { for (int i = 0; i < identities.size(); i++) { Identity identity = (Identity) identities.get(i); diff --git a/source/org/jivesoftware/smackx/packet/DiscoverItems.java b/source/org/jivesoftware/smackx/packet/DiscoverItems.java index 853d94b9d..0f4ff9d0d 100644 --- a/source/org/jivesoftware/smackx/packet/DiscoverItems.java +++ b/source/org/jivesoftware/smackx/packet/DiscoverItems.java @@ -120,12 +120,13 @@ public class DiscoverItems extends IQ { public String getChildElementXML() { StringBuffer buf = new StringBuffer(); - buf.append(""); + buf.append(">"); synchronized (items) { for (int i = 0; i < items.size(); i++) { Item item = (Item) items.get(i);