Udostępnij za pośrednictwem


Element names cannot use the 'xmlns' prefix

An XML element literal has been specified with an XML namespace prefix of xmlns. For example:

Dim elem = <xmlns:ElementName>

The XML 1.0 specification identifies xmlns as a reserved word.

Error ID: BC31189

To correct this error

  • Change the XML namespace prefix to a valid value, or remove the prefix.

See Also

Reference

Imports Statement (XML Namespace)

Other Resources

XML Literals

XML in Visual Basic