if (vlen <= buf.length) {
nsURI.getChars(0, vlen, buf, 0);
try {
mWriter.writeAttribute(XMLConstants.XMLNS_ATTRIBUTE, buf, 0, vlen);
} catch (IOException ioe) {
throw new WstxIOException(ioe);
}
return;
}
}
try {
mWriter.writeAttribute(XMLConstants.XMLNS_ATTRIBUTE, nsURI);
} catch (IOException ioe) {
throw new WstxIOException(ioe);
}
}