Are the type system represented by XMLSCHEMA and the CLS isomorphic?

Source: Internet
Author: User

This problem is ambiguous. First, we need to explain what is an XMLSCHEMA system, a CLS system, and isomorphic. XMLSCHEMA is a set of standards that must be met by a specific XML document. These standards can describe different data types. For example, an XSD file (physical instantiation of XMLSCHEMA) may have an entry like. This means that an XML file that must meet the XSD file architecture may have an entry like 21.33. Xs: decimal is an XMLSCHEMA data type. Other types include Xs: Boolean, xs: date, xs: int, and so on.

CLS is a set of data types used by any. Net Language (C #, VB.net, etc. For example, a C #ProgramThere may be such a lineCode:

System. Double payrate =   21.33 ;

System. Double is a CLS data type. Others include system. int32 and system. boolean.

What is isomorphic? This is truly ambiguous. Homogeneous structures can be interpreted as "having similar appearance but different inner", or "one-to-one similarity ". If you think of homogeneous expressions as similar appearances, the answer to this question is "a bit ". For example, xs: Boolean is similar to system. boolean. If you think of it as "one-to-one similarity", the answer to this question is still "a bit ". Each XMLSCHEMA type is similar to the CLS type, and vice versa.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.