DocumentCode
1844131
Title
Efficient Type Checking for a Subclass of Regular Expression Types
Author
Chen, Lei ; Chen, Haiming
Author_Institution
State Key Lab. of Comput. Sci., Inst. of Software Chinese Acad. of Sci. Beijing, Beijing
fYear
2008
fDate
18-21 Nov. 2008
Firstpage
1647
Lastpage
1652
Abstract
Type checking is an important problem in statically typed XML processing languages. Most type systems are implemented based on tree automata for the tree structure of XML documents and schemas. It is known that the complexity of inclusion problem for tree automata is in EXPTIME. In fact, most definitions in XML Schema are actually DTDs. The inclusion problem of DTDs can be reduced to inclusion of one-unambiguous regular expressions in DTDs. We have developed a method for type checking that works for regular expression types which are DTDs. The method is based onone-unambiguous regular expressions together with using the information of labels in DTDs, which can work in top-down or bottom-up manner. Although our method supports DTDs only now, it is general and can support more general schemas by integrating with the conventional method of type checking. The experiments show that our method is more efficient in practice.
Keywords
XML; automata theory; formal languages; trees (mathematics); type theory; EXPTIME tree automata; XML document processing language; XML schema; document type definition; onone-unambiguous regular expression; regular expression type; type checking; Automata; Binary trees; Computer science; Functional programming; Laboratories; Natural languages; Pattern matching; Runtime; Tree data structures; XML; Type checking; automata; derivative; label; one-unambiguous regular expression;
fLanguage
English
Publisher
ieee
Conference_Titel
Young Computer Scientists, 2008. ICYCS 2008. The 9th International Conference for
Conference_Location
Hunan
Print_ISBN
978-0-7695-3398-8
Electronic_ISBN
978-0-7695-3398-8
Type
conf
DOI
10.1109/ICYCS.2008.255
Filename
4709220
Link To Document