mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 16:22:06 +01:00
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
This commit is contained in:
parent
1da02cbfd8
commit
6793015fe9
2 changed files with 8 additions and 6 deletions
|
@ -161,12 +161,13 @@ public class DiscoverInfo extends IQ {
|
|||
|
||||
public String getChildElementXML() {
|
||||
StringBuffer buf = new StringBuffer();
|
||||
buf.append("<query xmlns=\"http://jabber.org/protocol/disco#info");
|
||||
buf.append("<query xmlns=\"http://jabber.org/protocol/disco#info\"");
|
||||
if (getNode() != null) {
|
||||
buf.append(" node=");
|
||||
buf.append(" node=\"");
|
||||
buf.append(getNode());
|
||||
buf.append("\"");
|
||||
}
|
||||
buf.append("\">");
|
||||
buf.append(">");
|
||||
synchronized (identities) {
|
||||
for (int i = 0; i < identities.size(); i++) {
|
||||
Identity identity = (Identity) identities.get(i);
|
||||
|
|
|
@ -120,12 +120,13 @@ public class DiscoverItems extends IQ {
|
|||
|
||||
public String getChildElementXML() {
|
||||
StringBuffer buf = new StringBuffer();
|
||||
buf.append("<query xmlns=\"http://jabber.org/protocol/disco#items");
|
||||
buf.append("<query xmlns=\"http://jabber.org/protocol/disco#items\"");
|
||||
if (getNode() != null) {
|
||||
buf.append(" node=");
|
||||
buf.append(" node=\"");
|
||||
buf.append(getNode());
|
||||
buf.append("\"");
|
||||
}
|
||||
buf.append("\">");
|
||||
buf.append(">");
|
||||
synchronized (items) {
|
||||
for (int i = 0; i < items.size(); i++) {
|
||||
Item item = (Item) items.get(i);
|
||||
|
|
Loading…
Reference in a new issue