Are the type system represented by XmlSchema and the CLS isomorphic?
来源:互联网 发布:淘宝昵称显示修改失败 编辑:程序博客网 时间:2024/05/16 01:39
这个问题比较模棱两可,首先要解释什么是XmlSchema类型系统,什么是CLS类型系统,和同构(isomorphic)都是什么意思。XmlSchema是一个特定的XML文档必须满足的一套标准。这些标准能够描述不同的数据类型。例如:一个XSD文件(XmlSchema的物理实例化)可能会有一个entry like。这意味着一个必须满足XSD文件架构的XML文件可能有一个entry like 21.33。xs:decimal是一种XmlSchema 数据类型。其他类型包括xs:Boolean,xs:Date,xs:int等等。
CLS是公共语言规范(Common Language Specification),它是任何.net 语言(C#,VB.net等)使用的一套数据类型。例如:一个C#程序可能有这么一行代码:
System.Double payrate = 21.33;
System.Double是一种CLS数据类型。其他的包括System.Int32,System.Boolean等。
那什么是同构(isomorphic)呢?这是真正模棱两可的地方。同构可以不严谨地理解为“有相似的外表但不同的内在”,或者可以理解为“一对一的相似”。如果你将同构理解为有相似的外表,那么这道题的答案是“有点儿”。例如xs:Boolean 和System.Boolean相似。如果你将同构理解为“一对一的相似”那么这道题的答案仍然是“有点儿”。每一个XmlSchema类型都和CLS类型有那么一点相似,反之亦然。
- Are the type system represented by XmlSchema and the CLS isomorphic?
- The source file name(s) are larger than is supported by the file system
- 【12】Adds two numbers represented by a linked list and returns the sum as a linked list
- The current type is an interface and cannot be constructed. Are you missing a type mapping?
- hdu_4283 You Are the One # by nobody
- For we are bound by the Khala
- SSIS 连接Oracle报错 These components are supplied by Oracle Corporation and are part of the Oracle Versi
- operating system and the histoty
- These are broadcasts whose data is held by the system after being finished, so that clients can quic
- How blocks are implemented (and the consequences)
- What are the __init* and __exit* macros ?
- The type of the file system is ntfs
- Delete the System Apps by adb
- How to reboot the system by apk
- 论文阅读:Reboots are for Hardware: Challenges and Solutions to Updating an Operating System on the Fly
- how websites are perceived by their visitors and the basic ways in which websites can be constructed.
- how websites are perceived by their visitors and the basic ways in which websites can be constructed.
- how websites are perceived by their visitors and the basic ways in which websites can be constructed.
- 学习的重大转折!——从.NET退回MFC/Win32!!
- do-while(0)妙用
- 不要太拼命的工作,你要爱你的家。
- BSP 概念解析
- 关于收藏夹图标
- Are the type system represented by XmlSchema and the CLS isomorphic?
- 开始EJB3应用程序的开发
- 选择方向
- Tomcat里配置CRL
- DIV圆角的制作
- Telnet连接远程计算机
- [转]外企面试常用50问
- JasperReport初级教程(2.0.3)调用Java代码_图文详解_绝对原创
- 成都的IT研发产业和芯片产业等情况:2006年初的数据。(转)