Number of attachments :
As of StaxMate 1.3, call like:
SMBufferedElement smbuf = smoutput.createBufferedElement(null, "elem");
results in a NullPointerException later on during writing of the element when buffered element is released.
This should be handle by code by replacing null with "no namespace" placholder.