DocumentCode
2779747
Title
A Run-time Adaptive and Code-size Efficient XML Parser
Author
Yanming, Zhou ; Mingbin, Qu
Author_Institution
Motorola
Volume
2
fYear
2006
fDate
17-21 Sept. 2006
Firstpage
18
Lastpage
21
Abstract
This paper proposes a new method for designing and implementing a manual XML parser named BNFParser, which is based on the mechanism of XML document matching against a BNF tree that built on XML formal grammar represented by extended Backus-Naur form (EBNF) notation. Compared with generic XML parsers, e.g. top-down Xerces/LibXML parser and bottom-up YACC-assisted parser, BNFParser is designed to be used under the circumstance of storage limitation and memory restriction, e.g. embedded devices. Another advantage of BNFParser is more flexible to be tailored and upgraded through only updating plain text BNF syntax rules instead of reediting and recompiling source code. Furthermore, we investigate the architectures of the generic XML parsers, and present the performance evaluation. Experiment shows that applicable scenario of BNFParser is parsing an XML document with size less than 100 KB
Keywords
XML; grammars; BNF syntax rules; BNF tree; BNFParser; XML document matching; XML formal grammar; code-size efficient XML parser; extended Backus-Naur form notation; run-time adaptive XML parser; Binary codes; Computer applications; Computer architecture; Design methodology; Encoding; Operating systems; Production; Runtime; Simple object access protocol; XML;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer Software and Applications Conference, 2006. COMPSAC '06. 30th Annual International
Conference_Location
Chicago, IL
ISSN
0730-3157
Print_ISBN
0-7695-2655-1
Type
conf
DOI
10.1109/COMPSAC.2006.101
Filename
4020132
Link To Document