Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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 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.

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' />


Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.