DocumentCode
2831069
Title
Building a Syntax Directed Processing Environment for XML Documents by Combining SAX and JavaCC
Author
Sarasa-Cabezuelo, Antonio ; Navarro-Iborra, Álvaro ; Sierra, José-Luis ; Fernandez-Valmayor, A.
Author_Institution
Dipt. Ing. del Software e Intel. Artificial, Univ. Complutense de Madrid, Madrid
fYear
2008
fDate
1-5 Sept. 2008
Firstpage
256
Lastpage
260
Abstract
In this paper we show how to integrate JavaCC, a popular translator-generation tool, with any standard XML parsing environment supporting the SAX specification. This integration lets developers build efficient XML processing applications which act as left-to-right, one-pass translators. The integration also facilitates the maintenance of these applications, since they are specified as syntax-directed translation schemas instead of being directly programmed in a general-purpose programming language. This integration proposal also allows for exploiting the modularization capabilities of the SAX-based underlying processing framework, which is capable of piping several translators that are working concurrently. This concurrent processing facilitates the modularization of complex processing tasks in more affordable, simpler translators, which can be developed and maintained using separated translation schemas.
Keywords
Java; XML; grammars; program interpreters; JavaCC; SAX specification; XML document; XML parsing; general-purpose programming language; one-pass translator; syntax-directed translation; translator-generation tool; Application software; Computer languages; Databases; Expert systems; Java; Logic design; Pipelines; Predictive models; Proposals; XML; Javacc; SAX; Syntax-directed Translation; XML Pipelines; XML Processing;
fLanguage
English
Publisher
ieee
Conference_Titel
Database and Expert Systems Application, 2008. DEXA '08. 19th International Workshop on
Conference_Location
Turin
ISSN
1529-4188
Print_ISBN
978-0-7695-3299-8
Type
conf
DOI
10.1109/DEXA.2008.32
Filename
4624725
Link To Document