public void comment(String comment)
{
if (contentHandler instanceof TransformerIdentityImpl) // HACK HACK HACK -- not sure of the proper way to do this.
{
try{
TransformerIdentityImpl ch = (TransformerIdentityImpl) contentHandler;
ch.comment(comment.toCharArray(),0,comment.length());
}
catch (Exception e)
{
e.printStackTrace();
}