question: protected static void writeVersionAttribute ( String namespace , String attName , String attValue , XMLStreamWriter xmlWriter ) throws XMLStreamException { if ( namespace . length ( ) == 0 ) { xmlWriter . writeAttribute ( attName , attValue ) ; } else { regPrefix ( xmlWriter , namespace ) ; xmlWriter . writeAttribute ( namespace , attName , attValue ) ; } }
target:  Util method to write an attribute without the ns prefix