XML訊息集(XML Information Set,縮寫XML Infoset)是W3C規範(specification),該規範使用一套訊息項(information item)來描述XML文檔的一個抽象的資料模型。[1] XML訊息集這個規範意圖用於其他規範中以引用良好建構的XML文檔(英语:Well-formed XML document)中的訊息。
一個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日被採納。
信息集补充(Infoset Augmentation)
信息集补充或信息集修改是指在Schema合法性检查期间对信息集的修改的过程,例如,添加缺省的属性。补充后的信息集被称为post-schema-validation infoset(简称PSVI)。[2]
信息集补充是存在争议的,有人认为它破坏了模块化,并容易导致互操作性问题。这是由于是否进行了信息集补充,会使应用程序得到不同的信息。 [3]
XML Schema支持信息集补充,而RELAX NG并不支持信息集补充。
参见
XML信息集的实例包括:
参考文献
- ^ W3C XML Infoset
- ^ XML Schema 1.1 Part 1: Structures. [2009-11-10]. (原始内容存档于2022-05-14).
- ^ 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
- 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)
- 网页存储
- 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)
|
---|
|