This is a migrated thread and some comments may be shown as answers.

Missing entity name

2 Answers 74 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kias
Top achievements
Rank 1
Kias asked on 16 Mar 2011, 11:57 PM

When adding a silverlight project to a solution, the default Silverlight test page has the following:

 

 

 

 

<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50826.0" style="text-decoration:none">

 

 

 

 

 

<img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>

 

 

 

 

 

</a>

Just code is showing a warning for 2 letters of the href "6&". The warning: "HTML: Missing entity name".

I'm using the latest release 15 March.

 

2 Answers, 1 is accepted

Sort by
0
Deyan Varchev
Telerik team
answered on 17 Mar 2011, 02:12 PM
Hi Kias,

 Thank you for contacting us. The warning that JustCode shows is actually a valid one. As the web page content is marked as XHTML all attribute values have to be Xml compliant - the '&' symbol as well. I agree that the warning message that JustCode outputs is not the most correct one but the there should be a warning there. If you replace the '&' with '&amp;' then all should be fine.

Kind regards,
Deyan
the Telerik team
0
Kias
Top achievements
Rank 1
answered on 17 Mar 2011, 10:34 PM
Right you're about the warning wording, but you're also right about it being a valid warning! Cheers for explaining
Tags
General Discussions
Asked by
Kias
Top achievements
Rank 1
Answers by
Deyan Varchev
Telerik team
Kias
Top achievements
Rank 1
Share this question
or