URL url = TestDataXML.class.getResource("../../../../object.xml");
Object obj = uctx.unmarshalDocument(url.openStream(), null);
IMarshallingContext mctx = bfact.createMarshallingContext();
mctx.setIndent(2);
mctx.marshalDocument(obj, "UTF-8", null, new FileOutputStream(projectdir + "/target/object.xml"));
}
public void testConvert() throws Exception
{
String projectdir = System.getProperty("basedir");