In the XML standard, data are represented as unranked labeled ordered trees. Regular unranked tree automata provide a useful formalism for the validation of schemas enforcing regular structural constraints on XML documents. However some concrete application contexts need the expression of more general constraints than the regular ones. In this paper we propose a new framework in which context-free style structural constraints can be expressed and validated. This framework is characterized by: (i) the introduction of a new notion of trees, the so-called typed unranked labeled trees (tulab trees for short) in which each node receives one of three possible types (up, down or fix), and (ii) the definition of a new notion of tree automata, the so-called nested sibling tulab tree automata, able to enforce context-free style structural constraints on tulab tree languages. During their structural control process, such automata are using visibly pushdown languages of words [R. Alur and P. Madhusudan, Visibly pushdown languages, 36th ACM symposium on Theory of Computing, Chicago, USA (2004) 202-211] on their alphabet of states. We show that the resulting class NSTL of tulab tree languages recognized by nested sibling tulab tree automata is robust, closed under Boolean operations and with decision procedures for the classical membership, emptiness and inclusion problems. We then give three characterizations of NSTL: a logical characterization by defining an adequate logic in which NSTL happens to coincide with the models of monadic second order sentences; the two other characterizations are using adequate encodings and map together languages of NSTL with some regular sets of 3-ary trees or with particular sets of binary trees.
@article{ITA_2009__43_2_379_0, author = {Gire, Fran\c coise and Talbot, Jean-Marc}, title = {Nested sibling tree automata}, journal = {RAIRO - Theoretical Informatics and Applications - Informatique Th\'eorique et Applications}, volume = {43}, year = {2009}, pages = {379-402}, doi = {10.1051/ita/2009006}, mrnumber = {2512265}, zbl = {1171.68020}, language = {en}, url = {http://dml.mathdoc.fr/item/ITA_2009__43_2_379_0} }
Gire, Françoise; Talbot, Jean-Marc. Nested sibling tree automata. RAIRO - Theoretical Informatics and Applications - Informatique Théorique et Applications, Tome 43 (2009) pp. 379-402. doi : 10.1051/ita/2009006. http://gdmltest.u-ga.fr/item/ITA_2009__43_2_379_0/
[1] Data on the Web: From Relations to Semi-structured Data and XML (1999).
and ,[2] A fixpoint calculus for local and global program flows, Symposium on Principles of Programming Languages, POPL 2006 (2006) 153-165.
, and ,[3] Languages of nested trees, Computer-Aided Verification, CAV 2006 (2006) 329-342. | MR 2301176 | Zbl pre05187395
, and ,[4] Visibly pushdown languages, Chicago, USA. 36th ACM symposium on Theory of Computing (2004) 202-211. | MR 2121602
and ,[5] Tree-walking automata cannot be determinized. ICALP (2004) 246-256. | MR 2160937 | Zbl 1098.68620
and ,[6] Extensible markup language (xml) 1.0, http://www.w3org/TR/1998/REC-xml-19980210/ (1998).
, and ,[7] Regular tree and regular hedge languages over unranked alphabets, Technical Report 2001-05. HKUST TCS Center (1998).
, and ,[8] Tree automata with one memory set constraints and cryptographic protocols. Theoret. Comput. Sci. 331 (2005) 143-214. | MR 2120055 | Zbl 1070.68066
and ,[9] Tree automata techniques and applications, available on: http://www.grappa.univ-lille3.fr/tata (2007), release October, 12th (2007).
, , , , , , and ,[10] Tree automata with memory, visibility and structural constraints, In Foundations of Software Science and Computational Structures, 10th International Conference, FOSSACS 2007. Lect. Notes Comput. Sci. 4423 (2007) 168-182. | MR 2497850 | Zbl 1195.68054 | Zbl pre05188986
, and ,[11] Xml schema, tree logic and sheaves automata, Technical Report RR-4631, Inria (2002). | MR 2071589 | Zbl 1107.68048
and ,[12] Automata, logic and xml. CSL (2002) 2-26. | MR 2048038 | Zbl 1020.68044
,[13] Visibly pushdown expression effects for xml stream processing, Programming Languages Technologies for XML. PLAN-X (2005) 5-19.
,[14] Tree, automata and xml. Paris, PODS (2004).
,[15] Typing and quering xml documents: some complexity bounds. San Diego CA, PODS (2003) 167-178.
,[16] Numerical document queries. San Diego CA, PODS (2003).
, and ,[17] Generalized finite automata with an application to a decision problem of second-order logic. Mathematical System Theory 2 57-82 (1968). | MR 224476 | Zbl 0157.02201
and ,