If the omit-xml-declaration parameter has the value yes, it is an error if either:
omit-xml-declaration
yes
The standalone attribute has a value other than omit
standalone
omit
The version parameter has a value other than 1.0 and the doctype-system parameter is specified
version
1.0
doctype-system
3.17.174.0