XML declaration does not allow attribute 'attributeName'

An invalid attribute for an XML document literal has been specified. Valid attribute values for an XML document literal are based on the XML 1.0 specification.

Error ID: BC31154

To correct this error

  • Remove the invalid attribute from the XML document literal.

See Also

Concepts

XML Literals and the XML 1.0 Specification

Other Resources

XML Literals

XML in Visual Basic