Locality and Integration in Topological Field Theory