Reporter | Aakash Mehendale (aakashm) |
---|---|
Created | Feb 9, 2012 2:17:52 PM |
Updated | Feb 9, 2012 7:30:01 PM |
Priority | Critical |
Type | Bug |
Fix versions | Next, Next Dev11, Next Major |
State | Submitted |
Assignee | Dmitry Osinovsky (Dmitry.Osinovsky) |
Subsystem | Language - ASP.NET |
Affected versions | 6.1 |
Fixed in build | No Fixed in build |
This markup in an ASP.NET file:
causes the <asp:PlaceHolder element to be flagged with the inspection <ul> contains items other than <li>. However, at execution time, the place holder will be populated by code behind with <li> elements, creating a valid <ul>.
R# should I think be able to understand that a PlaceHolder becomes other elements at execution time, although defining the rule exactly might be a bit difficult...
<ul> <asp:PlaceHolder runat="server" ID="plhDynamicItems" /> <li> Fixed item </li> </ul> </div>
causes the <asp:PlaceHolder element to be flagged with the inspection <ul> contains items other than <li>. However, at execution time, the place holder will be populated by code behind with <li> elements, creating a valid <ul>.
R# should I think be able to understand that a PlaceHolder becomes other elements at execution time, although defining the rule exactly might be a bit difficult...