mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-22 13:33:52 +03:00
parent
e14934396b
commit
bcd319feb3
@ -101,7 +101,7 @@ public class OneSystem
|
||||
DocumentBuilder builder =
|
||||
DocumentBuilderFactory.newInstance().newDocumentBuilder();
|
||||
Document doc = builder.parse(
|
||||
new ByteArrayInputStream(r.getMessage().getBytes()));
|
||||
new ByteArrayInputStream(r.getMessage().getBytes("UTF-8")));
|
||||
|
||||
xml = doc.getDocumentElement();
|
||||
}
|
||||
@ -140,7 +140,7 @@ public class OneSystem
|
||||
DocumentBuilder builder =
|
||||
DocumentBuilderFactory.newInstance().newDocumentBuilder();
|
||||
Document doc = builder.parse(
|
||||
new ByteArrayInputStream(r.getMessage().getBytes()));
|
||||
new ByteArrayInputStream(r.getMessage().getBytes("UTF-8")));
|
||||
|
||||
xml = doc.getDocumentElement();
|
||||
}
|
||||
@ -190,7 +190,7 @@ public class OneSystem
|
||||
DocumentBuilder builder =
|
||||
DocumentBuilderFactory.newInstance().newDocumentBuilder();
|
||||
Document doc = builder.parse(
|
||||
new ByteArrayInputStream(r.getMessage().getBytes()));
|
||||
new ByteArrayInputStream(r.getMessage().getBytes("UTF-8")));
|
||||
|
||||
xml = doc.getDocumentElement();
|
||||
}
|
||||
|
@ -190,7 +190,7 @@ public abstract class Pool{
|
||||
|
||||
builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
|
||||
doc = builder.parse(
|
||||
new ByteArrayInputStream(info.getMessage().getBytes()));
|
||||
new ByteArrayInputStream(info.getMessage().getBytes("UTF-8")));
|
||||
xml = doc.getDocumentElement();
|
||||
|
||||
poolElements = (NodeList) xpath.evaluate(elementName, xml, XPathConstants.NODESET);
|
||||
|
@ -93,7 +93,7 @@ public abstract class PoolElement {
|
||||
DocumentBuilder builder =
|
||||
DocumentBuilderFactory.newInstance().newDocumentBuilder();
|
||||
Document doc = builder.parse(
|
||||
new ByteArrayInputStream(info.getMessage().getBytes()));
|
||||
new ByteArrayInputStream(info.getMessage().getBytes("UTF-8")));
|
||||
|
||||
xml = doc.getDocumentElement();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user