Blog Home  Home Feed your aggregator (RSS 2.0)  
XHTML Validation Module Enhancement - Manuel Abadia's ASP.NET stuff
 
# Thursday, August 14, 2008

I have been using Josh Twist’s XHTML validation module for a while and I have added a couple of small enhancements I have found useful:

  • It works without internet access as I included the required DTDs as embedded resources. I usually have internet access when I’m using it, but it is a big problem if I don’t.
  • It doesn’t validate ASP.NET trace output if it is present in the page. This is checked using the trace configuration section. I have not found a way to know if trace output is enabled in the current request.
  • I have added an attribute called showErrorsOnly to the validatorModule element to avoid calling the Renderer.Render method if there isn’t any error. That way, if the page validates successfully no message is shown.

 

Download validator_binaries (42,78 KB)

Downlaod Validator_source code (44,04 KB)

Thursday, August 14, 2008 1:12:04 AM (Romance Daylight Time, UTC+02:00)  #    Comments [0]   ASP.NET | XHTML  | 
Copyright © 2014 Manuel Abadia. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.