arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1905.07362cs.PL
收藏

简单有效的基于XML的XML和XSLT类型检查方法(技术报告,Bad Honnef 2015)

Simple and Effective Relation-Based Approaches To XPath and XSLT Type Checking (Technical Report, Bad Honnef 2015)

Baltasar Trancón y Widemann, Markus Lepper

摘要:

XML是一种用于对XML文档的各个部分进行寻址的语言。我们给出了一个抽象的解释,在文档节点类型的关系方面的表达式。节点集相关的XML语言结构直接映射到基本的,易于理解和计算的关系操作。因此,我们的解释给出了非常简洁的类型级指称语义和实用的分析工具的节点集片段的Java 1.0语言。此方法是TPath实现的一部分。XSL-T是一种用于转换XML文档的纯函数式语言。对于最常见的情况,即转换为XML文档,转换代码的类型检查通常是不可行的,但在实践中是非常需要的。事实证明,TPath的关系方法可以用于检查结果语言的所有片段,这些片段逐字地包含在转换代码中。这导致了一种称为“分段验证”的技术,它是XSL-T的txsl实现的一部分。

英文摘要:

XPath is a language for addressing parts of an XML document. We give an abstract interpretation of XPath expressions in terms of relations on document node types. Node-set-related XPath language constructs are mapped straightforwardly onto basic, well-understood and easily computable relational operations. Hence our interpretation gives both extremely concise type-level denotational semantics and a practical analysis tool for the node-set fragment of the XPath 1.0 language. This method is part of the TPath implementation of XPath. XSL-T is a pure functional language for transforming XML documents. For the most common case, the transformation into an XML document, type checking of the transformation code is unfeasible in general, but strongly required in practice. It turned out that the relational approach of TPath can be carried over to check all fragments of the result language, which are contained verbatim in the transformation code. This leads to a technique called "Fragmented Validation" and is part of the txsl implementation of XSL-T.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑