XAPP: An Implementation of SAX-Based Method for Mapping XML Document to and from a Relational Database

  • Ghadeer Written by
  • Update: 30/06/2022

XAPP: An Implementation of SAX-Based Method for Mapping XML Document to and from a Relational Database

Yetunde Akinwumi

Department of Computer Science

Redeemer’s University, Nigeria

This email address is being protected from spambots. You need JavaScript enabled to view it.

Joshua Ayeni

 Department of Computer Science, Redeemer’s University, Nigeria

This email address is being protected from spambots. You need JavaScript enabled to view it.

Samson Arekete

Department of Computer Science, Redeemer’s University, Nigeria

This email address is being protected from spambots. You need JavaScript enabled to view it.

Mba Odim

Department of Computer Science, Redeemer’s University, Nigeria

This email address is being protected from spambots. You need JavaScript enabled to view it.

Adewale Ogunde

Department of Computer Science

Redeemer’s University, Nigeria

This email address is being protected from spambots. You need JavaScript enabled to view it.

Bosede Oguntunde

 Department of Computer Science, Redeemer’s University, Nigeria

This email address is being protected from spambots. You need JavaScript enabled to view it.

 

Abstract: Extensible Markup Language (XML) is the standard medium for data exchange among businesses over the Internet, hence the need for effective management. However, since XML was not designed for storage and retrieval, its management has become an open research area in the database community. Existing mapping techniques for XML-to-relational database adopt either the structural mapping or the model mapping. Though numerous mapping approaches have been developed, mapping and reconstruction time had been problematic, especially when the document size is large and can hardly fit into main memory. In this research, an application codenamed XAPP, a new lightweight application that adopts a novel model mapping approach was developed using Simple API for XML (SAX) parser. XAPP accepts a document with or without Document Type Definition (DTD). It implements two algorithms: one maps XML data to a relational database and improves mapping time, and the other reconstructs an XML document from a relational database to improve reconstruction time and minimise memory usage. The performance of XAPP was analysed and compared with the Document Object Model (DOM) algorithm. XAPP proves to perform significantly better than the DOM-based algorithm in terms of mapping and reconstruction time, and memory efficiency. The correctness of XAPP was also verified.

Keywords: Extensible markup language, XML document, relational database, reconstruction time, mapping time.

Received July 16, 2020; accepted October 21, 2021

https://doi.org/10.34028/iajit/19/4/2

Full text

Read 345 times
Top
We use cookies to improve our website. By continuing to use this website, you are giving consent to cookies being used. More details…