A typeful and tagless representation for XML documents

被引:0
|
作者
Zhu, DP [1 ]
Xi, HW [1 ]
机构
[1] Boston Univ, Dept Comp Sci, Boston, MA 02215 USA
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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 representing XML documents in this paper that not only allows the type information of an XML document to be reflected in the type of the representation of the document but also significantly reduces the need for representation tags that are required in typeless representations. With this approach, we become able to process XML documents in a typeful manner, thus reaping various well-known software engineering benefits from the presence of types.
引用
收藏
页码:89 / 104
页数:16
相关论文
共 50 条
  • [41] Parallel processing XML documents
    Lü, K
    Zhu, YL
    Sun, WJ
    Lin, SX
    Fan, JP
    IDEAS 2002: INTERNATIONAL DATABASE ENGINEERING AND APPLICATIONS SYMPOSIUM, PROCEEDINGS, 2002, : 96 - 105
  • [42] XML documents clustering by structures
    Nayak, Richi
    Xu, Sumei
    ADVANCES IN XML INFORMATION RETRIEVAL AND EVALUATION, 2006, 3977 : 432 - 442
  • [43] Semantic Clustering of XML Documents
    Tagarelli, Andrea
    Greco, Sergio
    ACM TRANSACTIONS ON INFORMATION SYSTEMS, 2010, 28 (01)
  • [44] Consistency of temporal XML documents
    Campo, Marcela
    Vaisman, Alejandro
    DATABASE AND XML TECHNOLOGIES, PROCEEDINGS, 2006, 4156 : 31 - 45
  • [45] A view model for XML documents
    Baril, X
    Bellahsène, Z
    OOIS 2000: 6TH INTERNATIONAL CONFERENCE ON OBJECT ORIENTED INFORMATION SYSTEMS, PROCEEDINGS, 2001, : 429 - 441
  • [46] Clustering XML documents by patterns
    Piernik, Maciej
    Brzezinski, Dariusz
    Morzy, Tadeusz
    KNOWLEDGE AND INFORMATION SYSTEMS, 2016, 46 (01) : 185 - 212
  • [47] On the midpoint of a set of XML documents
    Abelló, A
    de Palol, X
    Hacid, MS
    DATABASE AND EXPERT SYSTEMS APPLICATIONS, PROCEEDINGS, 2005, 3588 : 441 - 450
  • [48] Determining the complexity of XML documents
    Qureshi, MH
    Samadzadeh, MH
    ITCC 2005: INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY: CODING AND COMPUTING, VOL 2, 2005, : 416 - 421
  • [49] Updating multidimensional XML documents
    Fousteris, Nikolaos
    Gergatsoulis, Manolis
    Stavrakas, Yannis
    INTERNATIONAL JOURNAL OF WEB INFORMATION SYSTEMS, 2008, 4 (02) : 142 - +
  • [50] Collaborative Clustering of XML Documents
    Greco, Sergio
    Gullo, Francesco
    Ponti, Giovanni
    Tagarelli, Andrea
    2009 INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING WORKSHOPS (ICPPW 2009), 2009, : 579 - 586