Browse Prior Art Database

Simplify the XML document handler programs of XML SAX parser

IP.com Disclosure Number: IPCOM000020029D
Original Publication Date: 2003-Oct-20
Included in the Prior Art Database: 2003-Oct-20

Publishing Venue

IBM

Abstract

This paper discloses a design technique aimed to improve the modularity, readability and maintainability of XML SAX parser programs in Java; in particular, it addresses the structure of the SAX document handler programs when parsing an XML file. A modularized design is proposed in order to simplify the programming task. The related technical details are presented which exploit the Java Reflection API, and some refinements to the technique are also presented in order to improve its flexibility.