fix bug for prismatic joint in the dtd