Core/src/main/java/org/openestate/io/core/XmlUtils.java
public static Document newDocument(String xmlString, boolean namespaceAware) throws SAXException, IOException, ParserConfigurationException {
        return XmlUtils.newDocument(
                new InputSource(new StringReader(xmlString)), namespaceAware);
    }
public static Document newDocument(String xmlString, boolean namespaceAware) throws SAXException, IOException, ParserConfigurationException {
        return XmlUtils.newDocument(
                new InputSource(new StringReader(xmlString)), namespaceAware);
    }
Create a {@link Document} from a XML string.

@param xmlString      the XML string, the document is created from
@param namespaceAware if namespaces are used in the created document
@return created document
@throws SAXException                 if XML contains an error
@throws IOException                  if XML is not readable
@throws ParserConfigurationException if the parser is not properly configured