DocumentCode
2460758
Title
Building an Enhanced Syntax-Directed Processing Environment for XML Documents by Combining StAX and CUP
Author
Sarasa-Cabezuelo, Antonio ; Temprado-Battad, Bryan ; Martínez-Avilés, Alberto ; Sierra, José-Luis ; Fernández-Valmayor, Alfredo
Author_Institution
Dipt. Ing. del Software e Intel. Artificial, Univ. Complutense de Madrid, Madrid, Spain
fYear
2009
fDate
Aug. 31 2009-Sept. 4 2009
Firstpage
427
Lastpage
431
Abstract
Building on our previous work on the combination of JavaCC and SAX, we developed a new syntax-directed processing environment for XML documents. In this new environment, we use CUP as the parser-generation tool and StAX as the interface with the underlying XML parsing framework. The new environment supports a richer set of processing-specific context-free grammars (i.e., the grammars used for representing the processing-oriented structure of the processed documents) and enables the construction of more efficient and complex processors. In particular, the environment makes possible an event-driven computation style that enables processes that require multiple passes on the document tree, although such a tree is never explicitly built. This paper describes the environment and illustrates its use in the development of, an XML-driven courseware system.
Keywords
XML; computational linguistics; context-free grammars; program compilers; programming environments; software tools; CUP; StAX; XML documents; XML parsing framework; XML-driven courseware system; parser-generation tool; specific context-free grammar processing; syntax-directed processing environment; Application software; Courseware; Databases; Expert systems; Java; Pipelines; Runtime; Writing; XML; Yarn;
fLanguage
English
Publisher
ieee
Conference_Titel
Database and Expert Systems Application, 2009. DEXA '09. 20th International Workshop on
Conference_Location
Linz
ISSN
1529-4188
Print_ISBN
978-0-7695-3763-4
Type
conf
DOI
10.1109/DEXA.2009.60
Filename
5337290
Link To Document