To read this content please select one of the options below:

DTD schema: a simple but powerful XML schema language

Mengchi Liu (School of Computer Science, Carleton University, Ottawa, Canada)

International Journal of Web Information Systems

ISSN: 1744-0084

Article publication date: 21 November 2008

342

Abstract

Purpose

The purpose of this paper is to describe a novel XML schema language called DTD Schema that solves major limitations of document type definition (DTD) and supports features that XML Schema supports in a simple and concise way.

Design/methodology/approach

DTD Schema is designed based on DTD and data definition language of object‐oriented and object‐relational databases. It extends DTD with namespaces, richer built‐in types and user‐defined subtypes, local elements and attributes, complex types with nonmonotonic multiple element and attribute inheritance with overriding, blocking, conflict handling, and polymorphism.

Findings

XML Schema is recommended by W3C as the schema language for XML. It uses a set of predefined XML tags to define the schema, which is often a long, intricate specification, full of details and concepts and its verbose syntax often doubles or triples the document length. It is so complicated that even XML experts do not find it human‐readable, mostly due to the XML‐based syntax.

Research limitations/implications

The only limitation is that DTD Schema is not in XML. But for the same reason, it is simple and concise.

Practical implications

DTD schema is halfway between DTD and XML Schema and thus it is less complex and much easier for human to use than XML Schema.

Originality/value

DTD Schema supports all functionalities of XML Schema and also the best of object‐oriented features including multiple inheritance, overriding, blocking, conflict handling and polymorphism. Therefore, it is much more expressive than XML Schema.

Keywords

Citation

Liu, M. (2008), "DTD schema: a simple but powerful XML schema language", International Journal of Web Information Systems, Vol. 4 No. 4, pp. 465-483. https://doi.org/10.1108/17440080810919495

Publisher

:

Emerald Group Publishing Limited

Copyright © 2008, Emerald Group Publishing Limited

Related articles