Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1502653
  • 博文数量: 3500
  • 博客积分: 6000
  • 博客等级: 准将
  • 技术积分: 43870
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-03 20:31
文章分类

全部博文(3500)

文章存档

2008年(3500)

我的朋友

分类:

2008-05-04 19:59:37

一起学习
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. 下载本文示例代码


I'm trying to understand the XML Spec: why doe....I'm trying to understand the XML Spec: why doe....I'm trying to understand the XML Spec: why doe....I'm trying to understand the XML Spec: why doe....I'm trying to understand the XML Spec: why doe....I'm trying to understand the XML Spec: why doe....I'm trying to understand the XML Spec: why doe....I'm trying to understand the XML Spec: why doe....I'm trying to understand the XML Spec: why doe....I'm trying to understand the XML Spec: why doe....I'm trying to understand the XML Spec: why doe....I'm trying to understand the XML Spec: why doe....
阅读(124) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~