The XML typechecking problem
- 1 March 2002
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGMOD Record
- Vol. 31 (1) , 89-96
- https://doi.org/10.1145/507338.507360
Abstract
When an XML document conforms to a given type (e.g. a DTD or an XML Schema type) it is called a valid document. Checking if a given XML document is valid is called the validation problem, and is typically performed by a parser (hence, validating parser ), more precisely it is performed right after parsing, by the same program module. In practice however XML documents are often generated dynamically, by some program: checking whether all XML documents generated by the program are valid w.r.t. a given type is called the typechecking problem. While a validation analyzes an XML document, a type checker analyzes a program, and the problem's difficulty is a function of the language in which that program is expressed. The XML typechecking problem has been investigated recently in [MSV00, HP00, HVP00, AMN + 01a, AMN + 01b] and the XQuery Working Group adopted some of these techniques for typechecking XQuery [FFM + 01]). All these techniques, however, have limitations which need to be understood and further explored and investigated. In this paper we define the XML typechecking problem, and present current approaches to typechecking, discussing their limitations.Keywords
This publication has 6 references indexed in Scilit:
- Towards static type checking for XSLTPublished by Association for Computing Machinery (ACM) ,2001
- XML with data valuesPublished by Association for Computing Machinery (ACM) ,2001
- Regular expression types for XMLPublished by Association for Computing Machinery (ACM) ,2000
- DTD inference for views of XML dataPublished by Association for Computing Machinery (ACM) ,2000
- Typechecking for XML transformersPublished by Association for Computing Machinery (ACM) ,2000
- Deciding Equivalence of Finite Tree AutomataSIAM Journal on Computing, 1990