I'm trying to understand the XML Spec: why doe....

来源:互联网 发布:网络综合布线期末考试 编辑:程序博客网 时间:2024/06/06 11:47
<script type="text/javascript">google_ad_client = "pub-8800625213955058";/* 336x280, 创建于 07-11-21 */google_ad_slot = "0989131976";google_ad_width = 336;google_ad_height = 280;//</script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>I'm trying to understand the XML Spec: why does XML have such difficult terminology?For implementation to succeed, the terminology needs to be precise. Design goal eight of the specification tells us that `the design of XML shall be formal and concise' . To describe XML, the specification therefore uses formal language drawn from several fields, specifically those of text engineering, international standards and computer science. This is often confusing to people who are unused to these disciplines because they use well-known English words in a specialised sense which can be very different from their common meanings -- for example: grammar, production, token, or terminal.The specification does not explain these terms because of the other part of the design goal: the specification should be concise. It doesn't repeat explanations that are available elsewhere: it is assumed you know this and either know the definitions or are capable of finding them. In essence this means that to grok the fullness of the spec, you do need a knowledge of some SGML and computer science, and have some exposure to the language of formal standards.Sloppy terminology in specifications causes misunderstandings and makes it hard to implement consistently, so formal standards have to be phrased in formal terminology. This FAQ is not a formal document, and the astute reader will already have noticed it refers to `element names' where `element type names' is more correct; but the former is more widely understood.Those new to the terminology may find it useful to read something like the Gentle Introduction to SGML chapter of the TEI Guidelines.Thanks to Bob DuCharme for suggestions and some bits from his book on the XML Spec.
原创粉丝点击
热门IT博客
热门问题 老师的惩罚 人脸识别 我在镇武司摸鱼那些年 重生之率土为王 我在大康的咸鱼生活 盘龙之生命进化 天生仙种 凡人之先天五行 春回大明朝 姑娘不必设防,我是瞎子 小清新 旅游 小清新锁屏 唯美小清新婚纱照 小清新长裙 小清新毛衣 欧美小清新 小清新图片拍摄技巧 小清新背景 小清新女孩 小清新的发型 小清新帅哥图片 秋装小清新 小清新花朵唯美意境 小清新饰品 小清新室内 小清新网页 小清新 图片 小清新语录 小清新少女 小清新中长发发型 姐妹名字大全小清新 家装 小清新 小清新气质 小清新拍摄 小清新设计 性感小清新 小清新唯美意境图片 可爱小清新图片 小清新 男 小清新甜品 小清新纹身图案大全 文艺小清新什么意思 小清新 设计 小清新影视 室内设计 小清新 什么是小清新 小清新唯美高清大图 小清新 女 小清新香水推荐 休闲小清新 装修 小清新