三季人是什么意思| 巨蟹是什么象星座| 外围女是什么意思| 梦到分手了是什么征兆| 精分什么意思| 牛奶什么时候喝| 什么是心脑血管疾病| 胆汁反流有什么症状| 女性腋臭什么年龄消失| 输血四项检查是什么| 肾错构瘤是什么原因引起的| 坐小月子可以吃什么水果| 什么叫人格| 囧是什么意思| 站久了腰疼是什么原因| 落叶像什么飘落下来| 梦见别人怀孕了是什么意思| 吃了火龙果小便红色是什么原因| 伏天是什么时候| 1月28号是什么星座| 去香港需要办理什么证件| 小月子可以吃什么水果| 每个月月经都提前是什么原因| 贫血缺什么元素| 化疗期间吃什么升白细胞快| 核准日期是什么意思| 水泡长什么样| 减脂吃什么蔬菜| 金匮肾气丸适合什么人吃| 疤痕痒是什么原因| 灰指甲挂什么科| 制冰机不制冰是什么原因| 林彪什么时候死的| 522是什么意思| 什么属相不适合养鱼| 费率是什么| 有尿意但是尿不出来是什么原因| 射手座属于什么星象| or发什么音| 你有一双会说话的眼睛是什么歌| 地笼捕河虾用什么诱饵| 三月初九是什么星座| 长焦镜头是什么意思| 鲔鱼是什么鱼| 夫字五行属什么| 脾胃虚弱吃什么药最好| 脾胃虚弱能吃什么水果| 虚岁27岁属什么生肖| 马拉松起源与什么有关| 熟地是什么| 西腾手表属于什么档次| 湿热内蕴吃什么中成药| 红豆和什么搭配最好| 无创什么时候做| 屁很臭是什么原因| 1893年是什么年| 食道炎用什么药最好| 儿童肠炎吃什么药| 肾气不足是什么原因| 防晒衣的面料是什么| 中班小朋友应该学什么| 水木年华是什么意思| 手指甲变薄是什么原因| 什么的风| 狗懒子是什么意思| 女性真菌感染是什么原因造成的| 乔迁送什么礼物好| 炒面用什么面条最好| e代表什么| 办狗证需要什么资料| 爱在西元前什么意思| 金字旁土念什么字| 吃炒黑豆有什么好处和坏处| 小麦秸秆是什么材质| 灌肤是什么意思| 嗓子有痰吃什么药| 貔貅什么人不能戴| 怀孕初期流产有什么症状| 麻醉对身体有什么伤害| 维生素d什么时候吃最好| 救济的近义词是什么| 尿常规白细胞3个加号什么意思| 什么欢快| 纯天然无公害什么意思| 尿多尿频是什么原因造成的| 怀孕10天左右有什么症状| 狮子座和什么星座不合| 男人气虚吃什么补得快| 喝柠檬水有什么好处和坏处| 安陵容为什么叫安小鸟| 怀孕的脉搏和正常脉搏有什么区别| 武林外传的客栈叫什么| 女人的网名叫什么好听| 为什么硬一会就软了| 大便水状是什么原因| 唾液腺是什么组织| 耳朵里面痒是什么原因| 人各有命是什么意思| 眼屎多用什么眼药水| 正月十九是什么日子| 什么虫子咬完是小红点| 拔完智齿能吃什么| 梦见被狗咬是什么意思| 五楼五行属什么| 美女的阴暗是什么样的| 天秤座和什么座最配| 喆是什么意思| 什么叫青光眼| 脑炎是什么症状| 肩膀疼挂什么科| 漫山遍野是什么生肖| 较重闭合性跌打损伤是什么意思| 至多是什么意思| 吃什么有营养| 婴儿为什么喜欢趴着睡| 小孩头疼是什么原因| 扁桃体1度肿大是什么意思| 五大发展理念是什么| 56年属什么生肖| 多梦吃什么药效果最好| 什么水解渴| 磨砂膏是什么| 内心os什么意思| cmyk代表什么颜色| 小孩上火吃什么药| 为什么多喝水反而胖了| 小苏打学名叫什么| 室早三联律是什么意思| 张仲景的著作是什么| 轧戏是什么意思| 枫叶的花语是什么| 射手女和什么星座最配| 拮抗药物是什么药| 梦到钱丢了预示着什么| 电子烟有什么危害| 凝字五行属什么| 骨质增生是什么| 一个口一个塞念什么| 虎眼石五行属什么| 孕妇喝柠檬水对胎儿有什么好处| 补钙过量有什么害处| 检查是否怀孕要做什么检查| 手掌心出汗是什么原因| 眼皮红肿是什么原因| 湿气太重吃什么| 动情是什么意思| 1ph是什么意思| 古代医生叫什么| 遗精是什么症状| 什么玩意儿| 繁字五行属什么| 回复1是什么意思| 性生活是什么感觉| 早孕试纸和验孕棒有什么区别| nk细胞是什么| 成都人民公园有什么好玩的| 老人家头晕是什么原因| 木鱼花是什么做的| 白细胞高有什么危害| 后年是什么年| 炉中火是什么意思| 涟漪什么意思| 羊内腰和外腰分别是什么| 电轴左偏是什么意思| 阴道镜是什么| 甲状腺应该挂什么科| 胰腺炎挂什么科室| 什么情况需要根管治疗| epa是什么| 女性喝什么茶最好| 利可君片是什么药| touch是什么意思| 勺是什么意思| 试管婴儿长方案是什么| darling什么意思| 小孩子经常流鼻血是什么原因| 孕妇梦见别人怀孕是什么意思| tm是什么意思| 杀鸡吓什么| 孕妇查凝血是检查什么| 不讲武德什么意思| 痛风该吃什么药好得快| 青苹果什么时候成熟| 早餐吃什么| 迂回什么意思| 家财万贯是什么动物| 靴靴是什么意思| 黑京念什么| 肋骨下面疼是什么原因| 我国计划生育什么时候开始| 1980年是什么年| 血为什么是红色的| 什么是功能性消化不良| 拔智齿后需要注意什么| 晚上右眼跳是什么预兆| 热感冒吃什么食物好| 女人喜欢什么类型男人| 金针菇为什么叫明天见| 小三最怕什么| 2018年属什么| 小龙虾什么季节吃最好| 总手是什么意思| 发烧呕吐吃什么药| 别出心裁的裁是什么意思| 甲钴胺片是什么药| 蛇胆疮是什么引起的| bg什么意思| 一单一双眼皮叫什么眼| 莫拉古是什么意思| 2月5号是什么星座| 早上起来有痰是什么原因| 人乳头病毒是什么意思| 耦合是什么意思| 超细旦是什么面料| 口干口臭什么原因引起的| 五险一金包括什么| 糖类抗原50是什么指标| 奴仆宫是什么意思| 家里养什么花最好| 什么大叫| 学生证件号码是什么| 手术后放疗起什么作用| 眼睛散光是什么症状| 突然晕倒是什么原因| 什么人不能吃猪肝| 扁桃体炎吃什么药最好效果好| 吃什么药可以延长时间| 彩云之南是什么意思| 气胸是什么症状| 1989年五行属什么| 喉咙痛喝什么饮料| 儿童脾胃不好吃什么调理脾胃| 什么叫心悸| 吕布为什么要杀董卓| 以色列人说什么语言| 悸是什么意思| 股癣是什么样的| 胰岛素的作用是什么| 铁蛋白是查什么的| 什么原因引起高血压| 土色是什么颜色| 为什么掉头发| 什么是晶体| 冬至有什么禁忌| 茄子与什么食物相克| 梦见捡到钱是什么意思| 针眼用什么眼药水| 忠厚是什么意思| choker是什么意思| 一只脚面肿是什么原因| 黄瓜什么时候种植| k是什么牌子| 曼字五行属什么| 什么叫根管治疗| 八仙桌是什么生肖| 免单是什么意思| 傍晚是什么时候| 月经期吃什么水果好| 发烧吃什么食物| 鸾凤是什么意思| 黛力新主治什么病| 真菌菌丝阳性什么意思| 占有欲强什么意思| 如来藏是什么意思| 百度

中共中央台办、国务院台办领导同志讲话(2001年以前)

百度 来回一百五六十里,翻山越岭,很是辛苦,才能挣到四个铜板的脚力钱。

A well-formed document in XML is a document that "adheres to the syntax rules specified by the XML 1.0 specification in that it must satisfy both physical and logical structures".[1]

Requirements

edit

At its base level well-formed documents require that:

  • Content be defined.
  • Content be delimited with a beginning and end tag
  • Content be properly nested (parents within roots, children within parents)

To be a well-formed document, rules must be established about the declaration and treatment of entities. Tags are case sensitive, with attributes delimited with quotation marks. Empty elements have rules established. Overlapping tags invalidate a document. Ideally, a well-formed document conforms to the design goals of XML. Other key syntax rules provided in the specification include:

  • It contains only properly encoded legal Unicode characters.
  • None of the special syntax characters such as < and & appear except when performing their markup-delineation roles.
  • The begin, end, and empty-element tags that delimit the elements are correctly nested, with none missing and none overlapping.
  • The element tags are case-sensitive; the beginning and end tags must match exactly. Tag names cannot contain any of the characters !"#$%&'()*+,/;<=>?@[\]^`{|}~, nor a space character, and cannot start with -, ., or a numeric digit.
  • There is a single "root" element that contains all the other elements.

A valid XML document is defined in the XML specification as a well-formed XML document which also conforms to the rules of a Document Type Definition (DTD). According to JavaCommerce.com XML tutorial, "Well formed XML documents simply markup pages with descriptive tags. You don't need to describe or explain what these tags mean. In other words a well formed XML document does not need a DTD, but it must conform to the XML syntax rules. If all tags in a document are correctly formed and follow XML guidelines, then a document is considered as well formed."[2][3]

An XML processor that encounters a violation of the well-formedness rules is required to report such errors and to cease normal processing. This policy, occasionally referred to as draconian,[4] stands in notable contrast to the behavior of programs that process HTML, which are designed to produce a reasonable result even in the presence of severe markup errors[5] in the spirit of Postel's law ("Be conservative in what you send; be liberal in what you accept").[6][4]

Importance

edit

The concept of a well-formed document allows for a better understanding of the fundamental construction of XML. It helps to clarify XML beyond the typical sense of it. For example, while most XML Document Type Definitions utilize left and right angle brackets as content delimiters, strictly speaking this is not a necessity (though a delimiter should be terse and concise). The left and right angle bracket codes are a convention, albeit clear and distinctive, not an absolute requirement.

The concept of well-formed document also allows for the comprehension of the abstract nature of XML. In reality, there is no such thing as XML.[citation needed] Rather, XML is a principle that represents a set of behaviors and practices. It is possible to discuss types of XML, as expressed within a Document Type Definition (DTD).

Well-formed documents also bring into focus the issue of valid versus correct XML. According to the W3 Organization, valid documents are those that validate against a DTD. The rules of validity mean that a document complies with the restraints stated within a DTD. Thus, tags or entities must be in conformity to the rules and relations established within a DTD. However, there is no control on whether a tag or entity is correct. Thus a first level head tag could be applied to a second level head object and be valid, while incorrect.

The emphasis on well-formed documents has developed within the publishing industry where the use of left and right angle bracket delimited information has become problematic. [citation needed] Emphasis on the well-formed document allows for the definition, delimiting, and nesting of content to be managed within programs that are not XML, per se, but exhibit the characteristics or potential for being well formed.

Validation tools

edit

There are several tools available to determine if a given XML document is well formed.

See also

edit

References

edit
  1. ^ "XML: Document". The UK Web Design Company. Retrieved 11 August 2013.[dead link]
  2. ^ "Well formed XML documents". JCommerce Dev Network. Archived from the original on August 22, 2009.
  3. ^ "There are no exceptions to Postel's Law". Dive into Mark. Internet Archive. Archived from the original on May 10, 2013. Retrieved 11 August 2013.
  4. ^ a b "Dracon and Postel", 2003/08/19, Tim Bray
  5. ^ "The history of draconian error handling in XML". Dive into Mark. Internet Archive. Archived from the original on August 18, 2013. Retrieved 11 August 2013.
  6. ^ "Postel's Law Has No Exceptions", August 18, 2003 Aaron Swartz
r级是什么意思 2岁属什么生肖 移徒什么意思 7月13号是什么星座 馨是什么意思
外耳道发炎用什么药 圆脸女生适合什么发型 申字五行属什么 平安果什么时候吃 补钙吃什么好
血栓是什么意思 1月18是什么星座 各生欢喜什么意思 情人眼里出西施是什么意思 青霉素过敏吃什么消炎药
肺炎咳嗽吃什么药 圣女是什么意思 旧衣服属于什么垃圾 dl是什么 夏威夷果吃了有什么好处
赧然是什么意思hcv9jop5ns1r.cn 小孩什么时候会说话hcv8jop0ns8r.cn 五合是什么意思hcv8jop3ns1r.cn 心肌桥是什么病hcv8jop5ns2r.cn 个人送保是什么意思hcv9jop4ns7r.cn
1328年属什么生肖hcv9jop4ns5r.cn 胆囊小是什么原因hcv7jop7ns0r.cn 掷是什么意思hcv8jop0ns7r.cn 美女的胸长什么样hcv7jop6ns3r.cn 尿蛋白三个加号吃什么药hcv8jop4ns9r.cn
头昏和头晕有什么区别hcv9jop8ns3r.cn 为什么趴着睡觉会胀气然后打嗝hcv8jop0ns7r.cn po医学上是什么意思cj623037.com 狗子是什么意思weuuu.com 女人吃什么对卵巢和子宫好ff14chat.com
猫叫是什么原因hcv7jop5ns4r.cn 黄瓜为什么叫黄瓜hcv8jop6ns6r.cn 感冒可以吃什么水果hcv9jop0ns7r.cn 神经紊乱吃什么药hcv8jop9ns0r.cn 柒牌男装什么档次hcv9jop5ns4r.cn
百度