{'fraction_non_alphanumeric': 0.01579466929911155, 'fraction_numerical': 0.0, 'mean_word_length': 5.07185628742515, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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 framework for constraint checking involving aggregates for multiple XML databases using schematron

Many internet and enterprise applications now not only use XML (eXtensible Markup Language) as a medium for communication but also for storing their data either temporarily for an application or permanently as a means to represent their data. Most of these applications need to follow a set of rules, which are called as integrity constraints in the context of databases. We assume a setting in which data is distributed across multiple sites. In this paper, we introduce a notation for representing constraints affecting multiple XML databases, Global XConstraints. A single update on one site can cause these global XConstraints to be violated. Hence, we propose a framework for checking these constraint violations using Schematron. As a proof of concept, we present a prototype of our system implementation. Most of the processing in our approach happens in compile time; hence we save time during run time.