@Override public void writeStartDocument(String version) throws XMLStreamException {
  log.log(Level.FINE,"writeStartDocument({0})",version);
  writeStartDocument(this.encoding,null);
}

@ Override public void writeStartDocument ( String version ) throws XMLStreamException { log . log ( Level . FINE , "writeStartDocument({0})" , version ) ; writeStartDocument ( this . encoding , null ) ; }
write the xml declaration . defaults the wbxml to 1 . 3 ( other versions not supported )
