XREP: The XQuery Rule Evaluation Pattern—A Metadata-Driven Approach to Runtime Business Rule Processing in Native XML Systems

Fuente: Zenodo
Enregistré dans:
Détails bibliographiques
Auteur principal: Raut, Harshal
Format: Recurso digital
Langue:anglais
Publié: Zenodo 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866902237213622272
author Raut, Harshal
author_facet Raut, Harshal
contents <p>Modern SaaS systems increasingly rely on dynamic policy and rule evaluation to enforce tenant-specific business logic. Traditional rule engines introduce architectural complexity by requiring separate rule languages and execution environments distinct from the application and data layers.</p> <p>This paper introduces XREP (XQuery Rule Evaluation Pattern), a metadata-driven architectural pattern for runtime rule processing in native XML systems. XREP enables business rules to be stored as XML metadata and evaluated dynamically using XQuery, eliminating the rule–data impedance mismatch common in conventional rule engines.</p> <p>The paper formalizes the pattern, describes its implementation in a multi-tenant SaaS platform, and compares it with existing rule and policy systems such as Drools, XACML, Open Policy Agent, and Cedar. The results demonstrate how linguistic homogeneity between rules, queries, and data simplifies system architecture while enabling flexible runtime extensibility.</p> <p>The XREP pattern illustrates how declarative rule processing can be integrated directly within XML-native platforms to support scalable, metadata-driven application design.</p>
format Recurso digital
id zenodo_https___doi_org_10_5281_zenodo_19027885
institution Zenodo
language eng
publishDate 2026
publisher Zenodo
record_format zenodo
spellingShingle XREP: The XQuery Rule Evaluation Pattern—A Metadata-Driven Approach to Runtime Business Rule Processing in Native XML Systems
Raut, Harshal
XQuery
XML Databases
Business Rule Engines
Policy-as-Code
Metadata Driven Architecture
Declarative Systems
SaaS Architecture
<p>Modern SaaS systems increasingly rely on dynamic policy and rule evaluation to enforce tenant-specific business logic. Traditional rule engines introduce architectural complexity by requiring separate rule languages and execution environments distinct from the application and data layers.</p> <p>This paper introduces XREP (XQuery Rule Evaluation Pattern), a metadata-driven architectural pattern for runtime rule processing in native XML systems. XREP enables business rules to be stored as XML metadata and evaluated dynamically using XQuery, eliminating the rule–data impedance mismatch common in conventional rule engines.</p> <p>The paper formalizes the pattern, describes its implementation in a multi-tenant SaaS platform, and compares it with existing rule and policy systems such as Drools, XACML, Open Policy Agent, and Cedar. The results demonstrate how linguistic homogeneity between rules, queries, and data simplifies system architecture while enabling flexible runtime extensibility.</p> <p>The XREP pattern illustrates how declarative rule processing can be integrated directly within XML-native platforms to support scalable, metadata-driven application design.</p>
title XREP: The XQuery Rule Evaluation Pattern—A Metadata-Driven Approach to Runtime Business Rule Processing in Native XML Systems
topic XQuery
XML Databases
Business Rule Engines
Policy-as-Code
Metadata Driven Architecture
Declarative Systems
SaaS Architecture
url https://doi.org/10.5281/zenodo.19027885