A prototype of a descriptive type system for Xcerpt
2006 (English)In: Proceedings of the Fourth Workshop on Principles and Practice of Semantic Web Reasoning. Budva, Montenegro, 2006, Vol. LNCS 4187, 262-275 p.Conference paper (Refereed)
The paper presents a prototype implementation of a descriptive type system for the XML query language Xcerpt. Its intended application is finding (a certain kind of) errors in programs. The implementation is able to check correctness of an Xcerpt program with respect to a type specification. A type specification describes a set of possible data bases to which the program is to be applied and an expected set of results. Program correctness means that all its results are in the expected set. Failure of a correctness check suggests an error in the program. Under certain conditions such failure indeed means that the program is incorrect.
Current implementation works for a restricted, but interesting subset of Xcerpt. The system provides (approximations of) the set of program results and the sets of values of program variables; this information is useful for programmers (and is produced even when the specification of the expected set of results is not given).
Place, publisher, year, edition, pages
2006. Vol. LNCS 4187, 262-275 p.
, Lecture Notes in Computer Science, ISSN 0302-9743 (Print) 1611-3349 (Online) ; 4187
Engineering and Technology
IdentifiersURN: urn:nbn:se:liu:diva-12916DOI: 10.1007/11853107_21OAI: oai:DiVA.org:liu-12916DiVA: diva2:17390