though there are a number of schema languages available, the primary three languages are document type definitions, w3c xml schema, and relax ng. each language has its own advantages and disadvantages.