Sciweavers

APLAS
2003
ACM

A Typeful and Tagless Representation for XML Documents

13 years 10 months ago
A Typeful and Tagless Representation for XML Documents
When constructing programs to process XML documents, we immediately face the question as to how XML documents should be represented internally in the programming language we use. Currently, most representations for XML documents are typeless in the sense that the type information of an XML document cannot be reflected in the type of the representation of the document (if the representation is assumed to be typed). Though convenient to construct, a typeless representation for XML documents often makes use of a large number of representation tags, which not only require some significant amount of space to store but may also incur numerous run-time tag checks when the represented documents are processed. Moreover, with a typeless representation for XML documents, it becomes difficult or even impossible to statically capture program invariants that are related to the type information of XML documents. Building upon our recent work on guarded recursive datatypes, we present an approach to...
Dengping Zhu, Hongwei Xi
Added 05 Jul 2010
Updated 05 Jul 2010
Type Conference
Year 2003
Where APLAS
Authors Dengping Zhu, Hongwei Xi
Comments (0)