builder.setSizeParameters(new int[]{2, len+2, namespacesSize+2, 16});
builder.setPipelineConfiguration(getPipelineConfiguration());
builder.open();
builder.startElement(elementNameCode, StandardNames.XS_UNTYPED_ATOMIC, 0, 0);
for (int i=0; i<namespacesSize; i++) {
builder.namespace(namespaces[i], 0);
}
for (int i=0; i<len; i++) {
builder.attribute(bufferedAttributes.getNameCode(i), StandardNames.XS_UNTYPED_ATOMIC,
bufferedAttributes.getValue(i), 0, 0);
}