Invalid white space
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Invalid white space. 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.
Error ID: XAML0302
Note
This error message also applies to the Silverlight Designer.
To correct this error
- Remove all white space between the '<' character and the first character of the element tag.
Example
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' />