private String DOC = "<a><b/><c>.<?x?>.</c><d>.<?x?><e/><f/><?x?>.</d><g><h/>.<i/></g></a>";
public boolean runImplBasic() throws Exception {
String parser = XMLResourceDescriptor.getXMLParserClassName();
SAXDocumentFactory df = new SAXDocumentFactory(GenericDOMImplementation.getDOMImplementation(), parser);
Document doc = df.createDocument("http://example.org/", new StringReader(DOC));
AbstractElement a = (AbstractElement) doc.getDocumentElement();
AbstractElement b = (AbstractElement) a.getFirstChild();
AbstractElement c = (AbstractElement) b.getNextSibling();
AbstractElement d = (AbstractElement) c.getNextSibling();