System.Xml.Schema.XmlSchemaCompilationSettings.EnableUpaCheck Property

Gets or sets a value indicating whether the System.Xml.Schema.XmlSchemaSet should check for Unique Particle Attribution (UPA) violations.

Syntax

public bool EnableUpaCheck { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

When the XmlSchemaCompilationSettings.EnableUpaCheck property is set to false, validation will be performed based on the following rules.

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]

<xs:sequence>

    <xs:any namespace="##any"/>

    <xs:element name="A" type="xs:string" minOccurs="0"/>

</xs:sequence>

In the following Xml, the A element will be associated with <xs:element name="A" type="xs:string" minOccurs="0"/> in the schema.

<A>some text</A>

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]

<xs:sequence>

    <xs:element name="A" type="xs:string"/>

    <xs:element name="B" type="xs:string" minOccurs="0"/>

    <xs:element name="B" type="xs:string"/>

</xs:sequence>

In the following Xml, the B element will be associated with <xs:element name="B" type="xs:string" minOccurs="0"/> in the schema.

<A/>

<B/>

Requirements

Namespace: System.Xml.Schema
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0