信息集拓展

信息集拓展XML信息集(XML Information Set,缩写XML Infoset)是W3C规范(specification),该规范使用一套信息项(information item)来描述XML文档的一个抽象的数据模型

XML信息集这个规范意图用于其他规范中以引用良构的XML文档中的信息

 一个XML文档,只要是良构的并且满足XML命名空间的约束,就存在有信息集

一个XML文档存在信息集并不需要该XML文档有效

信息集可以包含的总共11种不同类型的信息项

文档信息项 (总是存在)Document Information Item元素信息项(Element Information Item)属性信息项(Attribute Information Item)PI信息项(Processing Instruction Information Item)未扩展实体引用信息项(Unexpanded Entity Reference Information Item)字符信息项(Character Information Item)注释信息项(Comment Information Item)文档类型声明信息项(The Document Type Declaration Information Item)非解析实体信息项(Unparsed Entity Information Item)格式信息项(Notation Information Item)命名空间信息项(Namespace Information Item)信息集推荐标准第二版于2004年2月4日被采纳

以上内容由大学时代综合整理自互联网,实际情况请以官方资料为准。

相关