2008
DOI: 10.1145/1411203.1411210
|View full text |Cite
|
Sign up to set email alerts
|

Typed iterators for XML

Abstract: XML transformations are very sensitive to types: XML types describe the tags and attributes of XML elements as well as the number, kind, and order of their sub-elements. Therefore, operations, even simple ones, that modify these features may affect the types of documents. Operations on XML documents are performed by iterators that, to be useful, need to be typed by a kind of polymorphism that goes beyond what currently exists. For this reason these iterators are not programmed but, rather, hard-coded in the la… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
8
0

Year Published

2011
2011
2021
2021

Publication Types

Select...
2
1

Relationship

2
1

Authors

Journals

citations
Cited by 3 publications
(8 citation statements)
references
References 33 publications
0
8
0
Order By: Relevance
“…3 We dubbed this property convexity after convex formulas: a formula is convex if whenever it entails a disjunction of formulas, then it entails one of them. The ⇒ direction of (8) (the other direction is trivial) states the convexity of assignments with respect to emptiness: 4 This holds true even for languages with bounded quantification which, as it is well known, defines the subtyping relation for type variables. Bounded quantification does not require any modification to our system, since it can be encoded by intersections: a type variable α bounded by a type t can be encoded by a fresh (unbounded) variable β by replacing β∧t for every occurrence of α.…”
Section: Convexitymentioning
confidence: 99%
See 3 more Smart Citations
“…3 We dubbed this property convexity after convex formulas: a formula is convex if whenever it entails a disjunction of formulas, then it entails one of them. The ⇒ direction of (8) (the other direction is trivial) states the convexity of assignments with respect to emptiness: 4 This holds true even for languages with bounded quantification which, as it is well known, defines the subtyping relation for type variables. Bounded quantification does not require any modification to our system, since it can be encoded by intersections: a type variable α bounded by a type t can be encoded by a fresh (unbounded) variable β by replacing β∧t for every occurrence of α.…”
Section: Convexitymentioning
confidence: 99%
“…Clearly, the containment on the right hand side of (4) is a necessary condition for subtyping. Unfortunately, considering it also as necessary and, thus, using (4) to define subtyping yields a subtyping relation that suffers too many problems to be useful. The first obstacle is that, as conjectured by Hosoya in [15], if the subtyping relation defined by (4) is decidable (which is an open problem), then deciding it is at least as hard as the satisfiability problem for set constraint systems with negative constraints, which is NEXPTIME-complete and for which, so far, no practical algorithm is known.…”
Section: The Problem and A Naive (Wrong) Solutionmentioning
confidence: 99%
See 2 more Smart Citations
“…In this work we show that the two visions can coexist: we type data by semantic subtyping [16], a type system conceived for semistructured data, and describe computations by our filters which are untyped combinators that, thanks to a technique of weak typing introduced in [9], can polymorphically type the results of data query and processing with a high degree of precision. The conception of filters is driven by the schema of the data rather than the execution model and we use them (i) to capture and give a uniform semantics to a wide range of semi structured data processing capabilities, (ii) to give a type system that encompasses the types defined for such languages, if any, notably Pig, Jaql and AQL (but also XML query and processing languages: see Section 5.3), (iii) to infer the precise result types of queries written in these languages as they are (so without the addition of any explicit type annotation/definition or new construct), and (iv) to show how minimal extensions/modifications of the current syntax of these languages can bring dramatic improvements in the precision of the inferred types.…”
Section: Groupmentioning
confidence: 99%