• 中国精品科技期刊
  • CCF推荐A类中文期刊
  • 计算领域高质量科技期刊T1类
Advanced Search
Lu Yan, Hao Zhongxiao. A New Algorithm for DTDs Absolute Consistency Checking[J]. Journal of Computer Research and Development, 2008, 45(5): 895-900.
Citation: Lu Yan, Hao Zhongxiao. A New Algorithm for DTDs Absolute Consistency Checking[J]. Journal of Computer Research and Development, 2008, 45(5): 895-900.

A New Algorithm for DTDs Absolute Consistency Checking

More Information
  • Published Date: May 14, 2008
  • A document type definition (DTD) describes the structure of a set of similar XML documents and serves as the schema for XML documents. Consistency of DTDs is an important topic in XML research. A DTD is consistent if and only if there is some valid XML document conforming to the DTD, while a DTD is inconsistent if there is no XML document conforming to it. Inconsistent DTDs are of no use and should be avoided as well as possible. However, a consistent DTD may have inconsistent substructures that no valid XML data could conform to. This kind of DTDs should be avoided as well as inconsistent DTDs. In order to solve this problem, a new notion of “element consistency in a DTD” is put forward in this paper. Based on “element consistency in a DTD”, notion of “absolute consistent DTDs” , which means consistent DTDs with no inconsistent substructures, is discussed. Furthermore, a new DTDs absolute consistency checking algorithm, with which a DTD can be determined absolute consistent or not consistent quickly, is also offered. The worst time complexity of the new DTDs absolute consistency checking algorithm is O(n).
  • Related Articles

    [1]Duan Zhuohui, Liu Haikun, Zhao Jinwei, Liu Yihang, Liao Xiaofei, Jin Hai. A Reconfigurable Cache Consistency Mechanism for Distributed Memory Pool[J]. Journal of Computer Research and Development, 2023, 60(9): 1960-1972. DOI: 10.7544/issn1000-1239.202330448
    [2]Wei Zheng, Dou Yu, Gao Yanzhen, Ma Jie, Sun Ninghui, Xing Jing. A Consistent Hash Data Placement Algorithm Based on Stripe[J]. Journal of Computer Research and Development, 2021, 58(4): 888-903. DOI: 10.7544/issn1000-1239.2021.20190732
    [3]Tian Junfeng, Wang Yanbiao. Causal-Pdh: Causal Consistency Model for NoSQL Distributed Data Storage Using HashGraph[J]. Journal of Computer Research and Development, 2020, 57(12): 2703-2716. DOI: 10.7544/issn1000-1239.2020.20190686
    [4]Wang Jieting, Qian Yuhua, Li Feijiang, Liu Guoqing. Support Vector Machine with Eliminating the Random Consistency[J]. Journal of Computer Research and Development, 2020, 57(8): 1581-1593. DOI: 10.7544/issn1000-1239.2020.20200127
    [5]Chen Bo, Lu Youyou, Cai Tao, Chen Youmin, Tu Yaofeng, Shu Jiwu. A Consistency Mechanism for Distributed Persistent Memory File System[J]. Journal of Computer Research and Development, 2020, 57(3): 660-667. DOI: 10.7544/issn1000-1239.2020.20190074
    [6]Sun Xuejiao and Liu Jinglei. On the Satisfiability and Consistency for CP-nets[J]. Journal of Computer Research and Development, 2012, 49(4): 754-762.
    [7]Lu Yan, Hao Zhongxiao, Zhang Liang. An Algorithm for Checking Absolute Consistency of DTDs[J]. Journal of Computer Research and Development, 2005, 42(11): 1977-1982.
    [8]Xiong Jin, Fan Zhihua, Ma Jie, Tang Rongfeng, Li Hui, Meng Dan. Metadata Consistency in DCFS2[J]. Journal of Computer Research and Development, 2005, 42(6): 1019-1027.
    [9]Zhang Zhongping, Wang Chao, Zhu Yangyong. Constraint-Based Normalization Algorithms for XML Documents[J]. Journal of Computer Research and Development, 2005, 42(5): 755-764.
    [10]Lu Yan, Zhang Liang, Duan Qiyang, Shi Baile. DTD-Based XML Indexing[J]. Journal of Computer Research and Development, 2005, 42(1): 30-37.

Catalog

    Article views (642) PDF downloads (365) Cited by()

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return