DTD dtd = builder.buildDTD();
Element root = domFactory.createElement("root");
Element normal = domFactory.createElement("normal");
root.addTail(normal);
normal.addTail(domFactory.createText("hello"));
Element ignoreable = domFactory.createElement("ignoreable");
root.addTail(ignoreable);
ignoreable.addTail(domFactory.createText("world"));
checkOutput(dtd, root, "<root><normal>hello</normal>world</root>");