Compartilhar via


Espaço em branco inválido

espaço em brancode inválido.White space cannot follow the open angle bracket character '<' in an element tag.

This error occurs when white space appears between the open angle bracket character '<' and the first character of the element tag.

This error is raised when the XAML file contains lexical elements that are not valid in XML.

ID de erro: XAML0302

ObservaçãoObservação

Essa mensagem de erro também se aplica para o Designer do Silverlight .

To correct this error

  • Remove all white space between the '<' character and the first character of the element tag.

Exemplo

The following code example shows a correctly declared element. Insert a space between the '<' and 'B' characters to raise error XAML0302.

<!-- Insert a space between the '<' and 'B' characters to raise error XAML0302. -->
<Button Content= 'OK' />

Consulte também

Conceitos

XAML Erros e Ajuda

Outros recursos

XAML no WPF

OXAML no Silverlight

XML Standards Reference

White Space [XML Standards]

Elements [XML Standards]