Mailing List Archive

SPF testcase formats
The 3 formats can be losslessly converted to each other. All we need to
agree on is which format to check into SVN. Then we can start submitting
test cases in any of the 3 formats.

Also, need to add comments to JSON and YAML formats. Need advice on best
way to do that in YAML. Also, Julian, is there a way to get rid of the
!!pair in YAML?

Readers and writers in python are very small.

--
Stuart D. Gathman <stuart@bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com
Re: SPF testcase formats [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stuart D. Gathman wrote:
> On Thu, 29 Jun 2006, Scott Kitterman wrote:
> > As somewhat who is data format agnostic and not an expert on BIND Zone
> > files, I find either reasonably readable/parsable. I like the idea of
> > being able to feed the data into BIND and test the DNS library too,
> > but I think either is a reasonable choice.
> >
> > Are there good FLOSS tools for JSON?

A very important point.

> Notably absent on the YAML site is a C implementation. This is probably
> because of the OO emphasis in YAML on serializing arbitrary object
> graphs in a human readable form.

There is http://code.whytheluckystiff.net/syck/, which can be used as a C
implementation for YAML.

I must say I'm impressed by the list of JSON implementations all kinds of
languages.

However what I don't like about JSON is the necessity to quote each and
every string.

Perhaps we can have the best of all worlds (including the weird BIND format
generalization). Let's edit the test data in YAML (nice to type and
read), and let's auto-convert it to JSON, XML, and other useful formats
(more accessible to certain languages). Comments?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEpmjnwL7PKlBZWjsRAiwWAKDcqjAI5i4claitu+e3rgrk7hD3OgCg+jwi
wwYAK6HAoGrbGFZAh8AafME=
=vg59
-----END PGP SIGNATURE-----

-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com