System::Xml::Schema::XmlSchemaValidationFlags 枚举
XmlSchemaValidationFlags enum
指定由 XmlSchemaValidator 和 XmlReader 类使用的模式验证选项。
enum class XmlSchemaValidationFlags
值
| 名称 | 值 | 描述 |
|---|---|---|
| None | 0 | 不要处理标识约束、内联模式、模式位置提示,或报告模式验证警告。 |
| ProcessInlineSchema | 1 | 处理验证期间遇到的内联模式。 |
| ProcessSchemaLocation | 2 | 处理验证期间遇到的模式位置提示(xsi:schemaLocation,xsi:noNamespaceSchemaLocation)。 |
| ReportValidationWarnings | 4 | 报告验证期间遇到的模式验证警告。 |
| ProcessIdentityConstraints | 8 | 处理验证期间遇到的标识约束(xs:ID,xs:IDREF,xs:key,xs:keyref,xs:unique)。 |
| AllowXmlAttributes | 16 | 允许 xml:* 属性,即使它们未在模式中定义。这些属性将根据其数据类型进行验证。 |
另见
- Namespace System::Xml::Schema
- Library Aspose.Page for C++