dealing with @expand on classRef in DTD generation