+ TEMP_ROOT_BEGIN_ELEMENT + formSnippet + TEMP_ROOT_END_ELEMENT;
// Convert to DOM tree and obfuscated values if needed.
Document document =
XmlParseUtil.parse(rootSnippet, new SAXParseErrorHandler(),
new LocalEntityResolver());
if (document == null) {
LOGGER.log(Level.WARNING, "XML parsing exception!");
return null;
}
NodeList nodeList = document.getElementsByTagName("input");