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 条
  • [21] Computing similarity between XML documents for XML mining
    Lee, JW
    Park, SS
    ENGINEERING KNOWLEDGE IN THE AGE OF THE SEMANTIC WEB, PROCEEDINGS, 2004, 3257 : 492 - 493
  • [22] Algorithms for Generating XML Documents from Probabilistic XML
    Zhu Yan
    Ma Haitao
    INFORMATION TECHNOLOGY APPLICATIONS IN INDUSTRY, PTS 1-4, 2013, 263-266 : 1578 - +
  • [23] Unification of XML DTD for XML documents with similar structure
    Yoo, CS
    Woo, SM
    Kim, YS
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2005, PT 3, 2005, 3482 : 954 - 963
  • [24] Exploiting XML Schema for Interpreting XML Documents as RDF
    Thuy, Pham Thi Thu
    Lee, Young-Koo
    Lee, Sungyoung
    Jeong, Byeong-Soo
    2008 IEEE INTERNATIONAL CONFERENCE ON SERVICES COMPUTING, PROCEEDINGS, VOL 2, 2008, : 555 - 558
  • [25] Clustering XML documents by structure
    Dalamagas, T
    Cheng, T
    Winkel, KJ
    Sellis, T
    METHODS AND APPLICATIONS OF ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 2004, 3025 : 112 - 121
  • [26] Temporal versioning of XML documents
    Wuwongse, V
    Yoshikawa, M
    Amagasa, T
    DIGITAL LIBRARIES: INTERNATIONAL COLLABORATION AND CROSS-FERTILIZATION, PROCEEDINGS, 2004, 3334 : 419 - 428
  • [27] Clustering XML Documents by Structure
    Lesniewska, Anna
    ADVANCES IN DATABASES AND INFORMATION SYSTEMS, 2010, 5968 : 238 - 246
  • [28] Querying encrypted XML documents
    Jammalamadaka, Ravi Chandra
    Mehrotra, Sharad
    10TH INTERNATIONAL DATABASE ENGINEERING AND APPLICATIONS SYMPOSIUM, PROCEEDINGS, 2006, : 129 - 136
  • [29] Reconstruction of Normalized XML Documents
    Necasky, Martin
    IIT: 2008 INTERNATIONAL CONFERENCE ON INNOVATIONS IN INFORMATION TECHNOLOGY, 2008, : 514 - 518
  • [30] Incremental validation of XML documents
    Papakonstantinou, Y
    Vianu, V
    DATABASE THEORY ICDT 2003, PROCEEDINGS, 2003, 2572 : 47 - 63