/** * Store in the "classical" eXist way: the XMLResource stores an XML string before storeResource() * stores it in the database. */ public void testQueryStoreContentAsSAX() { try { ContentHandler databaseInserter = doc.setContentAsSAX(); (new TabularXMLReader()).writeDocument(databaseInserter); root.storeResource(doc); querySingleLine("", "testQueryStoreContentAsSAX"); } catch (Exception e) { fail(e.getMessage()); } }