final OutputStream outputStream = new BufferedOutputStream(bundle.createEntry(contentState.getFileName(),
"text/xml"));
final MasterReport report = state.getMasterReport();
final DataSchemaDefinition definition = report.getDataSchemaDefinition();
final StandaloneDataSchemaWriter dataSchemaWriter = new StandaloneDataSchemaWriter();
dataSchemaWriter.write(definition, outputStream, "UTF-8");
outputStream.close();
return contentState.getFileName();
}