m.getXML();
pw.close();
XMLReader reader = XMLReaderFactory.createXMLReader(
"org.apache.crimson.parser.XMLReaderImpl");
MementoContentHandler mch = new MementoContentHandler();
reader.setContentHandler(mch);
reader.parse(new InputSource(
new ByteArrayInputStream(out.toByteArray())));
DataSource n = mch.getDataSource(ds);
n.start();
d.start();
assertTrue("Fallo en la persistencia",
d.getAsString().equals(n.getAsString()));