XML文法和语言的形式性质
Formal Properties of XML Grammars and Languages
摘要:
XML文档由文档类型定义(DTD)描述。XML语法是一种形式化的语法,它捕捉了DTD的语法特征。我们调查这个家庭的文法的属性。我们表明,每一种XML语言基本上都有一个独特的XML语法。本文给出了XML文法生成语言的两种刻画,一种是集合论的刻画,另一种是饱和性的刻画。我们调查的可判定性问题,并证明了一些属性是不可判定的一般上下文无关的语言成为可判定的XML语言。我们还描述了生成常规XML语言的XML语法。
英文摘要:
XML documents are described by a document type definition (DTD). An XML-grammar is a formal grammar that captures the syntactic features of a DTD. We investigate properties of this family of grammars. We show that every XML-language basically has a unique XML-grammar. We give two characterizations of languages generated by XML-grammars, one is set-theoretic, the other is by a kind of saturation property. We investigate decidability problems and prove that some properties that are undecidable for general context-free languages become decidable for XML-languages. We also characterize those XML-grammars that generate regular XML-languages.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。