Serious cache bug caused by incorrect tc parser

cache bug fix, also a xmlHandler improvement and handling of simple HTML
fields fix