*/
public void testGetIndex() {
StringTable stringTable = new StringTable();
AttributeContainerBuilder builder =
new AttributeContainerBuilderImpl(stringTable);
int offset1 = builder.getOffset();
AttributesImpl attributes = new AttributesImpl();
attributes.addAttribute("", "abc", "abc", "CDATA", "123");
attributes.addAttribute("", "xyz", "xyz", "CDATA", "456");
builder.addAttributes(attributes);
int offset2 = builder.getOffset();
builder.addAttributes(attributes);
int offset3 = builder.getOffset();
AttributesContainer container = builder.buildContainer();
AttributesWindow window = container.createWindow();
int index;
// First search for attributes in the first set of attributes.