Mike Orr wrote:
> What are people using for HTML validators?  I'm looking for something
> that puts error messages in the page like the W3C online validator
> does.    I assumed there would be a middleware but didn't find any,

There's one in paste.debug.wdg_validate, available in the filter 
egg:Paste#wdg_validate.

You have to have the wdg validator command installed.  It's probably not 
the best validator, but it's passable.  You might want to look at it as 
a model.  Also WSGIFilter handles issues like the close method, if you 
want to implement from scratch (with WSGIFilter it should be fairly simple).


-- 
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
             | Write code, do good | http://topp.openplans.org/careers

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to