Validating streaming XML documents
Validating streaming XML documents
复制标题
验证流式 XML 文档
DOI:
--
复制
发表时间:
2002
期刊:
影响因子:
--
通讯作者:
V. Vianu
中科院分区:
文献类型:
--
作者:
L. Segoufin;V. Vianu
This paper investigates the on-line validation of streaming XML documents with respect to a DTD, under memory constraints. We first consider validation using constant memory, formalized by a finite-state automaton (FSA). We examine two flavors of the problem, depending on whether or not the XML document is assumed to be well-formed. The main results of the paper provide conditions on the DTDs under which validation of either flavor can be done using an FSA. For DTDs that cannot be validated by an FSA, we investigate two alternatives. The first relaxes the constant memory requirement by allowing a stack bounded in the depth of the XML document, while maintaining the deterministic, one-pass requirement. The second approach consists in refining the DTD to provide additional information that allows validation by an FSA.