Compartir a través de


DoNotValidateAgainstSchema Class

Do Not Validate Custom XML Markup Against Schemas.When the object is serialized out as xml, its qualified name is w:doNotValidateAgainstSchema.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffType
        DocumentFormat.OpenXml.Wordprocessing.DoNotValidateAgainstSchema

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class DoNotValidateAgainstSchema _
    Inherits OnOffType
'Usage
Dim instance As DoNotValidateAgainstSchema
public class DoNotValidateAgainstSchema : OnOffType

Remarks

[ISO/IEC 29500-1 1st Edition]

17.15.1.43 doNotValidateAgainstSchema (Do Not Validate Custom XML Markup Against Schemas)

This element specifies that applications shall not validate the custom XML markup in this document against the applicable custom XML schema(s), even when those schemas are available. The application should silently behave as if it was unable to provide this functionality.

If this element is omitted, then applications which support this functionality should attempt to validate the custom XML contents against any available related custom XML schema(s).

[Example: Consider a WordprocessingML document which should not have its custom XML content validated even by applications which support this operation. This requirement is specified using the following WordprocessingML in the document settings:

<w:doNotValidateAgainstSchema w:val="true" />

The doNotValidateAgainstSchema element's val attribute has a value of true specifying that the custom XML markup in this document must not be validated. end example]

Parent Elements

settings (§17.15.1.78)

This element’s content model is defined by the common boolean property definition in §17.17.4.

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DoNotValidateAgainstSchema Members

DocumentFormat.OpenXml.Wordprocessing Namespace