Skip to main content

XML Types

  • Reference work entry
  • First Online:
Encyclopedia of Database Systems
  • 137 Accesses

Synonyms

XML schemas

Definition

To constrain the structure of allowed XML documents, for instance with respect to a specific application, a target schema can be defined in some schema language. A schema consists of a sequence of type definitions specifying a (possibly infinite) class of XML documents. A type can be assigned to every element in a document valid w.r.t. a schema. As the same holds for the root element, the document itself can also be viewed to be of a specific type. The schema languages DTDs, XML Schema, and Relax NG, are, on an abstract level, different instantiations of the abstract model of unranked regular tree languages.

Historical Background

Brüggemann-Klein et al. [3] were the first to revive the theory of regular unranked tree automata [14] for the modelling of XML schema languages. Murata et al. [10] provided the formal taxonomy as presented here. Martens et al. [8] characterized the expressiveness of the different models and provided type-free abstractions.

Foundations...

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Recommended Reading

  1. Brüggemann-Klein A. Regular expressions into finite automata. Theor Comput Sci. 1993;120(2): 197–213.

    Article  MathSciNet  MATH  Google Scholar 

  2. Brüggemann-Klein A, Wood D. One unambiguous regular languages. Inf Comput. 1998;140(2): 229–53.

    Article  MathSciNet  MATH  Google Scholar 

  3. Brüggemann-Klein A, Murata M, Wood D. Regular tree and regular hedge languages over unranked alphabets. Technical report HKUST-TCSC-2001-0. The Hongkong University of Science and Technology; 2001.

    Google Scholar 

  4. Carme J, Niehren J, Tommasi M. Querying unranked trees with stepwise tree automata. In: Proceedings of the 15th International Conference on Rewriting Techniques and Applications; 2004. p. 105–18.

    Chapter  Google Scholar 

  5. Cristau J, Löding C, Thomas W. Deterministic automata on unranked trees. In: Proceedings of the 15th International Symposium on Fundamentals of Computation Theory; 2005. p. 68–79.

    Chapter  Google Scholar 

  6. Hosoya H, Murata M. Boolean operations and inclusion test for attribute-element constraints. Theor Comput Sci. 2006;360(1–3):327–51.

    Article  MathSciNet  MATH  Google Scholar 

  7. Martens W, Niehren J. Minimizing tree automata for unranked trees. In: Proceedings of the 10th International Workshop on Database Programming Languages; 2005. p. 232–46.

    Chapter  Google Scholar 

  8. Martens W, Neven F, Schwentick T, Bex GJ. Expressiveness and complexity of XML schema. ACM Trans Database Syst. 2006;31(3):770–813.

    Article  Google Scholar 

  9. Martens W, Neven F, Schwentick T. Simple off the shelf abstractions for XML schema. ACM SIGMOD Rec. 2007;36(4):15–22.

    Article  Google Scholar 

  10. Murata M, Lee D, Mani M, Kawaguchi K. Taxonomy of XML schema languages using formal language theory. ACM Trans Internet Technol. 2005;5(4):660–704.

    Article  Google Scholar 

  11. Neven F. Automata theory for XML researchers. ACM SIGMOD Rec. 2002;31(3):39–46.

    Article  Google Scholar 

  12. Neven F, Schwentick T. Query automata on finite trees. Theor Comput Sci. 2002;275:633–74.

    Article  MathSciNet  MATH  Google Scholar 

  13. Segoufin L, Vianu V. Validating streaming XML documents. In: Proceedings of the 21st ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems; 2002. p. 53–64.

    Google Scholar 

  14. Thatcher JW. Characterizing derivation trees of context-free grammars through a generalization of finite automata theory. J Comput Syst Sci. 1967;1(4):317–22.

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Frank Neven .

Editor information

Editors and Affiliations

Section Editor information

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Science+Business Media, LLC, part of Springer Nature

About this entry

Check for updates. Verify currency and authenticity via CrossMark

Cite this entry

Neven, F. (2018). XML Types. In: Liu, L., Özsu, M.T. (eds) Encyclopedia of Database Systems. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-8265-9_1563

Download citation

Publish with us

Policies and ethics