【24h】

Checking potential validity of XML documents

机译:检查XML文档的潜在有效性

获取原文
获取原文并翻译 | 示例

摘要

The process of creation of document-centric XML documents often starts with a prepared textual content, into which the editor introduces markup. In such situations, intermediate XML is almost never valid with respect to the DTD/Schema used for the encoding. At the same time, it is important to ensure that at each moment of time, the editor is working with an XML document that can enriched with further markup to become valid. In this paper we introduce the notion of potential validity of XML documents, which allows us to distinguish between XML documents that are invalid because the encoding is simply incomplete and XML documents that are invalid because some of the DTD rules guiding the structure of the encoding were violated during the markup process. We give a linear-time algorithm for checking potential validity for documents.
机译:创建以文档为中心的XML文档的过程通常从准备好的文本内容开始,编辑器在其中引入了标记。在这种情况下,对于用于编码的DTD / Schema,中间XML几乎永远无效。同时,重要的是要确保编辑器在每时每刻都在处理XML文档,该文档可以充实更多的标记以变得有效。在本文中,我们介绍了XML文档的潜在有效性的概念,该概念使我们能够区分仅由于编码不完全而无效的XML文档和由于一些指导编码结构的DTD规则而无效的XML文档。在标记过程中违反。我们提供了一种线性时间算法来检查文档的潜在有效性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号