if ( value == null ) value = ""; printAttribute (name, value, attr.getSpecified(), attr); printAttribute (name, (value==null)?XMLSymbols.EMPTY_STRING:value, attr.getSpecified(), attr); } else { // attribute uri == null if (attr.getLocalName() == null) { printAttribute (name, value, attr.getSpecified(), attr); } else { // uri=null and no colon printAttribute (name, value, attr.getSpecified(), attr);