标准编号:ISO/IEC TR 23272:2006
中文名称:信息技术 通用语言基础 关于分区IV XML文件衍生信息的技术报告
英文名称:Information technology — Common Language Infrastructure (CLI) — Technical Report on Information Derived from Partition IV XML File
发布日期:2006-08
标准范围
This Technical Report is intended as an aid for understanding the libraries specified in Standard ECMA-335,Partition IV: Profiles and Libraries. That Partition includes a machine-readable specification, in XML, of thetypes that comprise the standard libraries. This Technical Report, in companion files, provides the followingitems which help to form a traceable chain from the normative XML specification to a portable, printablerepresentation of its contents:a) Tool Source Code: A program written in the C# programming language, XML Style-sheetLanguage (XSL), and using the facilities of the Microsoft .NET Framework? and MicrosoftOffice? to convert the XML into files viewable using Microsoft Word?. This program, provided byIntel Corporation, can be modified to produce other views of the XML.b) Microsoft Word? Files: These are the files produced by running the tool mentioned above on theXML from Partition IV. The Ecma task group TC39/TG3 used similar files (produced using earlierversions of this tool run against earlier versions of the XML) as the primary means of reviewing theXML.c) PDF? Files: These files are produced from the Microsoft Word? files using the Adobe Acrobat?program. They are viewable on a wide range of computer systems and printable on a range ofcomputer output devices. In most cases, they will appear visually identical regardless of the meansused to render them.Partition IV normatively specifies the format of the XML file. The tool provided here renders all parts of theXML with exceptions for some XML nodes, as described below. For the purpose of description, XML nodesreferred to here are specified in XPath notation relative to Type nodes:? Name (this is redundant and unnecessary since the FullName of the type is rendered);? FullNameSP (this is redundant and unnecessary since the FullName of the type is rendered);? AssemblyInfo/AssemblyCulture (this is reserved for future use; currently its value is “none”);? AssemblyInfo/Attributes/Attribute/Excluded (if its value is 0, it is not rendered, but if it is 1, the librarythat is necessary for inclusion is listed);? TypeExcluded (as above);? Interfaces/Interface/Excluded (as above);? Attributes/Attribute/Excluded (as above);? Attributes/Attribute/ExcludedTypeName (the short Name is rendered, however);? Members/Member/ReturnValue/ReturnType (the FullName of the type of the return value is notspecified, but it is implied via the member’s signature);? Members/Member/Parameters/Parameter/Type (the FullName of the type of the parameter is notspecified, but it is implied via the member’s signature);? The “value_” field for enums.? Member/Member/Docs/altcompliant (used on methods/properties that have a CLSCompliant(false)attribute tag, and specifies a CLS-compliant method/property that can be use as an alternative. Theremarks/description section usually specifies this anyway).? Member/Member/Docs/altmember (used on methods/properties that have equivalent alternatives thatmay be used. For example, the System.String op_equality operator has the altmember element andspecifies the String.Equals() method as an equivalent alternative. The remarks/description sectionusually specifies this anyway).