diff options
author | Boris Grozev <boris@jitsi.org> | 2014-12-12 15:49:22 +0200 |
---|---|---|
committer | Boris Grozev <boris@jitsi.org> | 2014-12-29 14:31:33 +0200 |
commit | f84e32af3dbecc61f38ebc65214eb75d4b1711e7 (patch) | |
tree | 74e75758b506058a3fb2dba6ef4aa82fd3c23e3d /src/net/java/sip/communicator/service/protocol/media | |
parent | 261d985f1b78fa68804f8f2949698ddb7769555c (diff) | |
download | jitsi-f84e32af3dbecc61f38ebc65214eb75d4b1711e7.zip jitsi-f84e32af3dbecc61f38ebc65214eb75d4b1711e7.tar.gz jitsi-f84e32af3dbecc61f38ebc65214eb75d4b1711e7.tar.bz2 |
Uses the XMLUtils.newDocumentBuilderFactory() method to obtain
DocumentBuilderFactories in order to have external entities and doctype
declarations disabled while parsing.
Diffstat (limited to 'src/net/java/sip/communicator/service/protocol/media')
-rw-r--r-- | src/net/java/sip/communicator/service/protocol/media/ConferenceInfoDocument.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/net/java/sip/communicator/service/protocol/media/ConferenceInfoDocument.java b/src/net/java/sip/communicator/service/protocol/media/ConferenceInfoDocument.java index 2641fce..653dc71 100644 --- a/src/net/java/sip/communicator/service/protocol/media/ConferenceInfoDocument.java +++ b/src/net/java/sip/communicator/service/protocol/media/ConferenceInfoDocument.java @@ -225,8 +225,8 @@ public class ConferenceInfoDocument try { document - = DocumentBuilderFactory.newInstance().newDocumentBuilder() - .parse(new ByteArrayInputStream(bytes)); + = XMLUtils.newDocumentBuilderFactory().newDocumentBuilder() + .parse(new ByteArrayInputStream(bytes)); } catch (Exception e) { @@ -401,9 +401,6 @@ public class ConferenceInfoDocument * This is not part of RFC4575 and is here because we are temporarily using * it in our XMPP implementation. * TODO: remote it when we define another way to handle the Jingle SID - * - * @param sid the value to set the <tt>sid</tt> attribute of the - * <tt>conference-info</tt> element to. */ public String getSid() { |