SDLDocumentAdaptor adaptor = new SDLDocumentAdaptor(d);
AttributesImpl a = new AttributesImpl();
a.addAttribute(null, "id", null, "CDATA", "foo.bar.baz");
adaptor.startElement(null, "module", null, a);
adaptor.endElement(null, "module", null);
Element e = d.getDocumentElement();
assertEquals("module", e.getTagName());