* Returns a semantic equivalent of a given XML-encoded message in a default format.
* Attributes, comments, and processing instructions are not considered to change the
* HL7 meaning of the message, and are removed in the standardized representation.
*/
public static String standardizeXML(String message) throws SAXException {
DOMParser parser = new DOMParser(new StandardParserConfiguration());
parser.setFeature("http://apache.org/xml/features/dom/include-ignorable-whitespace", false);
Document doc = null;
StringWriter out = new StringWriter();
try {