Pseudocoelomates such as nematodes have a body cavity partially lined by tissue derived from mesoderm.
Note the digestive tract is not covered by mesoderm tissue.