1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="XmlSchemaCompilationSettings" FullName="System.Xml.Schema.XmlSchemaCompilationSettings">
3 <TypeSignature Language="C#" Value="public sealed class XmlSchemaCompilationSettings" />
4 <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit XmlSchemaCompilationSettings extends System.Object" />
6 <AssemblyName>System.Xml</AssemblyName>
7 <AssemblyVersion>2.0.0.0</AssemblyVersion>
8 <AssemblyVersion>4.0.0.0</AssemblyVersion>
11 <BaseTypeName>System.Object</BaseTypeName>
15 <since version=".NET 2.0" />
17 <attribution license="cc4" from="Microsoft" modified="false" />
18 <para>The <see cref="T:System.Xml.Schema.XmlSchemaCompilationSettings" /> class provides schema compilation options for the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> class. For example, the <see cref="P:System.Xml.Schema.XmlSchemaCompilationSettings.EnableUpaCheck" /> property specifies that the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> should check for Unique Particle Attribution (UPA) violations when schemas in the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> are compiled.</para>
21 <attribution license="cc4" from="Microsoft" modified="false" />
22 <para>Provides schema compilation options for the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> class This class cannot be inherited.</para>
26 <Member MemberName=".ctor">
27 <MemberSignature Language="C#" Value="public XmlSchemaCompilationSettings ();" />
28 <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
29 <MemberType>Constructor</MemberType>
31 <AssemblyVersion>2.0.0.0</AssemblyVersion>
32 <AssemblyVersion>4.0.0.0</AssemblyVersion>
36 <remarks>To be added.</remarks>
37 <since version=".NET 2.0" />
39 <attribution license="cc4" from="Microsoft" modified="false" />
40 <para>Initializes a new instance of the <see cref="T:System.Xml.Schema.XmlSchemaCompilationSettings" /> class. </para>
44 <Member MemberName="EnableUpaCheck">
45 <MemberSignature Language="C#" Value="public bool EnableUpaCheck { get; set; }" />
46 <MemberSignature Language="ILAsm" Value=".property instance bool EnableUpaCheck" />
47 <MemberType>Property</MemberType>
49 <AssemblyVersion>2.0.0.0</AssemblyVersion>
50 <AssemblyVersion>4.0.0.0</AssemblyVersion>
53 <ReturnType>System.Boolean</ReturnType>
56 <value>To be added.</value>
57 <since version=".NET 2.0" />
59 <attribution license="cc4" from="Microsoft" modified="false" />
60 <para>When the <see cref="P:System.Xml.Schema.XmlSchemaCompilationSettings.EnableUpaCheck" /> property is set to false, validation will be performed based on the following rules.</para>
63 <para>If there is a choice between a strong type and a wildcard, the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> will pick the strongly typed particle as illustrated in the following schema and Xml examples.</para>
66 <para><xs:sequence></para>
67 <para> <xs:any namespace="##any"/></para>
68 <para> <xs:element name="A" type="xs:string" minOccurs="0"/></para>
69 <para></xs:sequence></para>
70 <para>In the following Xml, the A element will be associated with <xs:element name="A" type="xs:string" minOccurs="0"/> in the schema.</para>
71 <para><A>some text</A></para>
74 <para>If there is a choice between two strongly typed elements, the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> will pick the first one.</para>
77 <para><xs:sequence></para>
78 <para> <xs:element name="A" type="xs:string"/></para>
79 <para> <xs:element name="B" type="xs:string" minOccurs="0"/></para>
80 <para> <xs:element name="B" type="xs:string"/></para>
81 <para></xs:sequence></para>
82 <para>In the following Xml, the B element will be associated with <xs:element name="B" type="xs:string" minOccurs="0"/> in the schema.</para>
83 <para><A/></para>
84 <para><B/></para>
87 <attribution license="cc4" from="Microsoft" modified="false" />
88 <para>Gets or sets a value indicating whether the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> should check for Unique Particle Attribution (UPA) violations.</para>