2.1.4 [XML] Section 2.9, Standalone Document Declaration

V0004:

The specification states:

 Validity constraint: Standalone Document Declaration
 The standalone document declaration MUST have the value "no" if any external 
markup declarations contain declarations of:
 
       attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or
 
       entities (other than amp, lt, gt, apos, quot), if references to those entities appear in the document, or
 
       attributes with tokenized types, where the attribute appears in the document with a value such that normalization will produce a different value from that which would be produced in the absence of the declaration, or
 
       element types with element content, if white space occurs directly within any instance of those types.

IE9 Mode, IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)

A standalone document declaration is not required to have a value of no based on the following external markup declarations:

  • Attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes.

  • Entities, other than amp, lt, gt, apos, and quot, if references to those entities appear in the document.

  • Attributes with tokenized types, where the attribute appears in the document with a value such that normalization produces a different value from what is produced in the absence of the declaration.

  • Element types with element content, if white space occurs directly within any instance of those types.