" <ex:body><ex:p/></ex:body>\n" +
"</ex:html>";
InputSource isource = new InputSource(new StringReader(html));
isource.setSystemId("mixedContent.xml");
JAXBContext ctx = getJAXBContext(Html.class);
Html htmlElem = (Html) ctx.createUnmarshaller().unmarshal(isource);
StringWriter sw = new StringWriter();
Marshaller m = ctx.createMarshaller();
m.setProperty(JMMarshallerImpl.JAXME_XML_DECLARATION, Boolean.FALSE);
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.FALSE);
m.marshal(htmlElem, sw);