Does a .NET library for the W3C Markup Validator API exist? [closed]

怎甘沉沦 提交于 2019-12-07 15:00:38

问题


I'd like to validate that users of my WPF application are putting proper XHTML into its TextBox control.

I found that there's an API for the W3C Markup Validator.

It's web page says:

Building of libraries used to interact with the validator's API is encouraged. …

and it lists known Perl, PHP/PEAR and ColdFusion libraries.

Does anyone know of a .NET library for the W3C Markup Validator API? Does one already exist?


回答1:


This API is SOAP based. If you want to use it in a .net application you can just add the web reference and code against it. Seems simple enough as it's basically a one-method API...




回答2:


Yes, I just wrote one: .NET Wrapper for W3C Validator API



来源:https://stackoverflow.com/questions/583409/does-a-net-library-for-the-w3c-markup-validator-api-exist

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!