tobj.setValue("lang", "fr");
tobj.setValue("value", "French error message");
root.setValue("detail", "<p>Application-specific <b>detail</b> goes here.</p>");
writer = new StringWriter();
m_formatter.format(root, message, new WriterOutput(writer));
try
{
m_parser.parse(new ReaderInput(new StringReader(writer.toString())), m_context.getMetadata().getMessage("SOAP12_PatientDemographics"));
fail("Expected exception");