//((StAXEXC14nCanonicalizerImpl)exc14n).setInclusivePrefixList(new ArrayList());
NamespaceContextEx nsEx = ((StreamWriterData)data).getNamespaceContext();
Iterator<Binding> iter = nsEx.iterator();
while(iter.hasNext()){
Binding binding = iter.next();
exc14n.writeNamespace(binding.getPrefix(),binding.getNamespaceURI());
}
if(logger.isLoggable(Level.FINEST)){
exc14n.setStream(new ByteArrayOutputStream());
}else{
exc14n.setStream(cos);