17.15.1.74 saveInvalidXml

This element specifies that this document should be capable of being saved into a format consisting of a single XML file (not defined by ISO/IEC 29500) even when its contents are invalid based XML schema validation of the custom XML markup contained in the document. This setting has no effect on documents that do not contain custom XML markup, or that do contain custom XML markup but do not have a schema attached. [Guidance: Because this setting specifies behavior when saving to an alternative file format not defined by ISO/IEC 29500, this behavior is optional. end guidance]

If this element is omitted, then applications should not allow this document to be saved into a single XML file when its contents are invalid based on the custom XML markup contained in the document. If the doNotValidateAgainstSchema element (17.15.1.43) is set, then the XML is never “invalid” and this property is ignored.

[Example: Consider a WordprocessingML document which should be saved into a single XML file even when its custom XML content is marked invalid by applications which support this operation. This requirement is specified using the following WordprocessingML in the document settings:

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

The saveInvalidXml element’s val attribute has a value of true specifying that the content in this document can be saved regardless of its validation status. end example]

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

Last updated on