System.Xml.Schema Namespace

System.Xml.Schema 命名空间中包含的 XML 类为 XML 架构定义语言 (XSD) 架构提供基于标准的支持。 The System.Xml.Schema namespace contains the XML classes that provide standards-based support for XML schema definition language (XSD) schemas.

Extensions

此类包含用于进行 XSD 验证的 LINQ to XML 扩展方法。This class contains the LINQ to XML extension methods for XSD validation.

ValidationEventArgs

返回与 ValidationEventHandler 相关的详细信息。Returns detailed information related to the ValidationEventHandler.

XmlAtomicValue

表示经验证的 XML 元素或特性的类型化值。Represents the typed value of a validated XML element or attribute. 不能继承 XmlAtomicValue 类。The XmlAtomicValue class cannot be inherited.

XmlSchema

一个 XML 架构的内存表示形式,如万维网联合会 (W3C) XML 架构第 1 部分:结构XML 架构第 2 部分:数据类型]中所述。An in-memory representation of an XML Schema, as specified in the World Wide Web Consortium (W3C) XML Schema Part 1: Structures and XML Schema Part 2: Datatypes].

XmlSchemaAll

表示万维网联合会 (W3C)all 元素(复合器)。Represents the World Wide Web Consortium (W3C) all element (compositor).

XmlSchemaAnnotated

可包含批注元素的任何元素的基类。The base class for any element that can contain annotation elements.

XmlSchemaAnnotation

表示万维网联合会 (W3C)annotation 元素。Represents the World Wide Web Consortium (W3C) annotation element.

XmlSchemaAny

表示万维网联合会 (W3C)any 元素。Represents the World Wide Web Consortium (W3C) any element.

XmlSchemaAnyAttribute

表示万维网联合会 (W3C)anyAttribute 元素。Represents the World Wide Web Consortium (W3C) anyAttribute element.

XmlSchemaAppInfo

表示万维网联合会 (W3C)appinfo 元素。Represents the World Wide Web Consortium (W3C) appinfo element.

XmlSchemaAttribute

按万维网联合会 (W3C) 指定的方式表示来自 XML 架构的 attribute 元素。Represents the attribute element from the XML Schema as specified by the World Wide Web Consortium (W3C). 特性为其他文档元素提供其他信息。Attributes provide additional information for other document elements. 特性标记嵌套在架构的文档元素标记之间。The attribute tag is nested between the tags of a document's element for the schema. XML 文档将特性显示为元素开始标记中的命名项。The XML document displays attributes as named items in the opening tag of an element.

XmlSchemaAttributeGroup

按万维网联合会 (W3C) 指定的方式表示来自 XML 架构的 attributeGroup 元素。Represents the attributeGroup element from the XML Schema as specified by the World Wide Web Consortium (W3C). AttributesGroups 提供将一组特性声明归为一组的机制,以便将它们作为一个组并入到复杂类型定义中。AttributesGroups provides a mechanism to group a set of attribute declarations so that they can be incorporated as a group into complex type definitions.

XmlSchemaAttributeGroupRef

表示由万维网联合会 (W3C) 所指定的 XML 架构中具有 ref 特性的 attributeGroup 元素。Represents the attributeGroup element with the ref attribute from the XML Schema as specified by the World Wide Web Consortium (W3C). AttributesGroupRef 是对 attributeGroup 的引用,name 属性包含要引用的特性组。AttributesGroupRef is the reference for an attributeGroup, name property contains the attribute group being referenced.

XmlSchemaChoice

按万维网联合会 (W3C) 指定的方式表示来自 XML 架构的 choice 元素(复合器)。Represents the choice element (compositor) from the XML Schema as specified by the World Wide Web Consortium (W3C). choice 仅允许它的一个子级出现在实例中。The choice allows only one of its children to appear in an instance.

XmlSchemaCollection

包含 XML 架构定义语言 (XSD) 和 XML 数据简化 (XDR) 架构的缓存。Contains a cache of XML Schema definition language (XSD) and XML-Data Reduced (XDR) schemas. XmlSchemaCollection 类已过时。The XmlSchemaCollection class is obsolete. 请改用 XmlSchemaSetUse XmlSchemaSet instead.

XmlSchemaCollectionEnumerator

支持在集合上进行简单迭代。Supports a simple iteration over a collection. 此类不能被继承。This class cannot be inherited.

XmlSchemaCompilationSettings

XmlSchemaSet 类提供架构编译选项。该类不能被继承。Provides schema compilation options for the XmlSchemaSet class This class cannot be inherited.

XmlSchemaComplexContent

按 WWW 联合会 (W3C) 指定的方式显示 complexContent 来自 XML 架构的元素。Represents the complexContent element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类表示复杂类型的复杂内容模型。This class represents the complex content model for complex types. 它包含对仅具有元素或混合内容的复杂类型的扩展或限制。It contains extensions or restrictions on a complex type that has either only elements or mixed content.

XmlSchemaComplexContentExtension

按 WWW 联合会 (W3C) 指定的方式显示 extension 来自 XML 架构的元素。Represents the extension element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类用于通过扩展而派生的具有复杂内容模型的复杂类型。This class is for complex types with complex content model derived by extension. 它通过添加特性或元素扩展复杂类型。It extends the complex type by adding attributes or elements.

XmlSchemaComplexContentRestriction

按 WWW 联合会 (W3C) 指定的方式显示 restriction 来自 XML 架构的元素。Represents the restriction element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类用于通过限制而派生的具有复杂内容模型的复杂类型。This class is for complex types with a complex content model derived by restriction. 它将复杂类型的内容限制为继承的复杂类型的子集。It restricts the contents of the complex type to a subset of the inherited complex type.

XmlSchemaComplexType

按 WWW 联合会 (W3C) 指定的方式显示 complexType 来自 XML 架构的元素。Represents the complexType element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类定义一个复杂类型,它确定特性集和元素的内容。This class defines a complex type that determines the set of attributes and content of an element.

XmlSchemaContent

架构内容的抽象类。An abstract class for schema content.

XmlSchemaContentModel

指定一种类型的子元素的顺序和结构。Specifies the order and structure of the child elements of a type.

XmlSchemaDatatype

XmlSchemaDatatype 类是将 XML 架构定义语言 (XSD) 类型映射为公共语言运行时 (CLR) 类型的抽象类。The XmlSchemaDatatype class is an abstract class for mapping XML Schema definition language (XSD) types to Common Language Runtime (CLR) types.

XmlSchemaDocumentation

按 WWW 联合会 (W3C) 指定的方式显示 documentation 来自 XML 架构的元素。Represents the documentation element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类在 annotation 中指定人们要读取或使用的信息。This class specifies information to be read or used by humans within an annotation.

XmlSchemaElement

按 WWW 联合会 (W3C) 指定的方式显示 element 来自 XML 架构的元素。Represents the element element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类是所有粒子类型的基类,用于描述 XML 文档中的元素。This class is the base class for all particle types and is used to describe an element in an XML document.

XmlSchemaEnumerationFacet

按万维网联合会 (W3C) 指定的方式表示来自 XML 架构的 enumeration 方面。Represents the enumeration facet from XML Schema as specified by the World Wide Web Consortium (W3C). 此类为 simpleType 元素指定有效值列表。This class specifies a list of valid values for a simpleType element. 声明包含在 restriction 声明中。Declaration is contained within a restriction declaration.

XmlSchemaException

返回关于架构异常的详细信息。Returns detailed information about the schema exception.

XmlSchemaExternal

抽象类。An abstract class. 提供有关所包含架构的信息。Provides information about the included schema.

XmlSchemaFacet

当简单类型由限制派生时,使用所有方面的抽象类。Abstract class for all facets that are used when simple types are derived by restriction.

XmlSchemaFractionDigitsFacet

指定可以为 simpleType 元素的小数值输入的位数的限制。Specifies a restriction on the number of digits that can be entered for the fraction value of a simpleType element. fractionDigits 的值必须是正整数。The value of fractionDigits must be a positive integer. 表示“万维网联合会”(W3C)fractionDigits 方面。Represents the World Wide Web Consortium (W3C) fractionDigits facet.

XmlSchemaGroup

按 WWW 联合会 (W3C) 指定的方式显示 group 来自 XML 架构的元素。Represents the group element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类在 schema 级别上定义从复杂类型中引用的组。This class defines groups at the schema level that are referenced from the complex types. 它将若干元素声明归为一组,以便将它们当作一个组并入复杂类型定义。It groups a set of element declarations so that they can be incorporated as a group into complex type definitions.

XmlSchemaGroupBase

XmlSchemaAll , XmlSchemaChoice 的一个抽象类,或 XmlSchemaSequenceAn abstract class for XmlSchemaAll, XmlSchemaChoice, or XmlSchemaSequence.

XmlSchemaGroupRef

按万维网联合会 (W3C)指定的方式表示来自 XML 架构的具有 ref 属性的 group 元素。Represents the group element with ref attribute from the XML Schema as specified by the World Wide Web Consortium (W3C). 此类在复杂类型中使用,而这些复杂类型引用在 group 级别定义的 schemaThis class is used within complex types that reference a group defined at the schema level.

XmlSchemaIdentityConstraint

标识约束的类:keykeyrefunique 元素。Class for the identity constraints: key, keyref, and unique elements.

XmlSchemaImport

按 WWW 联合会 (W3C) 指定的方式显示 import 来自 XML 架构的元素。Represents the import element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类用于从其他架构导入架构组件。This class is used to import schema components from other schemas.

XmlSchemaInclude

按 WWW 联合会 (W3C) 指定的方式显示 include 来自 XML 架构的元素。Represents the include element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类用于包括来自外部架构的声明和定义。This class is used to include declarations and definitions from an external schema. 包括的声明和定义然后可用于包含架构中的处理。The included declarations and definitions are then available for processing in the containing schema.

XmlSchemaInference

从 XML 文档推理出 XML 架构定义语言 (XSD) 架构。Infers an XML Schema Definition Language (XSD) schema from an XML document. 不能继承 XmlSchemaInference 类。The XmlSchemaInference class cannot be inherited.

XmlSchemaInferenceException

返回有关 XmlSchemaInference 类在从 XML 文档推断架构时所遇错误的信息。Returns information about errors encountered by the XmlSchemaInference class while inferring a schema from an XML document.

XmlSchemaInfo

表示已验证的 XML 节点的后架构验证信息集。Represents the post-schema-validation infoset of a validated XML node.

XmlSchemaKey

此类按万维网联合会 (W3C) 指定的方式表示来自 XML 架构的 key 元素。This class represents the key element from XMLSchema as specified by the World Wide Web Consortium (W3C).

XmlSchemaKeyref

此类按万维网联合会 (W3C) 指定的方式表示来自 XML 架构的 keyref 元素。This class represents the keyref element from XMLSchema as specified by the World Wide Web Consortium (W3C).

XmlSchemaLengthFacet

按万维网联合会 (W3C) 指定的方式表示来自 XML 架构的 length 方面。Represents the length facet from XML Schema as specified by the World Wide Web Consortium (W3C). 此类可用于指定数据类型的 simpleType 元素的长度限制。This class can be used to specify a restriction on the length of a simpleType element on the data type.

XmlSchemaMaxExclusiveFacet

按 WWW 联合会 (W3C) 指定的方式显示 maxExclusive 来自 XML 架构的元素。Represents the maxExclusive element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类可用于指定对 simpleType 元素的最大值的限制。This class can be used to specify a restriction on the maximum value of a simpleType element. 该元素的值必须小于 maxExclusive 元素的值。The element value must be less than the value of the maxExclusive element.

XmlSchemaMaxInclusiveFacet

按 WWW 联合会 (W3C) 指定的方式显示 maxInclusive 来自 XML 架构的元素。Represents the maxInclusive element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类可用于指定对 simpleType 元素的最大值的限制。This class can be used to specify a restriction on the maximum value of a simpleType element. 该元素的值必须小于或等于 maxInclusive 元素的值。The element value must be less than or equal to the value of the maxInclusive element.

XmlSchemaMaxLengthFacet

按 WWW 联合会 (W3C) 指定的方式显示 maxLength 来自 XML 架构的元素。Represents the maxLength element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类可用于指定对 simpleType 元素数据值的最大长度的限制。This class can be used to specify a restriction on the maximum length of the data value of a simpleType element. 该长度必须小于 maxLength 元素的值。The length must be less than the value of the maxLength element.

XmlSchemaMinExclusiveFacet

按 WWW 联合会 (W3C) 指定的方式显示 minExclusive 来自 XML 架构的元素。Represents the minExclusive element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类可用于对 simpleType 元素的最小值进行限制。This class can be used to specify a restriction on the minimum value of a simpleType element. 此元素的值必须大于 minExclusive 元素的值。The element value must be greater than the value of the minExclusive element.

XmlSchemaMinInclusiveFacet

按 WWW 联合会 (W3C) 指定的方式显示 minInclusive 来自 XML 架构的元素。Represents the minInclusive element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类可用于对 simpleType 元素的最小值进行限制。This class can be used to specify a restriction on the minimum value of a simpleType element. 此元素的值必须大于或等于 minInclusive 元素的值。The element value must be greater than or equal to the value of the minInclusive element.

XmlSchemaMinLengthFacet

按 WWW 联合会 (W3C) 指定的方式显示 minLength 来自 XML 架构的元素。Represents the minLength element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类可以用来指定 simpleType 元素的数据值的最小长度限制。This class can be used to specify a restriction on the minimum length of the data value of a simpleType element. 该长度必须大于 minLength 元素的值。The length must be greater than the value of the minLength element.

XmlSchemaNotation

按 WWW 联合会 (W3C) 指定的方式显示 notation 来自 XML 架构的元素。Represents the notation element from XML Schema as specified by the World Wide Web Consortium (W3C). XML 架构 notation 声明是 XML 1.0 NOTATION 声明的重新构造。An XML Schema notation declaration is a reconstruction of XML 1.0 NOTATION declarations. 批注的目的是描述 XML 文件中的非 XML 数据的格式。The purpose of notations is to describe the format of non-XML data within an XML document.

XmlSchemaNumericFacet

用于定义 numeric 方面的抽象类。Abstract class for defining numeric facets. 此类是数值方面类(如 XmlSchemaMinLengthFacet)的基类This class is the base class for numeric facet classes such as XmlSchemaMinLengthFacet

XmlSchemaObject

表示 Xml 架构对象模型层次结构的根类,并作为诸如 XmlSchema 的类基类。Represents the root class for the Xml schema object model hierarchy and serves as a base class for classes such as the XmlSchema class.

XmlSchemaObjectCollection

XmlSchemaObject 的集合。A collection of XmlSchemaObjects.

XmlSchemaObjectEnumerator

表示 XmlSchemaObjectCollection 的枚举数。Represents the enumerator for the XmlSchemaObjectCollection.

XmlSchemaObjectTable

提供 XmlSchema 类中包含的元素(例如,Attributes、AttributeGroups、Elements 等)的集合。Provides the collections for contained elements in the XmlSchema class (for example, Attributes, AttributeGroups, Elements, and so on).

XmlSchemaParticle

所有粒子类型的基类的抽象类(例如,XmlSchemaAny)。Abstract class for that is the base class for all particle types (e.g. XmlSchemaAny).

XmlSchemaPatternFacet

按 WWW 联合会 (W3C) 指定的方式显示 pattern 来自 XML 架构的元素。Represents the pattern element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类可用于对为 simpleType 元素输入的值进行限制。This class can be used to specify a restriction on the value entered for a simpleType element.

XmlSchemaRedefine

按 WWW 联合会 (W3C) 指定的方式显示 redefine 来自 XML 架构的元素。Represents the redefine element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类可用于允许在当前架构中重新定义从外部架构文件中获取的简单和复杂类型、组和特性组。This class can be used to allow simple and complex types, groups and attribute groups from external schema files to be redefined in the current schema. 此类还可用于为架构元素提供版本控制。This class can also be used to provide versioning for the schema elements.

XmlSchemaSequence

按万维网联合会 (W3C) 指定的方式表示来自 XML 架构的 sequence 元素(复合器)。Represents the sequence element (compositor) from the XML Schema as specified by the World Wide Web Consortium (W3C). sequence 要求组中的元素以指定的顺序出现在包含元素中。The sequence requires the elements in the group to appear in the specified sequence within the containing element.

XmlSchemaSet

包含 XML 架构定义语言 (XSD) 架构的缓存。Contains a cache of XML Schema definition language (XSD) schemas.

XmlSchemaSimpleContent

按 WWW 联合会 (W3C) 指定的方式显示 simpleContent 来自 XML 架构的元素。Represents the simpleContent element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类用于具有简单内容模型的简单类型和复杂类型。This class is for simple and complex types with simple content model.

XmlSchemaSimpleContentExtension

按万维网联合会 (W3C) 指定的方式表示来自 XML 架构的简单内容的 extension 元素。Represents the extension element for simple content from XML Schema as specified by the World Wide Web Consortium (W3C). 此类可用于按扩展派生简单类型。This class can be used to derive simple types by extension. 通过添加特性,此类派生可以用于扩展元素的简单类型的内容。Such derivations are used to extend the simple type content of the element by adding attributes.

XmlSchemaSimpleContentRestriction

按万维网联合会 (W3C) 指定的方式表示来自 XML 架构的简单内容的 restriction 元素。Represents the restriction element for simple content from XML Schema as specified by the World Wide Web Consortium (W3C). 此类可用以通过限制派生简单类型。This class can be used to derive simple types by restriction. 这种派生可用于将元素的值范围限制于在继承的简单类型中指定的值的子集。Such derivations can be used to restrict the range of values for the element to a subset of the values specified in the inherited simple type.

XmlSchemaSimpleType

按万维网联合会 (W3C) 指定的方式表示来自 XML 架构的简单内容的 simpleType 元素。Represents the simpleType element for simple content from XML Schema as specified by the World Wide Web Consortium (W3C). 此类定义简单类型。This class defines a simple type. 简单类型可以为纯文本内容的特性值或元素值指定信息和约束。Simple types can specify information and constraints for the value of attributes or elements with text-only content.

XmlSchemaSimpleTypeContent

简单类型内容类的抽象类。Abstract class for simple type content classes.

XmlSchemaSimpleTypeList

按 WWW 联合会 (W3C) 指定的方式显示 list 来自 XML 架构的元素。Represents the list element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类可用于将 simpleType 元素定义为指定数据类型的值的列表。This class can be used to define a simpleType element as a list of values of a specified data type.

XmlSchemaSimpleTypeRestriction

按万维网联合会 (W3C) 指定的方式表示来自 XML 架构的简单类型的 restriction 元素。Represents the restriction element for simple types from XML Schema as specified by the World Wide Web Consortium (W3C). 此类可用于限制 simpleType 元素。This class can be used restricting simpleType element.

XmlSchemaSimpleTypeUnion

按万维网联合会 (W3C) 指定的方式表示来自 XML 架构的简单类型的 union 元素。Represents the union element for simple types from XML Schema as specified by the World Wide Web Consortium (W3C). union 数据类型可用于指定 simpleType 的内容。A union datatype can be used to specify the content of a simpleType. simpleType 元素的值必须是该联合中指定的一组替代数据类型之一。The value of the simpleType element must be any one of a set of alternative datatypes specified in the union. 联合类型始终是派生类型,必须至少包含两种替代数据类型。Union types are always derived types and must comprise at least two alternative datatypes.

XmlSchemaTotalDigitsFacet

按万维网联合会 (W3C) 指定的方式表示来自 XML 架构的 totalDigits 方面。Represents the totalDigits facet from XML Schema as specified by the World Wide Web Consortium (W3C). 此类可用于指定一个约束,该约束限制可为 simpleType 元素的值输入的位数。This class can be used to specify a restriction on the number of digits that can be entered for the value of a simpleType element. totalDigits 的值必须是正整数。That value of totalDigits must be a positive integer.

XmlSchemaType

所有简单类型和复杂类型的基类。The base class for all simple types and complex types.

XmlSchemaUnique

按 WWW 联合会 (W3C) 指定的方式显示 unique 来自 XML 架构的元素。Represents the unique element from XML Schema as specified by the World Wide Web Consortium (W3C). 此类可用于标识一组元素中的唯一约束。This class can be used to identify a unique constraint among a set of elements.

XmlSchemaValidationException

表示在所验证的 XML 文档中遇到 XML 架构定义语言 (XSD) 架构验证错误和警告时引发的异常。Represents the exception thrown when XML Schema Definition Language (XSD) schema validation errors and warnings are encountered in an XML document being validated.

XmlSchemaValidator

表示一个 XML 架构定义语言 (XSD) 架构验证引擎。Represents an XML Schema Definition Language (XSD) Schema validation engine. 不能继承 XmlSchemaValidator 类。The XmlSchemaValidator class cannot be inherited.

XmlSchemaWhiteSpaceFacet

表示“万维网联合会”(W3C)whiteSpace 方面。Represents the World Wide Web Consortium (W3C) whiteSpace facet.

XmlSchemaXPath

表示万维网联合会 (W3C)selector 元素。Represents the World Wide Web Consortium (W3C) selector element.

接口

IXmlSchemaInfo

定义被验证的 XML 节点的架构验证后信息集。Defines the post-schema-validation infoset of a validated XML node.

枚举

XmlSchemaContentProcessing

提供有关 anyanyAttribute 元素替换的验证模式的信息。Provides information about the validation mode of any and anyAttribute element replacements.

XmlSchemaContentType

复杂类型的内容模型的枚举。 这表示后架构验证信息集 (infoset) 中的内容。This represents the content in the post-schema-validation information set (infoset).

XmlSchemaDatatypeVariety

指定此类型的 W3C XML 架构数据类型种类。Specifies the W3C XML schema data type variety of the type.

XmlSchemaDerivationMethod

提供阻止派生的不同方法。Provides different methods for preventing derivation.

XmlSchemaForm

指示是否需要用命名空间前缀限定属性或元素。Indicates if attributes or elements need to be qualified with a namespace prefix.

XmlSchemaInference.InferenceOption

影响 XmlSchemaInference 类推导出的有关 XML 文档中元素和特性的匹配项和类型信息。Affects occurrence and type information inferred by the XmlSchemaInference class for elements and attributes in an XML document.

XmlSchemaUse

特性使用方式的指示器。Indicator of how the attribute is used.

XmlSchemaValidationFlags

指定由 XmlSchemaValidatorXmlReader 类使用的架构验证选项。Specifies schema validation options used by the XmlSchemaValidator and XmlReader classes.

XmlSchemaValidity

表示由 XmlSchemaValidator 类验证的 XML 项的有效性。Represents the validity of an XML item validated by the XmlSchemaValidator class.

XmlSeverityType

表示验证事件的严重度。Represents the severity of the validation event.

XmlTypeCode

表示 W3C XML 架构定义语言 (XSD) 构架类型。Represents the W3C XML Schema Definition Language (XSD) schema types.

委托

ValidationEventHandler

表示将处理 XML 架构验证事件和 ValidationEventArgs 的回调方法。Represents the callback method that will handle XML schema validation events and the ValidationEventArgs.

XmlValueGetter

一个 delegateXmlSchemaValidator 类使用它将特性、文本和空白值作为与特性、文本或空白的 XML 架构定义语言 (XSD) 类型相兼容的公共语言运行时 (CLR) 类型进行传递。A delegate used by the XmlSchemaValidator class to pass attribute, text, and white space values as a Common Language Runtime (CLR) type compatible with the XML Schema Definition Language (XSD) type of the attribute, text, or white space.

注解

重要

  • 不要使用来自未知或不受信任的源或位置的架构。Do not use schemas from unknown or untrusted sources or locations. 执行此操作将影响你的代码的安全性。Doing so will compromise the security of your code.
  • XML 架构 (包括内联架构) 是本质上是容易受到拒绝服务攻击;不接受不受信任的方案中。XML schemas (including inline schemas) are inherently vulnerable to denial of service attacks; do not accept them in untrusted scenarios.
  • 架构验证错误消息和异常可能会公开的内容模型的架构文件的 URI 路径的敏感信息。Schema validation error messages and exceptions may expose sensitive information about the content model or URI paths to the schema file. 请注意不公开此信息向不受信任调用方。Be careful not to expose this information to untrusted callers.
  • 此命名空间中的 Api 的备注部分中介绍的其他安全注意事项。Additional security considerations are covered in the Remarks section of the APIs in this namespace.