" </order-item>",
XmlUtil.serialize(ModelCatcher.elements.get(1), true)));
}
public void test_sax_02() throws IOException, SAXException {
Smooks smooks = new Smooks(getClass().getResourceAsStream("node-model-02.xml"));
smooks.setFilterSettings(FilterSettings.DEFAULT_SAX);
ExecutionContext executionContext = smooks.createExecutionContext();
smooks.filterSource(executionContext, new StreamSource(getClass().getResourceAsStream("order-message.xml")), null);
DOMModel nodeModel = DOMModel.getModel(executionContext);
assertTrue(
StreamUtils.compareCharStreams(