preview

Taking a Look at Validation Models

Decent Essays

Schemas are important validation tools which can ensure data is valid and well formed for use. There are different varieties that can be used to verify a document and ensure conformance to standards. Some use a tree hierarchy and others just simple constructs. Lee and Chu (2000) note the following in their paper; DTD, XSD, SOX, Schematron and DSD. Fawcett et al (2012) mention Schematron, DTD, RELAX NG, and XSD. I will discuss some of these in comparison to DTD and XSD which are follow-ons from this week’s Schema discussions.

DTD
This Schema type on uses attributes and elements and follows a hierarchy in structure type. It is very simplistic and uses few attribute definitions, and does not follow XML type syntax. However, despite its simplistic nature, it is the most widely used standard according to Lee and Chu (2000).

XSD
The true XML Schema Definition is very different from DTD in that it can be very granular in its descriptive elements and follows XML syntax rules. This can make it very powerful, in its support of namespaces and true data types, allowing for better conformity and use in data transformation and query. Another strength of XML Schema is it inheritance, which can simplify some reuse of attributes and combining of Schema documents. Its weakness goes hand in hand with its strength as the complexity it allows for causes confusion by all but the most advanced users according to Fawcett et al (2012).

RELAX NG
This method of validation arrived as a

Get Access