Narrowing Down XML Template Expansion and Schema Validation

12/17/2019
by   René Haberland, et al.
0

This work examines how much template instantiation can narrow down schema validation for XML-documents. First, instantiation and validation are formalised. Properties towards their practical meaning are probed, an implementation is developed. Requirements for an unification are elaborated and a comparison is taken out. The semantics are formulated in terms of denotational semantics as well as rule-based referring to the data models chosen. Formalisation makes it clearer instantiation is adequately represented. Both semantics show, that the rules set for both, instantiation and validation, cannot totally be unified. However, reuse of simplified code also simplifies unification. Implementation allows unification of both processes on document-level. The validity of all implementations is guaranteed by a comprehensive test suite. Analysis shows the minimal XML template language has got regular grammar properties, except macros. An explanation was given, why filters and arrows are not best, especially towards a unified language to be variable and extensive. Recommendations for future language design are provided. Instantiation shows a universal gap in applications, for instance, as seen by XSLT. Lack of expressibility of arbitrary functions in a schema is one such example, expressibility of the command language is another basic restriction. Useful unification constraints are found out to be handy, such as typing each slot. In order to obtain most flexibility out of command languages adaptations are required. An alternative to introducing constraints is the effective construction of special NFAs. Comparison criteria are introduced regarding mainly syntax and semantics. Comparisons is done accordingly. Despite its huge syntax definitions XSD was found weaker than RelaxNG or XML template language. As template language the latter is considered universal.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/19/2019

Unification of Template-Expansion and XML-Validation

The processing of XML documents often includes creation and validation. ...
research
02/18/2019

Schema Validation and Evolution for Graph Databases

Despite the maturity of commercial graph databases, little consensus has...
research
12/02/2021

A Review of SHACL: From Data Validation to Schema Reasoning for RDF Graphs

We present an introduction and a review of the Shapes Constraint Languag...
research
12/07/2021

A Specification for Typed Template Haskell

Multi-stage programming is a proven technique that provides predictable ...
research
06/19/2019

Transformation of XML Documents with Prolog

Transforming XML documents with conventional XML languages, like XSL-T, ...
research
09/16/2019

MVDLite: A Light-weight Representation of Model View Definition with Fast Validation for BIM Applications

Model View Definition (MVD) is the standard methodology to define the pa...
research
03/01/2018

Graph Based Proactive Secure Decomposition Algorithm for Context Dependent Attribute Based Inference Control Problem

Relational DBMSs continue to dominate the database market, and inference...

Please sign up or login with your details

Forgot password? Click here to reset