XML信息集

XML訊息集XML Information Set,縮寫XML Infoset)是W3C規範(specification),該規範使用一套訊息項(information item)來描述XML文檔的一個抽象的資料模型。[1] XML訊息集這個規範意圖用於其他規範中以引用良好建構的XML文檔英语Well-formed XML document中的訊息。

一個XML文檔,只要是良好建構的並且滿足XML命名空間的約束,就存在有訊息集。一個XML文檔存在訊息集並不需要該XML文檔有效。

訊息集可以包含的總共11種不同類型的訊息項。

  1. 文檔訊息項 (總是存在)Document Information Item
  2. 元素訊息項(Element Information Item)
  3. 屬性訊息項(Attribute Information Item)
  4. PI訊息項(Processing Instruction Information Item)
  5. 未擴展實體引用訊息項(Unexpanded Entity Reference Information Item)
  6. 字元訊息項(Character Information Item)
  7. 注釋訊息項(Comment Information Item)
  8. 文檔型別宣告訊息項(The Document Type Declaration Information Item)
  9. 非解析實體訊息項(Unparsed Entity Information Item)
  10. 格式訊息項(Notation Information Item)
  11. 命名空間訊息項(Namespace Information Item)

訊息集推薦標準第二版於2004年2月4日被採納。

信息集补充(Infoset Augmentation)

信息集补充或信息集修改是指在Schema合法性检查期间对信息集的修改的过程,例如,添加缺省的属性。补充后的信息集被称为post-schema-validation infoset(简称PSVI)。[2]

信息集补充是存在争议的,有人认为它破坏了模块化,并容易导致互操作性问题。这是由于是否进行了信息集补充,会使应用程序得到不同的信息。 [3]

XML Schema支持信息集补充,而RELAX NG并不支持信息集补充。

参见

XML信息集的实例包括:

参考文献

  1. ^ W3C XML Infoset
  2. ^ XML Schema 1.1 Part 1: Structures. [2009-11-10]. (原始内容存档于2022-05-14). 
  3. ^ RELAX NG and W3C XML Schema (页面存档备份,存于互联网档案馆), James Clark, 4 Jun 2002

外部链接

  • XML Information set recommendation (Second Edition). W3C. 2004年2月4日 [2009年11月10日]. (原始内容存档于2022年5月15日). 
  • XML信息集 (第二版). 中国万维网联盟. 2004年9月24日 [2009年11月10日]. (原始内容存档于2004年9月25日). 
產品及
標準
推薦
  • ActivityPub
  • Activity Streams英语Activity Streams (format)
  • ARIA英语WAI-ARIA
  • Canonical XML
  • CDF英语Compound Document Format
  • 階層式樣式表
  • 文档对象模型
  • 地理位置API英语W3C Geolocation API
  • HTML
    • HTML5
  • Indexed Database API
  • ITS英语Internationalization Tag Set
  • JSON-LD英语JSON-LD
  • Linked Data Notifications英语Linked Data Notifications
  • MathML
  • Micropub英语Micropub (protocol)
  • OWL
  • P3P
  • PLS英语Pronunciation Lexicon Specification
  • RDF
    • RDF Schema英语RDF Schema
  • 語音識別的語義解釋英语Semantic Interpretation for Speech Recognition
  • SISR英语Semantic Interpretation for Speech Recognition
  • SKOS
  • SMIL
  • SOAP
  • SRGS英语Speech Recognition Grammar Specification
  • SRI英语Subresource Integrity
  • SSML
  • 可縮放向量圖形
    • SVG 濾鏡英语SVG filter effects
  • SCXML英语SCXML
  • SHACL英语SHACL
  • SPARQL
  • Timed text
  • VoiceXML
  • WoT英语Web of Things
    • TD英语Thing Description
  • 网页存储
  • WSDL
  • XForms
  • XHTML
    • XHTML+RDFa英语XHTML+RDFa
  • XInclude英语XInclude
  • XLink
  • 可扩展标记语言
记录
  • IndieAuth英语IndieAuth
  • XAdES英语XAdES
  • XHTML+SMIL英语XHTML+SMIL
  • XUP
工作草案
  • CCXML英语Call Control eXtensible Markup Language
  • CURIE英语CURIE
  • EME
  • InkML
  • JSON-LD
  • MSE
  • RIF
  • SCXML英语SCXML
  • SMIL時間表英语SMIL Timesheets
  • sXBL英语sXBL
  • WICD英语Web Integration Compound Document
  • XFDL英语Extensible Forms Description Language
  • XFrames英语XFrames
  • XBL
  • XMLHttpRequest
檢測
倡議
  • 多通道交互活動(MMI)英语W3C MMI
  • 驗証服務
  • 無障礙網頁倡議英语Web Accessibility Initiative
  • 網絡平台英语WebPlatform
棄用
  • C-HTML
  • HDML英语Handheld Device Markup Language
  • JSSS英语JavaScript Style Sheets
  • PGML英语Precision Graphics Markup Language
  • VML
  • XHTML+MathML+SVG英语XHTML+MathML+SVG
機構
  • 萬維網基金會英语World Wide Web Foundation
工作小組
  • SVG英语SVG Working Group
  • CSS英语CSS Working Group
  • HTML英语HTML Working Group
  • WebOnt(語義網活動)英语WebOnt
  • 設備描述(DDWG)英语W3C Device Description Working Group
  • 網頁超文本技術工作小組(WHATWG)
軟件
瀏覽器
  • Line Mode (1990年-)
  • Arena (1993年-1998年)
  • Agora (1994年-1997年)英语Agora (web browser)
  • Argo (1994年-1997年)英语Argo (web browser)
  • Amaya (瀏覽器及編輯器,1996年-2012年)
會議
  • 國際萬維網大會(WWW大會)英语International World Wide Web Conference
    • 督導委員會(IW3C2)英语International World Wide Web Conferences Steering Committee
    • 第一屆(WWW1,1994年)英语First International Conference on the World-Wide Web