// Document items must consist of well-formed XML and are not validated by the schema.
Skip,
// If the associated schema is found, the document items will be validated. No errors will be thrown otherwise.
Lax,
// The schema processor must find a schema associated with the indicated namespace to validate the document items.
Strict
};
};
structXmlSchemaContentType
{
enumtype
{
// Text-only content.
TextOnly,
// Empty content.
Empty,
// Element-only content.
ElementOnly,
// Mixed content.
Mixed
};
};
structXmlSchemaDatatypeVariety
{
enumtype
{
// A W3C XML schema atomic type.
Atomic,
// A W3C XML schema list type.
List,
// A W3C XML schema union type.
Union
};
};
structXmlSchemaDerivationMethod
{
enumtype
{
// #all. Refers to all derivation methods.
All=255,
// Override default derivation method to allow any derivation.
Empty=0,
// Refers to derivations by Extension.
Extension=2,
// Refers to derivations by List.
List=8,
// Accepts the default derivation method.
None=256,
// Refers to derivations by Restriction.
Restriction=4,
// Refers to derivations by Substitution.
Substitution=1,
// Refers to derivations by Union.
Union=16
};
};
structXmlSchemaForm
{
enumtype
{
// Element and attribute form is not specified in the schema.
None,
// Elements and attributes must be qualified with a namespace prefix.
Qualified,
// Elements and attributes are not required to be qualified with a namespace prefix.
Unqualified
};
};
structXmlSchemaUse
{
enumtype
{
// Attribute use not specified.
None,
// Attribute is optional.
Optional,
// Attribute cannot be used.
Prohibited,
// Attribute must appear once.
Required
};
};
structXmlSchemaValidationFlags
{
enumtype
{
// Allow xml:* attributes even if they are not defined in the schema. The attributes will be validated based on their data type.
AllowXmlAttributes=16,
// Do not process identity constraints, inline schemas, schema location hints, or report schema validation warnings.
None=0,
// Process identity constraints (xs:ID, xs:IDREF, xs:key, xs:keyref, xs:unique) encountered during validation.
ProcessIdentityConstraints=8,
// Process inline schemas encountered during validation.
ProcessInlineSchema=1,
// Process schema location hints (xsi:schemaLocation, xsi:noNamespaceSchemaLocation) encountered during validation.
ProcessSchemaLocation=2,
// Report schema validation warnings encountered during validation.
ReportValidationWarnings=4
};
};
structXmlSchemaValidity
{
enumtype
{
// The validity of the XML item is not known.
NotKnown,
// The XML item is valid.
Valid,
// The XML item is invalid.
Invalid
};
};
structXmlSeverityType
{
enumtype
{
// Indicates a validation error occurred when validating the instance document. This applies to document type definitions (DTDs) and XML Schema definition language (XSD) schemas. The World Wide Web Consortium (W3C) validity constraints are considered errors. If no validation event handler has been created, errors throw an exception.
Error,
// Indicates that a validation event occurred that is not an error. A warning is typically issued when there is no DTD, or XML Schema to validate a particular element or attribute against. Unlike errors, warnings do not throw an exception if there is no validation event handler.
Warning
};
};
structXmlTypeCode
{
enumtype
{
// Any atomic value of a union.
AnyAtomicType=10,
// A W3C XML Schema xs:anyURI type.
AnyUri=28,
// This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Attribute=5,
// A W3C XML Schema xs:base64Binary type.
Base64Binary=27,
// A W3C XML Schema xs:boolean type.
Boolean=13,
// A W3C XML Schema xs:byte type.
Byte=46,
// This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Comment=8,
// A W3C XML Schema xs:date type.
Date=20,
// A W3C XML Schema xs:dateTime type.
DateTime=18,
// This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
DayTimeDuration=54,
// A W3C XML Schema xs:decimal type.
Decimal=14,
// This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Document=3,
// A W3C XML Schema xs:double type.
Double=16,
// A W3C XML Schema xs:Duration type.
Duration=17,
// This value supports the .NET Framework infrastructure and is not intended to be used directly from your code.