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