BonXai
Authors:
Open Access
- 24 August 2017
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Database Systems
- Vol. 42 (3) , 1-42
Abstract
While the migration from DTD to XML Schema was driven by a need for increased expressivity and flexibility, the latter was also significantly more complex to use and understand. Whereas DTDs are characterized by their simplicity, XML Schema Documents are notoriously difficult. In this article, we introduce the XML specification language BonXai, which incorporates many features of XML Schema but is arguably almost as easy to use as DTDs. In brief, the latter is achieved by sacrificing the explicit use of types in favor of simple patterns expressing contexts for elements. The goal of BonXai is not to replace XML Schema but rather to provide a simpler alternative for users who want to go beyond the expressiveness and features of DTD but do not need the explicit use of types. Furthermore, XML Schema processing tools can be used as a back-end for BonXai, since BonXai can be automatically converted into XML Schema. A particularly strong point of BonXai is its solid foundation rooted in a decade of theoretical work around pattern-based schemas. We present a formal model for a core fragment of BonXai and the translation algorithms to and from a core fragment of XML Schema. We prove that BonXai and XML Schema can be converted back-and-forth on the level of tree languages and we formally study the size trade-offs between the two languages.Keywords
Funding Information
- Deutsche Forschungsgemeinschaft (MA 4938/2-1)
- Future and Emerging Technologies
- Seventh Framework Programme for Research of the European Commission, under the FET-Open grant agreement FOX (FP7-ICT-233599)
This publication has 20 references indexed in Scilit:
- Separating Regular Languages by Piecewise Testable and Unambiguous LanguagesLecture Notes in Computer Science, 2013
- Descriptional Complexity of Deterministic Regular ExpressionsLecture Notes in Computer Science, 2012
- Generalized One-UnambiguityLecture Notes in Computer Science, 2011
- Inference of concise regular expressions and DTDsACM Transactions on Database Systems, 2010
- Simple off the shelf abstractions for XML schemaACM SIGMOD Record, 2007
- On the minimization of XML Schemas and tree automata for unranked treesJournal of Computer and System Sciences, 2007
- Expressiveness and complexity of XML SchemaACM Transactions on Database Systems, 2006
- Taxonomy of XML schema languages using formal language theoryACM Transactions on Internet Technology, 2005
- Complexity measures for regular expressionsJournal of Computer and System Sciences, 1976
- Derivatives of Regular ExpressionsJournal of the ACM, 1964