{'fraction_non_alphanumeric': 0.025227043390514632, 'fraction_numerical': 0.0, 'mean_word_length': 5.161490683229814, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Robust Parser for the Web Query Language Xcerpt, Institute of Computer Science, LMU, Munich

This project thesis investigates error handling for the Web Query Language Xcerpt (cf. http://www.xcerpt.org). In addition, a formal definition of the Xcerpt syntax is given. After a short introduction to Xcerpt and parsing, several error management techniques known from literature are presented. They are compared regarding their usefulness for Xcerpt, and one technique is recommended as most suitable for Xcerpt. Unfortunately, the technology to produce a fast and easy to maintain parser for Xcerpt allows only a very limited error management. We discuss some extensions of this technology to improve its error management potentials. We also discuss the error management, possible with the available technology, which has been implemented for the Xcerpt parser. In the last section we present a new error handling technique weakening some problems of traditional error management techniques.