Unrecognized attribute 'securityTrimmingEnabled'.

摘要:Unrecognized attribute 'securityTrimmingEnabled'.


发现一个现象:如果在 web.sitemap 中设定某个节点的 securityTrimmingEnable 属性,例如:


 
 

 
 
  
  
  
    
   
   
    
    securityTrimmingEnabled-"true">
      
    
    
      
    
    
    
   
   
  
  
  

 
 

浏览网页时就会出现以下错误:

Unrecognized attribute 'securityTrimmingEnabled'. Note that attribute names are case-sensitive.

可是如果是在有指定 siteMapFile 的节点里面使用 securityTrimmingEnabled,则不会有错误,而且可以控制安全性调整是否启用。例如:


 
 

 
 
  
  
  
    
   
   
  
  
  

 
 

似乎不是 bug....


原文:大专栏  Unrecognized attribute 'securityTrimmingEnabled'.


猜你喜欢

转载自www.cnblogs.com/petewell/p/11516444.html