RE: Re: InterPC.SPF and Test Suite

"Eddy Minet" <[email protected]> Mon, 30 Jun 2008 13:48:09 +0200
Newsgroups gmane.mail.spam.spf.devel
Message-ID <009601c8daa7$2b353500$819f9f00$@fr>
I had a look on dig executable and dll files. 
It works great and returns NXDOMAIN for 'dig foo:bar/baz.example.com'.
Because the dlls are not .NET assembly nor COM enabled, it is only possible
to use it on 'command line mode' in .NET environment. 
So it is not good because it would require dig.exe to be installed on the
machine.
The better fix would be to find or implement a 'non windows api' .NET or COM
library. The problem is that most .NET implementations are Windows dnsapi
wrappers.

So I will keep the behavior of 'no result' for the
'dns_error_invalid_name_char' special case.

If you wonder about that mystic behavior of windows api you can read more
here : http://msdn.microsoft.com/en-us/library/ms682032(VS.85).aspx

About XML, I didn't convert the yaml to xml. I code an 'on the fly' parser
that read the yaml file and build a .NET object containing scenarios, tests
and zone datas.
That means that if you already have think about a schema for the xml file it
would be easy for me to save back the object into XML datas.

Eddy.