Regular expression types for XML
Haruo Hosoya, Jérôme Vouillon, Benjamin C. Pierce · ACM SIGPLAN International Conference on Functional Programming (ICFP) · 2000
We propose regular expression types as a foundation for XML processing languages. Regular expression types are a natural generalization of Document Type Definitions (DTDs), describing structures in XML documents using regular expression operators (i.e., *, ?, |, etc.) and supporting a simple but powerful notion of subtyping.The decision problem for the subtype relation is EXPTIME-hard, but it can be checked quite efficiently in many cases of practical interest. The subtyping algorithm developed here is a variant of Aiken and Murphy's set-inclusion constraint solver, to which are added several optimizations and two new properties: (1) our algorithm is provably complete, and (2) it allows a useful "subtagging" relation between nodes with different labels in XML trees.
Cited by 177 works. doi:10.1145/351240.351242 Open-access PDF
Authors
References
- Lecture Notes in Computer Science 1205
- Introduction to automata theory, languages and computation
- Introduction to automata theory, languages, and computation
- A Extensible Markup Language XML
- Extensible markup language
- Derivatives of Regular Expressions
- DataGuides: Enabling Query Formulation and Optimization in Semistructured Databases
- XML-QL: A Query Language for XML
- Adding structure to unstructured data
- Tree Automata Techniques and Applications