Abstract
XML (Extensible markup language) is playing progressively more important role in the exchange of wide variety of data on the Web and in many other applications. XML is not only used for data exchange, but also has it changed the concept of data formats, and that is the reason why it has become a standard and powerful data structure on the Internet. XML has simple syntax and can thus compose well-formed documents by following simple rules. To represent and validate these data structures and to check a well formed XML document, several validation languages are used. These validation languages are known as Schema languages. This paper presents a comparative analysis of four schema languages focusing on how these four languages are used, what data types are used in them, and how they are syntactically different from one another. The languages discussed in this paper are: DTD, XML Schema, RelaxNG, and DSD2. The benefit of the comparative analysis is to give the basic knowledge about two newly introduced schema languages (DSD2 and RelaxNG) against well-known and widely used languages (DTD and XML Schema). This comparison gives some basic knowledge about selected schema languages, illustrates the difference in their syntax, and demonstrates where to use which schema language.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.