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

2

3

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?

Tequilater answered 24/2, 2009 at 20:20 Comment(0)
J
5

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...

Judicious answered 24/2, 2009 at 20:26 Comment(2)
I've posted a follow-up question: #615632Tequilater
I could use a little help parsing the response: #617317Tequilater
F
1

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

Folkways answered 25/7, 2011 at 14:42 Comment(1)
Could you please provide a sample of how to your API? I checked it and found it is too complex for me to figure out what needs to be done to call it. Thanks.Tuna

© 2022 - 2024 — McMap. All rights reserved.